SLVUCU5 December 2025 UCD91160 , UCD91320
This Read/Write Block command configures the functionality of a given output pin. This paged command allows pins to be configured as status/GPI-influenced outputs. The state of the output pin is determined by a selection of GPIs and statuses of rails, other GPOs (with or without assignment of an actual pin), and other function blocks such as watchdog. The input states are processed through some combinational logic with optional inversion steps. Upon device power up, the GPO status has an initial evaluation according to its configuration. Thereafter, the evaluation is triggered when any of the associated status changes.
Figure 26-1 provide an overview of how the state of the GPO is determined.
The effect of State Machine Mode is not represented in Figure 26-1. When that mode is enabled, only one AND patch is active at a time.
Figure 26-1 Factors Determining the State of a GPO| Byte Number (Write) | Byte Number (Read) | Payload Index | Description | |
|---|---|---|---|---|
| 0 | CMD = F8 | |||
| 1 | 0 | BYTE_COUNT = 46 | ||
| 2 | 1 | 0 | Output Pin Configuration (Pin ID) | |
3 | 2 | 1 | Output Pin Configuration (Other) | |
4 | 3 | 2 | Bit | Description |
| 7 | Assert Delay Enable | |||
| 6 | Deassert Delay Enable | |||
| 5 | Invert OR Output | |||
| 4 | Ignore Inputs During Delay | |||
| 3:0 | High Resolution Delay Count | |||
5 | 4 | 3 | Millisecond Delay | |
6 | 5 | 4 | AND Path 0 Configuration | |
| Bit | Description | |||
| 7 | Invert AND Output | |||
| 6 | State Machine Mode Enable | |||
| 5:0 | Status Type | |||
7 | 6 | 5 | AND Path 1 Configuration | |
| Bit | Description | |||
| 7 | Invert AND Output | |||
| 6 | reserved | |||
| 5:0 | Status Type | |||
| AND Path 0 | ||||
8 | 7 | 6 | Status Mask (Byte 0 - LSB) | |
9 | 8 | 7 | Status Mask | |
10 | 9 | 8 | Status Mask | |
11 | 10 | 9 | Status Mask (Byte 3 - MSB) | |
12 | 11 | 10 | Status Inversion Mask (Byte 0 - LSB) | |
13 | 12 | 11 | Status Inversion Mask | |
14 | 13 | 12 | Status Inversion Mask | |
15 | 14 | 13 | Status Inversion Mask (Byte 3 - MSB) | |
16 | 15 | 14 | GPI Mask (Byte 0 - LSB) | |
17 | 16 | 15 | GPI Mask | |
18 | 17 | 16 | GPI Mask | |
19 | 18 | 17 | GPI Mask (Byte 3 - MSB) | |
20 | 19 | 18 | GPI Inversion Mask (Byte 0 - LSB) | |
21 | 20 | 19 | GPI Inversion Mask | |
22 | 21 | 20 | GPI Inversion Mask | |
23 | 22 | 21 | GPI Inversion Mask (Byte 3 - MSB) | |
24 | 23 | 22 | GPO Mask (Byte 0 - LSB) | |
25 | 24 | 23 | GPO Mask (Byte 1 - MSB) | |
26 | 25 | 24 | GPO Inversion Mask (Byte 0 - LSB) | |
27 | 26 | 25 | GPO Inversion Mask (Byte 1 - MSB) | |
AND Path 1 | ||||
28 -47 | 27 - 46 | 26 - 45 | Same Configuration Options as AND Path 0 (20 bytes) | |