Peripherals

nRF Connect for VS Code

tags
nRF Connect for VS Code

The Peripherals View shows a memory map of peripherals from your device's SVD file and displays the values of their registers and fields. This View is unique to the extension's debug type.

Hovering over each entry shows more information about the peripheral, such as the address of the register.

Peripherals View

When registers and fields are writable, the Edit Register Value button (pencil icon) appears to the right when you hover over their entry in the peripheral tree. Click on this icon to open an input box to enter a value that will be saved to the register. For fields with predefined enums, a list of available options opens from a quick-pick menu at the top of the window.

Tip

You can access peripherals from the debug console when debugging.