3.2.2 GPIO Interface
The GPIO interface contains the bit values of the enabled Debug GPIO pins. A packet of unsigned 8-bit data is transmitted every time a pin toggles. For further details on the physical part of the GPIO interface, see the user guide of the debugging tool to be used to sample the GPIO data.
On the Data Sources (left) pane, when the GPIO interface is selected, the GPIO settings are displayed on the lower section.
Field Name | Values | Usage |
---|---|---|
GPIO 0 Change Triggers Bus Read | ON, OFF | Monitor change on GPIO pin 0 to trigger a bus read |
GPIO 1 Change Triggers Bus Read | ON, OFF | Monitor change on GPIO pin 1 to trigger a bus read |
GPIO 2 Change Triggers Bus Read | ON, OFF | Monitor change on GPIO pin 2 to trigger a bus read |
GPIO 3 Change Triggers Bus Read | ON, OFF | Monitor change on GPIO pin 3 to trigger a bus read |
Important: When plotting the
Debug GPIO data source, all GPIOs are sampled but only those GPIOs that have change
triggers enabled will trigger a sample on change. For example, if GPIO n (n = 0,1,2) all
have “GPIO n Change Triggers Bus Read” disabled, but GPIO 3 has this function enabled,
then GPIO values will only be sampled when GPIO 3 changes; that is, all four GPIO values
will be read only when GPIO 3 changes.