C28 General-Purpose Input/Output (GPIO)
422
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
General-Purpose Input/Output (GPIO)
4.2.7.34 Analog I/O Toggle (AIOSET, AIOCLEAR, AIOTOGGLE) Register
The Analog I/O Toggle (AIOSET, AIOCLEAR, AIOTOGGLE) register is shown and described in the figure
and table below.
Figure 4-75. Analog I/O Toggle (AIOSET, AIOCLEAR, AIOTOGGLE) Register
31
30
29
28
27
26
25
24
Reserved
AIO30
Reserved
AIO28
Reserved
AIO26
Reserved
R-0
R/W-x
R-0
R/W-x
R-0
R/W-x
R-0
23
22
21
20
19
18
17
16
Reserved
AIO22
Reserved
AIO20
Reserved
AIO18
Reserved
R-0
R/W-x
R-0
R/W-x
R-0
R/W-x
R-0
15
14
13
12
11
10
9
8
Reserved
AIO14
Reserved
AIO12
Reserved
AIO10
Reserved
R-0
R/W-x
R-0
R/W-x
R-0
R/W-x
R-0
7
6
5
4
3
2
1
0
Reserved
AIO6
Reserved
AIO4
Reserved
AIO2
Reserved
R-0
R/W-x
R-0
R/W-x
R-0
R/W-x
R-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after resetR/W-x
Table 4-91. Analog I/O Set (AIOSET) Register Field Descriptions
Bits
Field
Value
Description
31-0
AIOn
Each AIO pin corresponds to one bit in this register.
0
Writes of 0 are ignored. This register always reads back a 0.
1
Writing a 1 forces the respective output data latch to high. If the pin is configured as a AIO output
then it will be driven high. If the pin is not configured as a AIO output then the latch is set but the
pin is not driven.
Table 4-92. Analog I/O Clear (AIOCLEAR) Register Field Descriptions
Bits
Field
Value
Description
31-0
AIOn
Each AIO pin corresponds to one bit in this register.
0
Writes of 0 are ignored. This register always reads back a 0.
1
Writing a 1 forces the respective output data latch to low. If the pin is configured as a AIO output
then it will be driven low. If the pin is not configured as a AIO output then the latch is cleared but
the pin is not driven.
Table 4-93. Analog I/O Toggle (AIOTOGGLE) Register Field Descriptions
Bits
Field
Value
Description
31-0
AIOn
Each AIO pin corresponds to one bit in this register.
0
Writes of 0 are ignored. This register always reads back a 0.
1
Writing a 1 forces the respective output data latch to toggle from its current state. If the pin is
configured as a AIO output then it will be driven in the opposite direction of its current state. If
the pin is not configured as a AIO output then the latch is cleared but the pin is not driven.