5 clear data register (clr_data) – Texas Instruments TMS320C645X User Manual
Page 20

Registers
General-Purpose Input/Output (GPIO)
20
SPRU724
5.5
Clear Data Register (CLR_DATA)
The GPIO clear data register (CLR_DATA) is shown in Figure 7 and described
in Table 7. CLR_DATA provides an alternate means of driving GPIO outputs
low. Writing a 1 to a bit of CLR_DATA clears the corresponding bit in
OUT_DATA. Writing a 0 has no effect. Reading CLR_DATA returns the
contents of OUT_DATA.
Figure 7.
Clear Data Register (CLR_DATA)
31
16
Reserved
R-0
15
14
13
12
11
10
9
8
CLR15
CLR14
CLR13
CLR12
CLR11
CLR10
CLR9
CLR8
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
7
6
5
4
3
2
1
0
CLR7
CLR6
CLR5
CLR4
CLR3
CLR2
CLR1
CLR0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
Legend: R = Read only; R/W = Read/Write; -n = value after reset
Table 7.
Clear Data Register (CLR_DATA) Field Descriptions
Bit
Field
Value
Description
31−16
Reserved
0
Reserved. The reserved bit location is always read as 0. A value written to
this field has no effect.
15−0
CLRn
Writing 1 clears the corresponding bit the OUT_DATA register. Reading this
register returns the contents of the OUT_DATA register. Writing a 0 has no
effect.
0
No effect
1
Clears the corresponding bit in OUT_DATA