decode_register
Decode hardware register values into named bit fields using the target's SVD, reading the live device or interpreting a supplied hex value.
Instructions
Decode a value into named bit fields using the target's SVD. Reads from the device unless a value is supplied — useful for interpreting a number you already have.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Hex value to decode instead of reading the device | |
| register | Yes | Register name, e.g. 'ENABLE' or 'INFO.PART' | |
| peripheral | Yes | Peripheral name, e.g. 'UARTE0' |