Preliminary
www.ti.com
Registers
4.3.11 GPIO_DATAIN Register
The GPIO_DATAIN register is used to register the data that is read from the GPIO pins. The
GPIO_DATAIN register is a read-only register. The input data is sampled synchronously with the
interface clock and then captured in the GPIO_DATAIN register synchronously with the interface clock.
So, after changing, GPIO pin levels are captured into this register after two interface clock cycles (the
required cycles to synchronize and to write the data). The GPIO_DATAIN register is shown in
and described in
NOTE:
When the AUTOIDLE bit in the system configuration register (GPIO_SYSCONFIG) is set,
the GPIO_DATAIN read command has a 3 OCP cycle latency due to the data in sample
gating mechanism. When the AUTOIDLE bit is not set, the GPIO_DATAIN read command
has a 2 OCP cycle latency.
Figure 4-17. GPIO_DATAIN Register
31
0
DATAIN
R-0
LEGEND: R = Read only; -n = value after reset
Table 4-12. GPIO_DATAIN Register Field Descriptions
Bits
Field
Value
Description
31-0
DATAIN
0-FFFF FFFFh
Sampled Input Data
4.3.12 GPIO_DATAOUT Register
The GPIO_DATAOUT register is used for setting the value of the GPIO output pins. Data is written to
the GPIO_DATAOUT register synchronously with the interface clock. This register can be accessed
with direct read/write operations or using the alternate ‘Set/Clear’ feature. This feature enables to set or
clear specific bits of this register with a single write access to the set data output register
(GPIO_SETDATAOUT) or to the clear data output register (GPIO_CLEARDATAOUT) address. The
GPIO_DATAOUT register is shown in
and described in
.
Figure 4-18. GPIO_DATAOUT Register
31
0
DATAOUT
R/W-0
LEGEND: R/W = Read/Write; -n = value after reset
Table 4-13. GPIO_DATAOUT Register Field Descriptions
Bits
Field
Value
Description
31-0
DATAOUT
0-FFFF FFFFh
Data to set on output pins
545
SPRUGX9 – 15 April 2011
General-Purpose I/O (GPIO) Interface
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...