SPRUI33H November 2015 – June 2024 TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1
Table 8-54 lists the memory-mapped registers for the GPIO_DATA_REGS registers. All register offset addresses not listed in Table 8-54 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Write Protection | Section |
---|---|---|---|---|
0h | GPADAT | GPIO A Data Register (GPIO0 to GPIO31) | Go | |
2h | GPASET | GPIO A Output Set (GPIO0 to GPIO31) | Go | |
4h | GPACLEAR | GPIO A Output Clear (GPIO0 to GPIO31) | Go | |
6h | GPATOGGLE | GPIO A Output Toggle (GPIO0 to GPIO31) | Go | |
8h | GPBDAT | GPIO B Data Register (GPIO32 to GPIO64) | Go | |
Ah | GPBSET | GPIO B Output Set (GPIO32 to GPIO64) | Go | |
Ch | GPBCLEAR | GPIO B Output Clear (GPIO32 to GPIO64) | Go | |
Eh | GPBTOGGLE | GPIO B Output Toggle (GPIO32 to GPIO64) | Go | |
38h | GPHDAT | GPIO H Data Register (GPIO0 to GPIO255) | Go |
Complex bit access types are encoded to fit into small table cells. Table 8-55 shows the codes that are used for access types in this section.
Access Type | Code | Description |
---|---|---|
Read Type | ||
R | R | Read |
Write Type | ||
W | W | Write |
Reset or Default Value | ||
-n | Value after reset or the default value | |
Register Array Variables | ||
i,j,k,l,m,n | When these variables are used in a register name, an offset, or an address, they refer to the value of a register array where the register is part of a group of repeating registers. The register groups form a hierarchical structure and the array is represented with a formula. | |
y | When this variable is used in a register name, an offset, or an address it refers to the value of a register array. |
GPADAT is shown in Figure 8-47 and described in Table 8-56.
Return to the Summary Table.
GPIO A Data (GPIO0 to GPIO31)
Reading a field in this register returns the input level of the corresponding IO pin after qualification and (optionally) inversion. The input value is always readable even when the pin is configured as a GPIO output or peripheral signal.
Writing to a field in this register selects the value of the output data latch for the corresponding IO pin. If the pin is configured as a GPIO output, this value will be driven onto the pin. Otherwise, the value will be latched and ignored unless the pin is reconfigured to be an output. A system reset will clear all output latches.
Due to the difference between the read and write values, sequential read-modify-write operations on this register may corrupt the state of the output latches. The GPASET, GPACLEAR, and GPATOGGLE registers should be used to safely control the output latches.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
GPIO31 | GPIO30 | GPIO29 | GPIO28 | GPIO27 | GPIO26 | GPIO25 | GPIO24 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
GPIO23 | GPIO22 | GPIO21 | GPIO20 | GPIO19 | GPIO18 | GPIO17 | GPIO16 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
GPIO15 | GPIO14 | GPIO13 | GPIO12 | GPIO11 | GPIO10 | GPIO9 | GPIO8 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPIO7 | GPIO6 | GPIO5 | GPIO4 | GPIO3 | GPIO2 | GPIO1 | GPIO0 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | GPIO31 | R/W | 0h | Read: Input value, Write: Output latch for GPIO31 Reset type: SYSRSn |
30 | GPIO30 | R/W | 0h | Read: Input value, Write: Output latch for GPIO30 Reset type: SYSRSn |
29 | GPIO29 | R/W | 0h | Read: Input value, Write: Output latch for GPIO29 Reset type: SYSRSn |
28 | GPIO28 | R/W | 0h | Read: Input value, Write: Output latch for GPIO28 Reset type: SYSRSn |
27 | GPIO27 | R/W | 0h | Read: Input value, Write: Output latch for GPIO27 Reset type: SYSRSn |
26 | GPIO26 | R/W | 0h | Read: Input value, Write: Output latch for GPIO26 Reset type: SYSRSn |
25 | GPIO25 | R/W | 0h | Read: Input value, Write: Output latch for GPIO25 Reset type: SYSRSn |
24 | GPIO24 | R/W | 0h | Read: Input value, Write: Output latch for GPIO24 Reset type: SYSRSn |
23 | GPIO23 | R/W | 0h | Read: Input value, Write: Output latch for GPIO23 Reset type: SYSRSn |
22 | GPIO22 | R/W | 0h | Read: Input value, Write: Output latch for GPIO22 Reset type: SYSRSn |
21 | GPIO21 | R/W | 0h | Read: Input value, Write: Output latch for GPIO21 Reset type: SYSRSn |
20 | GPIO20 | R/W | 0h | Read: Input value, Write: Output latch for GPIO20 Reset type: SYSRSn |
19 | GPIO19 | R/W | 0h | Read: Input value, Write: Output latch for GPIO19 Reset type: SYSRSn |
18 | GPIO18 | R/W | 0h | Read: Input value, Write: Output latch for GPIO18 Reset type: SYSRSn |
17 | GPIO17 | R/W | 0h | Read: Input value, Write: Output latch for GPIO17 Reset type: SYSRSn |
16 | GPIO16 | R/W | 0h | Read: Input value, Write: Output latch for GPIO16 Reset type: SYSRSn |
15 | GPIO15 | R/W | 0h | Read: Input value, Write: Output latch for GPIO15 Reset type: SYSRSn |
14 | GPIO14 | R/W | 0h | Read: Input value, Write: Output latch for GPIO14 Reset type: SYSRSn |
13 | GPIO13 | R/W | 0h | Read: Input value, Write: Output latch for GPIO13 Reset type: SYSRSn |
12 | GPIO12 | R/W | 0h | Read: Input value, Write: Output latch for GPIO12 Reset type: SYSRSn |
11 | GPIO11 | R/W | 0h | Read: Input value, Write: Output latch for GPIO11 Reset type: SYSRSn |
10 | GPIO10 | R/W | 0h | Read: Input value, Write: Output latch for GPIO10 Reset type: SYSRSn |
9 | GPIO9 | R/W | 0h | Read: Input value, Write: Output latch for GPIO9 Reset type: SYSRSn |
8 | GPIO8 | R/W | 0h | Read: Input value, Write: Output latch for GPIO8 Reset type: SYSRSn |
7 | GPIO7 | R/W | 0h | Read: Input value, Write: Output latch for GPIO7 Reset type: SYSRSn |
6 | GPIO6 | R/W | 0h | Read: Input value, Write: Output latch for GPIO6 Reset type: SYSRSn |
5 | GPIO5 | R/W | 0h | Read: Input value, Write: Output latch for GPIO5 Reset type: SYSRSn |
4 | GPIO4 | R/W | 0h | Read: Input value, Write: Output latch for GPIO4 Reset type: SYSRSn |
3 | GPIO3 | R/W | 0h | Read: Input value, Write: Output latch for GPIO3 Reset type: SYSRSn |
2 | GPIO2 | R/W | 0h | Read: Input value, Write: Output latch for GPIO2 Reset type: SYSRSn |
1 | GPIO1 | R/W | 0h | Read: Input value, Write: Output latch for GPIO1 Reset type: SYSRSn |
0 | GPIO0 | R/W | 0h | Read: Input value, Write: Output latch for GPIO0 Reset type: SYSRSn |
GPASET is shown in Figure 8-48 and described in Table 8-57.
Return to the Summary Table.
GPIO Output Set (GPIO0 to GPIO31)
Writing a 1 to a field in this register sets the output data latch for the corresponding IO pin. Writes of 0 are ignored. Reads of this register always return 0.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
GPIO31 | GPIO30 | GPIO29 | GPIO28 | GPIO27 | GPIO26 | GPIO25 | GPIO24 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
GPIO23 | GPIO22 | GPIO21 | GPIO20 | GPIO19 | GPIO18 | GPIO17 | GPIO16 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
GPIO15 | GPIO14 | GPIO13 | GPIO12 | GPIO11 | GPIO10 | GPIO9 | GPIO8 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPIO7 | GPIO6 | GPIO5 | GPIO4 | GPIO3 | GPIO2 | GPIO1 | GPIO0 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | GPIO31 | R/W | 0h | Output set for GPIO31 Reset type: SYSRSn |
30 | GPIO30 | R/W | 0h | Output set for GPIO30 Reset type: SYSRSn |
29 | GPIO29 | R/W | 0h | Output set for GPIO29 Reset type: SYSRSn |
28 | GPIO28 | R/W | 0h | Output set for GPIO28 Reset type: SYSRSn |
27 | GPIO27 | R/W | 0h | Output set for GPIO27 Reset type: SYSRSn |
26 | GPIO26 | R/W | 0h | Output set for GPIO26 Reset type: SYSRSn |
25 | GPIO25 | R/W | 0h | Output set for GPIO25 Reset type: SYSRSn |
24 | GPIO24 | R/W | 0h | Output set for GPIO24 Reset type: SYSRSn |
23 | GPIO23 | R/W | 0h | Output set for GPIO23 Reset type: SYSRSn |
22 | GPIO22 | R/W | 0h | Output set for GPIO22 Reset type: SYSRSn |
21 | GPIO21 | R/W | 0h | Output set for GPIO21 Reset type: SYSRSn |
20 | GPIO20 | R/W | 0h | Output set for GPIO20 Reset type: SYSRSn |
19 | GPIO19 | R/W | 0h | Output set for GPIO19 Reset type: SYSRSn |
18 | GPIO18 | R/W | 0h | Output set for GPIO18 Reset type: SYSRSn |
17 | GPIO17 | R/W | 0h | Output set for GPIO17 Reset type: SYSRSn |
16 | GPIO16 | R/W | 0h | Output set for GPIO16 Reset type: SYSRSn |
15 | GPIO15 | R/W | 0h | Output set for GPIO15 Reset type: SYSRSn |
14 | GPIO14 | R/W | 0h | Output set for GPIO14 Reset type: SYSRSn |
13 | GPIO13 | R/W | 0h | Output set for GPIO13 Reset type: SYSRSn |
12 | GPIO12 | R/W | 0h | Output set for GPIO12 Reset type: SYSRSn |
11 | GPIO11 | R/W | 0h | Output set for GPIO11 Reset type: SYSRSn |
10 | GPIO10 | R/W | 0h | Output set for GPIO10 Reset type: SYSRSn |
9 | GPIO9 | R/W | 0h | Output set for GPIO9 Reset type: SYSRSn |
8 | GPIO8 | R/W | 0h | Output set for GPIO8 Reset type: SYSRSn |
7 | GPIO7 | R/W | 0h | Output set for GPIO7 Reset type: SYSRSn |
6 | GPIO6 | R/W | 0h | Output set for GPIO6 Reset type: SYSRSn |
5 | GPIO5 | R/W | 0h | Output set for GPIO5 Reset type: SYSRSn |
4 | GPIO4 | R/W | 0h | Output set for GPIO4 Reset type: SYSRSn |
3 | GPIO3 | R/W | 0h | Output set for GPIO3 Reset type: SYSRSn |
2 | GPIO2 | R/W | 0h | Output set for GPIO2 Reset type: SYSRSn |
1 | GPIO1 | R/W | 0h | Output set for GPIO1 Reset type: SYSRSn |
0 | GPIO0 | R/W | 0h | Output set for GPIO0 Reset type: SYSRSn |
GPACLEAR is shown in Figure 8-49 and described in Table 8-58.
Return to the Summary Table.
GPIO Output Clear (GPIO0 to GPIO31)
Writing a 1 to a field in this register clears the output data latch for the corresponding IO pin. Writes of 0 are ignored. Reads of this register always return 0.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
GPIO31 | GPIO30 | GPIO29 | GPIO28 | GPIO27 | GPIO26 | GPIO25 | GPIO24 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
GPIO23 | GPIO22 | GPIO21 | GPIO20 | GPIO19 | GPIO18 | GPIO17 | GPIO16 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
GPIO15 | GPIO14 | GPIO13 | GPIO12 | GPIO11 | GPIO10 | GPIO9 | GPIO8 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPIO7 | GPIO6 | GPIO5 | GPIO4 | GPIO3 | GPIO2 | GPIO1 | GPIO0 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | GPIO31 | R/W | 0h | Output clear for GPIO31 Reset type: SYSRSn |
30 | GPIO30 | R/W | 0h | Output clear for GPIO30 Reset type: SYSRSn |
29 | GPIO29 | R/W | 0h | Output clear for GPIO29 Reset type: SYSRSn |
28 | GPIO28 | R/W | 0h | Output clear for GPIO28 Reset type: SYSRSn |
27 | GPIO27 | R/W | 0h | Output clear for GPIO27 Reset type: SYSRSn |
26 | GPIO26 | R/W | 0h | Output clear for GPIO26 Reset type: SYSRSn |
25 | GPIO25 | R/W | 0h | Output clear for GPIO25 Reset type: SYSRSn |
24 | GPIO24 | R/W | 0h | Output clear for GPIO24 Reset type: SYSRSn |
23 | GPIO23 | R/W | 0h | Output clear for GPIO23 Reset type: SYSRSn |
22 | GPIO22 | R/W | 0h | Output clear for GPIO22 Reset type: SYSRSn |
21 | GPIO21 | R/W | 0h | Output clear for GPIO21 Reset type: SYSRSn |
20 | GPIO20 | R/W | 0h | Output clear for GPIO20 Reset type: SYSRSn |
19 | GPIO19 | R/W | 0h | Output clear for GPIO19 Reset type: SYSRSn |
18 | GPIO18 | R/W | 0h | Output clear for GPIO18 Reset type: SYSRSn |
17 | GPIO17 | R/W | 0h | Output clear for GPIO17 Reset type: SYSRSn |
16 | GPIO16 | R/W | 0h | Output clear for GPIO16 Reset type: SYSRSn |
15 | GPIO15 | R/W | 0h | Output clear for GPIO15 Reset type: SYSRSn |
14 | GPIO14 | R/W | 0h | Output clear for GPIO14 Reset type: SYSRSn |
13 | GPIO13 | R/W | 0h | Output clear for GPIO13 Reset type: SYSRSn |
12 | GPIO12 | R/W | 0h | Output clear for GPIO12 Reset type: SYSRSn |
11 | GPIO11 | R/W | 0h | Output clear for GPIO11 Reset type: SYSRSn |
10 | GPIO10 | R/W | 0h | Output clear for GPIO10 Reset type: SYSRSn |
9 | GPIO9 | R/W | 0h | Output clear for GPIO9 Reset type: SYSRSn |
8 | GPIO8 | R/W | 0h | Output clear for GPIO8 Reset type: SYSRSn |
7 | GPIO7 | R/W | 0h | Output clear for GPIO7 Reset type: SYSRSn |
6 | GPIO6 | R/W | 0h | Output clear for GPIO6 Reset type: SYSRSn |
5 | GPIO5 | R/W | 0h | Output clear for GPIO5 Reset type: SYSRSn |
4 | GPIO4 | R/W | 0h | Output clear for GPIO4 Reset type: SYSRSn |
3 | GPIO3 | R/W | 0h | Output clear for GPIO3 Reset type: SYSRSn |
2 | GPIO2 | R/W | 0h | Output clear for GPIO2 Reset type: SYSRSn |
1 | GPIO1 | R/W | 0h | Output clear for GPIO1 Reset type: SYSRSn |
0 | GPIO0 | R/W | 0h | Output clear for GPIO0 Reset type: SYSRSn |
GPATOGGLE is shown in Figure 8-50 and described in Table 8-59.
Return to the Summary Table.
GPIO Output Toggle (GPIO0 to GPIO31)
Writing a 1 to a field in this register inverts the value of the output data latch for the corresponding IO pin. Writes of 0 are ignored. Reads of this register always return 0.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
GPIO31 | GPIO30 | GPIO29 | GPIO28 | GPIO27 | GPIO26 | GPIO25 | GPIO24 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
GPIO23 | GPIO22 | GPIO21 | GPIO20 | GPIO19 | GPIO18 | GPIO17 | GPIO16 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
GPIO15 | GPIO14 | GPIO13 | GPIO12 | GPIO11 | GPIO10 | GPIO9 | GPIO8 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPIO7 | GPIO6 | GPIO5 | GPIO4 | GPIO3 | GPIO2 | GPIO1 | GPIO0 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | GPIO31 | R/W | 0h | Output toggle for GPIO31 Reset type: SYSRSn |
30 | GPIO30 | R/W | 0h | Output toggle for GPIO30 Reset type: SYSRSn |
29 | GPIO29 | R/W | 0h | Output toggle for GPIO29 Reset type: SYSRSn |
28 | GPIO28 | R/W | 0h | Output toggle for GPIO28 Reset type: SYSRSn |
27 | GPIO27 | R/W | 0h | Output toggle for GPIO27 Reset type: SYSRSn |
26 | GPIO26 | R/W | 0h | Output toggle for GPIO26 Reset type: SYSRSn |
25 | GPIO25 | R/W | 0h | Output toggle for GPIO25 Reset type: SYSRSn |
24 | GPIO24 | R/W | 0h | Output toggle for GPIO24 Reset type: SYSRSn |
23 | GPIO23 | R/W | 0h | Output toggle for GPIO23 Reset type: SYSRSn |
22 | GPIO22 | R/W | 0h | Output toggle for GPIO22 Reset type: SYSRSn |
21 | GPIO21 | R/W | 0h | Output toggle for GPIO21 Reset type: SYSRSn |
20 | GPIO20 | R/W | 0h | Output toggle for GPIO20 Reset type: SYSRSn |
19 | GPIO19 | R/W | 0h | Output toggle for GPIO19 Reset type: SYSRSn |
18 | GPIO18 | R/W | 0h | Output toggle for GPIO18 Reset type: SYSRSn |
17 | GPIO17 | R/W | 0h | Output toggle for GPIO17 Reset type: SYSRSn |
16 | GPIO16 | R/W | 0h | Output toggle for GPIO16 Reset type: SYSRSn |
15 | GPIO15 | R/W | 0h | Output toggle for GPIO15 Reset type: SYSRSn |
14 | GPIO14 | R/W | 0h | Output toggle for GPIO14 Reset type: SYSRSn |
13 | GPIO13 | R/W | 0h | Output toggle for GPIO13 Reset type: SYSRSn |
12 | GPIO12 | R/W | 0h | Output toggle for GPIO12 Reset type: SYSRSn |
11 | GPIO11 | R/W | 0h | Output toggle for GPIO11 Reset type: SYSRSn |
10 | GPIO10 | R/W | 0h | Output toggle for GPIO10 Reset type: SYSRSn |
9 | GPIO9 | R/W | 0h | Output toggle for GPIO9 Reset type: SYSRSn |
8 | GPIO8 | R/W | 0h | Output toggle for GPIO8 Reset type: SYSRSn |
7 | GPIO7 | R/W | 0h | Output toggle for GPIO7 Reset type: SYSRSn |
6 | GPIO6 | R/W | 0h | Output toggle for GPIO6 Reset type: SYSRSn |
5 | GPIO5 | R/W | 0h | Output toggle for GPIO5 Reset type: SYSRSn |
4 | GPIO4 | R/W | 0h | Output toggle for GPIO4 Reset type: SYSRSn |
3 | GPIO3 | R/W | 0h | Output toggle for GPIO3 Reset type: SYSRSn |
2 | GPIO2 | R/W | 0h | Output toggle for GPIO2 Reset type: SYSRSn |
1 | GPIO1 | R/W | 0h | Output toggle for GPIO1 Reset type: SYSRSn |
0 | GPIO0 | R/W | 0h | Output toggle for GPIO0 Reset type: SYSRSn |
GPBDAT is shown in Figure 8-51 and described in Table 8-60.
Return to the Summary Table.
GPIO B Data (GPIO32 to GPIO64)
Reading a field in this register returns the input level of the corresponding IO pin after qualification and (optionally) inversion. The input value is always readable even when the pin is configured as a GPIO output or peripheral signal.
Writing to a field in this register selects the value of the output data latch for the corresponding IO pin. If the pin is configured as a GPIO output, this value will be driven onto the pin. Otherwise, the value will be latched and ignored unless the pin is reconfigured to be an output. A system reset will clear all output latches.
Due to the difference between the read and write values, sequential read-modify-write operations on this register may corrupt the state of the output latches. The GPBSET, GPBCLEAR, and GPBTOGGLE registers should be used to safely control the output latches.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | RESERVED | RESERVED | RESERVED | GPIO59 | GPIO58 | GPIO57 | GPIO56 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
GPIO55 | GPIO54 | GPIO53 | GPIO52 | GPIO51 | GPIO50 | GPIO49 | GPIO48 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
GPIO47 | GPIO46 | GPIO45 | GPIO44 | GPIO43 | GPIO42 | GPIO41 | GPIO40 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPIO39 | RESERVED | GPIO37 | RESERVED | GPIO35 | GPIO34 | GPIO33 | GPIO32 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30 | RESERVED | R/W | 0h | Reserved |
29 | RESERVED | R/W | 0h | Reserved |
28 | RESERVED | R/W | 0h | Reserved |
27 | GPIO59 | R/W | 0h | Read: Input value, Write: Output latch for GPIO59 Reset type: SYSRSn |
26 | GPIO58 | R/W | 0h | Read: Input value, Write: Output latch for GPIO58 Reset type: SYSRSn |
25 | GPIO57 | R/W | 0h | Read: Input value, Write: Output latch for GPIO57 Reset type: SYSRSn |
24 | GPIO56 | R/W | 0h | Read: Input value, Write: Output latch for GPIO56 Reset type: SYSRSn |
23 | GPIO55 | R/W | 0h | Read: Input value, Write: Output latch for GPIO55 Reset type: SYSRSn |
22 | GPIO54 | R/W | 0h | Read: Input value, Write: Output latch for GPIO54 Reset type: SYSRSn |
21 | GPIO53 | R/W | 0h | Read: Input value, Write: Output latch for GPIO53 Reset type: SYSRSn |
20 | GPIO52 | R/W | 0h | Read: Input value, Write: Output latch for GPIO52 Reset type: SYSRSn |
19 | GPIO51 | R/W | 0h | Read: Input value, Write: Output latch for GPIO51 Reset type: SYSRSn |
18 | GPIO50 | R/W | 0h | Read: Input value, Write: Output latch for GPIO50 Reset type: SYSRSn |
17 | GPIO49 | R/W | 0h | Read: Input value, Write: Output latch for GPIO49 Reset type: SYSRSn |
16 | GPIO48 | R/W | 0h | Read: Input value, Write: Output latch for GPIO48 Reset type: SYSRSn |
15 | GPIO47 | R/W | 0h | Read: Input value, Write: Output latch for GPIO47 Reset type: SYSRSn |
14 | GPIO46 | R/W | 0h | Read: Input value, Write: Output latch for GPIO46 Reset type: SYSRSn |
13 | GPIO45 | R/W | 0h | Read: Input value, Write: Output latch for GPIO45 Reset type: SYSRSn |
12 | GPIO44 | R/W | 0h | Read: Input value, Write: Output latch for GPIO44 Reset type: SYSRSn |
11 | GPIO43 | R/W | 0h | Read: Input value, Write: Output latch for GPIO43 Reset type: SYSRSn |
10 | GPIO42 | R/W | 0h | Read: Input value, Write: Output latch for GPIO42 Reset type: SYSRSn |
9 | GPIO41 | R/W | 0h | Read: Input value, Write: Output latch for GPIO41 Reset type: SYSRSn |
8 | GPIO40 | R/W | 0h | Read: Input value, Write: Output latch for GPIO40 Reset type: SYSRSn |
7 | GPIO39 | R/W | 0h | Read: Input value, Write: Output latch for GPIO39 Reset type: SYSRSn |
6 | RESERVED | R/W | 0h | Reserved |
5 | GPIO37 | R/W | 0h | Read: Input value, Write: Output latch for GPIO37 Reset type: SYSRSn |
4 | RESERVED | R/W | 0h | Reserved |
3 | GPIO35 | R/W | 0h | Read: Input value, Write: Output latch for GPIO35 Reset type: SYSRSn |
2 | GPIO34 | R/W | 0h | Read: Input value, Write: Output latch for GPIO34 Reset type: SYSRSn |
1 | GPIO33 | R/W | 0h | Read: Input value, Write: Output latch for GPIO33 Reset type: SYSRSn |
0 | GPIO32 | R/W | 0h | Read: Input value, Write: Output latch for GPIO32 Reset type: SYSRSn |
GPBSET is shown in Figure 8-52 and described in Table 8-61.
Return to the Summary Table.
GPIO Output Set (GPIO32 to GPIO64)
Writing a 1 to a field in this register sets the output data latch for the corresponding IO pin. Writes of 0 are ignored. Reads of this register always return 0.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | RESERVED | RESERVED | RESERVED | GPIO59 | GPIO58 | GPIO57 | GPIO56 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
GPIO55 | GPIO54 | GPIO53 | GPIO52 | GPIO51 | GPIO50 | GPIO49 | GPIO48 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
GPIO47 | GPIO46 | GPIO45 | GPIO44 | GPIO43 | GPIO42 | GPIO41 | GPIO40 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPIO39 | RESERVED | GPIO37 | RESERVED | GPIO35 | GPIO34 | GPIO33 | GPIO32 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30 | RESERVED | R/W | 0h | Reserved |
29 | RESERVED | R/W | 0h | Reserved |
28 | RESERVED | R/W | 0h | Reserved |
27 | GPIO59 | R/W | 0h | Output set for GPIO59 Reset type: SYSRSn |
26 | GPIO58 | R/W | 0h | Output set for GPIO58 Reset type: SYSRSn |
25 | GPIO57 | R/W | 0h | Output set for GPIO57 Reset type: SYSRSn |
24 | GPIO56 | R/W | 0h | Output set for GPIO56 Reset type: SYSRSn |
23 | GPIO55 | R/W | 0h | Output set for GPIO55 Reset type: SYSRSn |
22 | GPIO54 | R/W | 0h | Output set for GPIO54 Reset type: SYSRSn |
21 | GPIO53 | R/W | 0h | Output set for GPIO53 Reset type: SYSRSn |
20 | GPIO52 | R/W | 0h | Output set for GPIO52 Reset type: SYSRSn |
19 | GPIO51 | R/W | 0h | Output set for GPIO51 Reset type: SYSRSn |
18 | GPIO50 | R/W | 0h | Output set for GPIO50 Reset type: SYSRSn |
17 | GPIO49 | R/W | 0h | Output set for GPIO49 Reset type: SYSRSn |
16 | GPIO48 | R/W | 0h | Output set for GPIO48 Reset type: SYSRSn |
15 | GPIO47 | R/W | 0h | Output set for GPIO47 Reset type: SYSRSn |
14 | GPIO46 | R/W | 0h | Output set for GPIO46 Reset type: SYSRSn |
13 | GPIO45 | R/W | 0h | Output set for GPIO45 Reset type: SYSRSn |
12 | GPIO44 | R/W | 0h | Output set for GPIO44 Reset type: SYSRSn |
11 | GPIO43 | R/W | 0h | Output set for GPIO43 Reset type: SYSRSn |
10 | GPIO42 | R/W | 0h | Output set for GPIO42 Reset type: SYSRSn |
9 | GPIO41 | R/W | 0h | Output set for GPIO41 Reset type: SYSRSn |
8 | GPIO40 | R/W | 0h | Output set for GPIO40 Reset type: SYSRSn |
7 | GPIO39 | R/W | 0h | Output set for GPIO39 Reset type: SYSRSn |
6 | RESERVED | R/W | 0h | Reserved |
5 | GPIO37 | R/W | 0h | Output set for GPIO37 Reset type: SYSRSn |
4 | RESERVED | R/W | 0h | Reserved |
3 | GPIO35 | R/W | 0h | Output set for GPIO35 Reset type: SYSRSn |
2 | GPIO34 | R/W | 0h | Output set for GPIO34 Reset type: SYSRSn |
1 | GPIO33 | R/W | 0h | Output set for GPIO33 Reset type: SYSRSn |
0 | GPIO32 | R/W | 0h | Output set for GPIO32 Reset type: SYSRSn |
GPBCLEAR is shown in Figure 8-53 and described in Table 8-62.
Return to the Summary Table.
GPIO Output Clear (GPIO32 to GPIO64)
Writing a 1 to a field in this register clears the output data latch for the corresponding IO pin. Writes of 0 are ignored. Reads of this register always return 0.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | RESERVED | RESERVED | RESERVED | GPIO59 | GPIO58 | GPIO57 | GPIO56 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
GPIO55 | GPIO54 | GPIO53 | GPIO52 | GPIO51 | GPIO50 | GPIO49 | GPIO48 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
GPIO47 | GPIO46 | GPIO45 | GPIO44 | GPIO43 | GPIO42 | GPIO41 | GPIO40 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPIO39 | RESERVED | GPIO37 | RESERVED | GPIO35 | GPIO34 | GPIO33 | GPIO32 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30 | RESERVED | R/W | 0h | Reserved |
29 | RESERVED | R/W | 0h | Reserved |
28 | RESERVED | R/W | 0h | Reserved |
27 | GPIO59 | R/W | 0h | Output clear for GPIO59 Reset type: SYSRSn |
26 | GPIO58 | R/W | 0h | Output clear for GPIO58 Reset type: SYSRSn |
25 | GPIO57 | R/W | 0h | Output clear for GPIO57 Reset type: SYSRSn |
24 | GPIO56 | R/W | 0h | Output clear for GPIO56 Reset type: SYSRSn |
23 | GPIO55 | R/W | 0h | Output clear for GPIO55 Reset type: SYSRSn |
22 | GPIO54 | R/W | 0h | Output clear for GPIO54 Reset type: SYSRSn |
21 | GPIO53 | R/W | 0h | Output clear for GPIO53 Reset type: SYSRSn |
20 | GPIO52 | R/W | 0h | Output clear for GPIO52 Reset type: SYSRSn |
19 | GPIO51 | R/W | 0h | Output clear for GPIO51 Reset type: SYSRSn |
18 | GPIO50 | R/W | 0h | Output clear for GPIO50 Reset type: SYSRSn |
17 | GPIO49 | R/W | 0h | Output clear for GPIO49 Reset type: SYSRSn |
16 | GPIO48 | R/W | 0h | Output clear for GPIO48 Reset type: SYSRSn |
15 | GPIO47 | R/W | 0h | Output clear for GPIO47 Reset type: SYSRSn |
14 | GPIO46 | R/W | 0h | Output clear for GPIO46 Reset type: SYSRSn |
13 | GPIO45 | R/W | 0h | Output clear for GPIO45 Reset type: SYSRSn |
12 | GPIO44 | R/W | 0h | Output clear for GPIO44 Reset type: SYSRSn |
11 | GPIO43 | R/W | 0h | Output clear for GPIO43 Reset type: SYSRSn |
10 | GPIO42 | R/W | 0h | Output clear for GPIO42 Reset type: SYSRSn |
9 | GPIO41 | R/W | 0h | Output clear for GPIO41 Reset type: SYSRSn |
8 | GPIO40 | R/W | 0h | Output clear for GPIO40 Reset type: SYSRSn |
7 | GPIO39 | R/W | 0h | Output clear for GPIO39 Reset type: SYSRSn |
6 | RESERVED | R/W | 0h | Reserved |
5 | GPIO37 | R/W | 0h | Output clear for GPIO37 Reset type: SYSRSn |
4 | RESERVED | R/W | 0h | Reserved |
3 | GPIO35 | R/W | 0h | Output clear for GPIO35 Reset type: SYSRSn |
2 | GPIO34 | R/W | 0h | Output clear for GPIO34 Reset type: SYSRSn |
1 | GPIO33 | R/W | 0h | Output clear for GPIO33 Reset type: SYSRSn |
0 | GPIO32 | R/W | 0h | Output clear for GPIO32 Reset type: SYSRSn |
GPBTOGGLE is shown in Figure 8-54 and described in Table 8-63.
Return to the Summary Table.
GPIO Output Toggle (GPIO32 to GPIO64)
Writing a 1 to a field in this register inverts the value of the output data latch for the corresponding IO pin. Writes of 0 are ignored. Reads of this register always return 0.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | RESERVED | RESERVED | RESERVED | GPIO59 | GPIO58 | GPIO57 | GPIO56 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
GPIO55 | GPIO54 | GPIO53 | GPIO52 | GPIO51 | GPIO50 | GPIO49 | GPIO48 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
GPIO47 | GPIO46 | GPIO45 | GPIO44 | GPIO43 | GPIO42 | GPIO41 | GPIO40 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPIO39 | RESERVED | GPIO37 | RESERVED | GPIO35 | GPIO34 | GPIO33 | GPIO32 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30 | RESERVED | R/W | 0h | Reserved |
29 | RESERVED | R/W | 0h | Reserved |
28 | RESERVED | R/W | 0h | Reserved |
27 | GPIO59 | R/W | 0h | Output toggle for GPIO59 Reset type: SYSRSn |
26 | GPIO58 | R/W | 0h | Output toggle for GPIO58 Reset type: SYSRSn |
25 | GPIO57 | R/W | 0h | Output toggle for GPIO57 Reset type: SYSRSn |
24 | GPIO56 | R/W | 0h | Output toggle for GPIO56 Reset type: SYSRSn |
23 | GPIO55 | R/W | 0h | Output toggle for GPIO55 Reset type: SYSRSn |
22 | GPIO54 | R/W | 0h | Output toggle for GPIO54 Reset type: SYSRSn |
21 | GPIO53 | R/W | 0h | Output toggle for GPIO53 Reset type: SYSRSn |
20 | GPIO52 | R/W | 0h | Output toggle for GPIO52 Reset type: SYSRSn |
19 | GPIO51 | R/W | 0h | Output toggle for GPIO51 Reset type: SYSRSn |
18 | GPIO50 | R/W | 0h | Output toggle for GPIO50 Reset type: SYSRSn |
17 | GPIO49 | R/W | 0h | Output toggle for GPIO49 Reset type: SYSRSn |
16 | GPIO48 | R/W | 0h | Output toggle for GPIO48 Reset type: SYSRSn |
15 | GPIO47 | R/W | 0h | Output toggle for GPIO47 Reset type: SYSRSn |
14 | GPIO46 | R/W | 0h | Output toggle for GPIO46 Reset type: SYSRSn |
13 | GPIO45 | R/W | 0h | Output toggle for GPIO45 Reset type: SYSRSn |
12 | GPIO44 | R/W | 0h | Output toggle for GPIO44 Reset type: SYSRSn |
11 | GPIO43 | R/W | 0h | Output toggle for GPIO43 Reset type: SYSRSn |
10 | GPIO42 | R/W | 0h | Output toggle for GPIO42 Reset type: SYSRSn |
9 | GPIO41 | R/W | 0h | Output toggle for GPIO41 Reset type: SYSRSn |
8 | GPIO40 | R/W | 0h | Output toggle for GPIO40 Reset type: SYSRSn |
7 | GPIO39 | R/W | 0h | Output toggle for GPIO39 Reset type: SYSRSn |
6 | RESERVED | R/W | 0h | Reserved |
5 | GPIO37 | R/W | 0h | Output toggle for GPIO37 Reset type: SYSRSn |
4 | RESERVED | R/W | 0h | Reserved |
3 | GPIO35 | R/W | 0h | Output toggle for GPIO35 Reset type: SYSRSn |
2 | GPIO34 | R/W | 0h | Output toggle for GPIO34 Reset type: SYSRSn |
1 | GPIO33 | R/W | 0h | Output toggle for GPIO33 Reset type: SYSRSn |
0 | GPIO32 | R/W | 0h | Output toggle for GPIO32 Reset type: SYSRSn |
GPHDAT is shown in Figure 8-55 and described in Table 8-64.
Return to the Summary Table.
GPIO H Data (GPIO224 to GPIO255)
Reading a field in this register returns the input level of the corresponding IO pin after qualification and (optionally) inversion. In digital mode, these pins only support input functionality.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | RESERVED | RESERVED | RESERVED | RESERVED | RESERVED | RESERVED | RESERVED |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
GPIO247 | GPIO246 | GPIO245 | GPIO244 | GPIO243 | GPIO242 | GPIO241 | GPIO240 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
GPIO239 | GPIO238 | GPIO237 | GPIO236 | GPIO235 | GPIO234 | GPIO233 | GPIO232 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPIO231 | GPIO230 | GPIO229 | GPIO228 | GPIO227 | GPIO226 | GPIO225 | GPIO224 |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30 | RESERVED | R/W | 0h | Reserved |
29 | RESERVED | R/W | 0h | Reserved |
28 | RESERVED | R/W | 0h | Reserved |
27 | RESERVED | R/W | 0h | Reserved |
26 | RESERVED | R/W | 0h | Reserved |
25 | RESERVED | R/W | 0h | Reserved |
24 | RESERVED | R/W | 0h | Reserved |
23 | GPIO247 | R/W | 0h | Read: Input value for GPIO247 Reset type: SYSRSn |
22 | GPIO246 | R/W | 0h | Read: Input value for GPIO246 Reset type: SYSRSn |
21 | GPIO245 | R/W | 0h | Read: Input value for GPIO245 Reset type: SYSRSn |
20 | GPIO244 | R/W | 0h | Read: Input value for GPIO244 Reset type: SYSRSn |
19 | GPIO243 | R/W | 0h | Read: Input value for GPIO243 Reset type: SYSRSn |
18 | GPIO242 | R/W | 0h | Read: Input value for GPIO242 Reset type: SYSRSn |
17 | GPIO241 | R/W | 0h | Read: Input value for GPIO241 Reset type: SYSRSn |
16 | GPIO240 | R/W | 0h | Read: Input value for GPIO240 Reset type: SYSRSn |
15 | GPIO239 | R/W | 0h | Read: Input value for GPIO239 Reset type: SYSRSn |
14 | GPIO238 | R/W | 0h | Read: Input value for GPIO238 Reset type: SYSRSn |
13 | GPIO237 | R/W | 0h | Read: Input value for GPIO237 Reset type: SYSRSn |
12 | GPIO236 | R/W | 0h | Read: Input value for GPIO236 Reset type: SYSRSn |
11 | GPIO235 | R/W | 0h | Read: Input value for GPIO235 Reset type: SYSRSn |
10 | GPIO234 | R/W | 0h | Read: Input value for GPIO234 Reset type: SYSRSn |
9 | GPIO233 | R/W | 0h | Read: Input value for GPIO233 Reset type: SYSRSn |
8 | GPIO232 | R/W | 0h | Read: Input value for GPIO232 Reset type: SYSRSn |
7 | GPIO231 | R/W | 0h | Read: Input value for GPIO231 Reset type: SYSRSn |
6 | GPIO230 | R/W | 0h | Read: Input value for GPIO230 Reset type: SYSRSn |
5 | GPIO229 | R/W | 0h | Read: Input value for GPIO229 Reset type: SYSRSn |
4 | GPIO228 | R/W | 0h | Read: Input value for GPIO228 Reset type: SYSRSn |
3 | GPIO227 | R/W | 0h | Read: Input value for GPIO227 Reset type: SYSRSn |
2 | GPIO226 | R/W | 0h | Read: Input value for GPIO226 Reset type: SYSRSn |
1 | GPIO225 | R/W | 0h | Read: Input value for GPIO225 Reset type: SYSRSn |
0 | GPIO224 | R/W | 0h | Read: Input value for GPIO224 Reset type: SYSRSn |