Node Inspector

nRF Connect for VS Code

tags
nRF Connect for VS Code

When you select a node in Peripherals (or in the Nodes View or the source file), the Node Inspector panel displays properties and information about the currently selected node. For example, the following image shows information for the vmc node.

Node Inspector opened from a Peripherals node

The Node Inspector groups the properties in a series of areas, described in the following table.

Section Description
Name of the node Includes the name of the node with its unit address, and the drop-down menu with the list of bindings you can assign to this node.
Node name in the Node Inspector
In some cases, the list is disabled if you can only assign specific bindings. The bindings are populated from devicetree type YAML files in Zephyr, the nRF Connect SDK, or your application (or all these).

Note: A red X icon appears next to the node name when the node is missing required properties. Hover over the icon for more details.
Notification about required properties
Properties Includes the list of properties for the selected node, where you can configure their values or their state.
Properties in the Node Inspector
The list of options in the window entries is populated from devicetree type YAML files in Zephyr and the nRF Connect SDK.

Note:
- The properties marked with an * are required for the selected node.
- A red X icon appears next to a property when it is required, but its value is not defined.
- A blue information icon appears next to a property if there is a non-critical conflict, for example overlapping memory ranges.
"Info icon"

Hovering with the mouse cursor over the property name will display a tooltip with information about the property. The information is taken from the devicetree source files.
Tooltip in the Node Inspector

You can use the Add Property button at the heading level to add an optional property from a dedicated window. Add Property in the Node Inspector
Pins Includes the list of pins for the selected node.
Pins in the Node Inspector
Use the buttons next to the pin drop-down menu to configure the behavior of the chosen pin. These buttons correspond to the ones displayed in the Pin Overview in the Pins View.

You can use the Add Pin State button to add new pin states for selection, for example when assigning pins to nodes.
Add Pin State in the Node Inspector
Advanced Includes the list of advanced properties for the selected node.
Advanced information in the Node Inspector
Labels Includes the list of labels.
Labels in the Node Inspector
The labels are unique, human-readable identifiers of the node. You can add custom labels using the Add Label button, located at the heading level.
Description Includes the help description for the selected node.
Description in the Node Inspector
The description is taken from the devicetree source files. You can use the Visit Online Documentation button at the heading level to open and read the source documentation for the node, either in the Zephyr SDK documentation or in the Devicetree specification.