Register Bit Definitions
www.ti.com
Table 4-30. GPIO Port A Data (GPADAT) Register Field Descriptions
Bits Field Value Description
31-0 GPIO31-GPIO0 Each bit corresponds to one GPIO port A pin (GPIO0-GPIO31) as shown in Figure 4-26 .
0 Reading a 0 indicates that the state of the pin is currently low, irrespective of the mode the pin is
configured for.
Writing a 0 will force an output of 0 if the pin is configured as a GPIO output in the appropriate
GPAMUX1/2 and GPADIR registers; otherwise, the value is latched but not used to drive the
pin.
1 Reading a 1 indicates that the state of the pin is currently high irrespective of the mode the pin
is configured for.
Writing a 1will force an output of 1if the pin is configured as a GPIO output in the appropriate
GPAMUX1/2 and GPADIR registers; otherwise, the value is latched but not used to drive the
pin.
Figure 4-27. GPIO Port B Data (GPBDAT) Register
31 30 29 28 27 26 25 24
GPIO63 GPIO62 GPIO61 GPIO60 GPIO59 GPIO58 GPIO57 GPIO56
R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x
23 22 21 20 19 18 17 16
GPIO55 GPIO54 GPIO53 GPIO52 GPIO51 GPIO50 GPIO49 GPIO48
R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x
15 14 13 12 11 10 9 8
GPIO47 GPIO46 GPIO45 GPIO44 GPIO43 GPIO42 GPIO41 GPIO40
R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x
7 6 5 4 3 2 1 0
GPIO39 GPIO38 GPIO37 GPIO36 GPIO35 GPIO34 GPIO33 GPIO32
R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x
LEGEND: R/W = Read/Write; R = Read only; - n = value after reset
(1)
(1)
x = The state of the GPADAT register is unknown after reset. It depends on the level of the pin after reset.
Table 4-31. GPIO Port B Data (GPBDAT) Register Field Descriptions
Bit Field Value Description
31-0 GPIO63-GPIO32 Each bit corresponds to one GPIO port B pin (GPIO32-GPIO63) as shown in Figure 4-27 .
0 Reading a 0 indicates that the state of the pin is currently low, irrespective of the mode the pin is
configured for.
Writing a 0 will force an output of 0 if the pin is configured as a GPIO output in the appropriate
GPBMUX1 and GPBDIR registers; otherwise, the value is latched but not used to drive the pin.
1 Reading a 1 indicates that the state of the pin is currently high irrespective of the mode the pin is
configured for.
Writing a 1 will force an output of 1 if the pin is configured as a GPIO output in the GPBMUX1
and GPBDIR registers; otherwise, the value is latched but not used to drive the pin.
General-Purpose Input/Output (GPIO)102 SPRUFB0C – September 2007 – Revised May 2009
Submit Documentation Feedback