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:

  1. In the [Explorer] view, select [Open Folder], or go to [File] → [Open Folder…].

    _images/sm-open-folder.png
    _images/sm-open-folder-2.png
  2. 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:

  1. Open the [Command Palette], type [Download database and setup automatically], and select the option.

    _images/sm-automatic-set-up-database.png
  2. 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.

  3. A success notification will appear once the setup is completed.

If a database folder already exists locally, it can be set up manually:

  1. Open the [Command Palette], type [Set up database], and select the option.

    _images/sm-set-up-database.png
  2. 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.

_images/sm-open-smart-manual-view.png

The Smart Manual view contains two tabs: Register Search and Keyword Search.

_images/sm-register-search-tab.png
_images/sm-keyword-search-tab.png

4.3.1. Register Search Tab

The Register Search tab allows searching for register and bit information.

_images/sm-register-search-view.png
    1. Register/Bit name input area

    1. Submit button

    1. The information section for the register/bit

    1. Register/Bit information display area

To search for a register or bit:

  1. Enter the register or bit name in the input area.

    _images/sm-register-search-action.png
  2. If there are matching candidates, a dropdown list will appear. Select the desired register or bit from the list.

    _images/sm-register-search-candidate-list.png
  3. Press [Enter] or click the Submit button to display the result.

Register information example:

_images/sm-register-information-example.png

Bit information example:

_images/sm-bit-information-example.png

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.

_images/sm-keyword-search-view.png
    1. Keyword search text field

    1. [Submit] button

    1. Search result list display area

    1. Search result display area

To search for a keyword:

  1. Enter a keyword and press [Enter] or click [Submit]. The result list will be displayed.

    _images/sm-keyword-search-result.png
  2. Click an item in the list to view detailed information.

    _images/sm-keyword-search-detail.png

4.3.3. Button Descriptions

The Smart Manual View provides several toolbar buttons for navigation, access to the hardware manual PDF, and synchronization between the pop-up and the view.

_images/sm-buttons.png

4.3.3.1. Go Back Button

This button loads the previous entry from the history into the view, enabling navigation backward through previously displayed content. If there is no earlier entry in the history, the button will be disabled.

_images/sm-button-go-back.png

4.3.3.2. Go Forward Button

This button loads the next entry from the history into the view, enabling navigation forward through previously displayed content. If there is no later entry in the history, the button will be disabled.

_images/sm-button-go-forward.png

Note

The entire navigation history used for the Go Back and Go Forward is cleared whenever the Smart Manual View is closed.

4.3.3.3. Open Manual Button

This button opens the PDF file of the hardware manual using the default application set for PDF files. The manual is displayed outside the Smart Manual View for convenient reference.

_images/sm-button-open-manual.png

4.3.3.4. Synchronize With Popup Button

This toggle button switches between synchronous and asynchronous modes for the Smart Manual Pop-up and Smart Manual View. When enabled, the register or bit register displayed in the Smart Manual Pop-up is also shown in the Smart Manual View.

_images/sm-button-synchronize-with-popup.png

The default state is off and changes only when the button is manually toggled.

_images/sm-button-synchronize-with-popup-on.png

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.

_images/sm-popup-register-explanation.png _images/sm-popup-bit-explanation.png _images/sm-popup-register-with-mode.png

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.

    _images/sm-search-register-bit-command.png
  • Search keyword: Quickly searches for a keyword in the database.

    _images/sm-search-keyword-command.png

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).

    _images/sm-limitation-image-svg.png
  • Content appearance may differ from the Smart Manual view due to styling and layout limitations.

    _images/sm-limitation-appearance.png
  • Links and notes are not clickable or interactive in the pop-up.