4. Smart Manual
Renesas Smart manual provides quick access to hardware documentation for the target MCU. In addition to searching by register names and keywords, relevant information can be displayed by hovering over a register name in the editor.
The Smart Manual Extension offers advanced search capabilities for hardware manual content, including register and keyword searches, and displays the results in a dedicated view.
4.1. Opening a Project
Projects created in e² studio or VS Code can be opened by selecting the project folder in VS Code. In order to open a project in VS Code, please follow the steps below:
In the [Explorer] view, select [Open Folder], or go to [File] → [Open Folder…].
In the [Open Folder] dialog, browse to the desired project folder and click [Select Folder].
Note
For more detailed instructions on creating a project in VS Code, refer to the Creating and Building a Project section.
Alternative methods for opening a project are described in the Productivity Tips section.
4.2. Setting Up Smart Manual
After opening the project, the Smart Manual will be set up automatically. If you would like to trigger the setup manually:
Open the [Command Palette], type [Download database and setup automatically], and select the option.
Wait for the extension to download and set up the database.
Note
On some devices, you may need to accept the Terms and Conditions before downloading the database. The download and setup process only starts if the Terms and Conditions are accepted.
A success notification will appear once the setup is completed.
If a database folder already exists locally, it can be set up manually:
Open the [Command Palette], type [Set up database], and select the option.
Enter the absolute path to the database file and press [Enter] to confirm.
4.3. Smart Manual View
To open the Smart Manual view, open the [Command Palette], search for [Open Smart Manual], and select the option.
The Smart Manual view contains two tabs: Register Search and Keyword Search.
4.3.1. Register Search Tab
The Register Search tab allows searching for register and bit information.
Register/Bit name input area
Submit button
The information section for the register/bit
Register/Bit information display area
To search for a register or bit:
Enter the register or bit name in the input area.
If there are matching candidates, a dropdown list will appear. Select the desired register or bit from the list.
Press [Enter] or click the Submit button to display the result.
Register information example:
Bit information example:
4.3.1.1. Register/Bit Name Format
RX devices:
Format |
Example |
|
---|---|---|
Register name |
XXXX.YYYY |
SYSTEM.MDSR |
Bit name |
XXXX.YYYY.BIT.ZZZZ |
SYSTEM.MDSR.BIT.IROM |
RA devices:
Format |
Example |
|
---|---|---|
Register name |
R_XXXX->YYYY (MMMM) |
R_RTC->RCR2 (CALENDAR COUNT MODE) |
Bit name |
R_XXXX->YYYY_b.ZZZZ |
R_RTC->RCR2_b.START (CALENDAR COUNT MODE) |
XXXX: module symbol
YYYY: register symbol
ZZZZ: bit symbol
MMMM: mode name (optional, only when register description varies by mode)
4.3.2. Keyword Search Tab
The Keyword Search tab allows searching for keywords in the hardware manual.
Keyword search text field
[Submit] button
Search result list display area
Search result display area
To search for a keyword:
Enter a keyword and press [Enter] or click [Submit]. The result list will be displayed.
Click an item in the list to view detailed information.
4.4. Smart Manual Pop-up
Smart Manual supports direct pop-up explanations in the editor for registers and bits.
When hovering over a register or bit name in the editor, a pop-up appears showing the corresponding explanation.
The pop-up provides options for further actions:
Tooltip Text |
Function |
---|---|
Open Hardware Manual |
Opens the hardware manual for the current device |
Show in Smart Manual View |
Shows the register/bit explanation in the Smart Manual view |
4.5. Other Commands
Additional commands available in the Command Palette:
Search register/bit: Quickly searches for a register or a bit in the database.
Search keyword: Quickly searches for a keyword in the database.
4.6. Limitations of the Pop-up feature
Images and SVGs are not displayed in hover pop-ups (but are shown in the Smart Manual view).
Content appearance may differ from the Smart Manual view due to styling and layout limitations.
Links and notes are not clickable or interactive in the pop-up.