How do I add a register to the Expressions view in Studio?


There are two main methods to add a register to the "Expressions" view.  Drag and drop a register from the "Registers" view into the "Expressions" view, or manually type the group name and register name.


Drag and Drop Registers


In order to drag and drop registers from the "Registers" view to the "Expressions" view, you must first split the register view so that both are visible at the same time.  Then perform the following steps:

  1. Expand the registers view and find the desired register you wish to watch
  2. Drag the register or register group to a blank line in the "Expressions" view
  3. Now Studio will display the value of the specified register

Manually Add Register Watch Expression


Alternatively, a register group or register may be added using the GRP() and REG() macros.


To add the entire GPIO group to the "Expressions" view, add the following expression:




To add the PE_DOUT register to the "Expressions" view, add the following expression:




  • 32-bit MCUs
  • Development Environments
  • Knowledge Base Articles
  • Simplicity Studio