Texas Instruments TMS320C645x manual Input Data Register Indata

Page 21

Registers

5.6Input Data Register (IN_DATA)

The GPIO input data register (IN_DATA) reflects the state of the GPIO pins. The IN_DATA register is shown in Figure 8 and described in Table 8. When read, IN_DATA returns the state of the GPIO pins regardless of the state of the corresponding bits in the DIR and OUT_DATA registers.

Figure 8.

Input Data Register (IN_DATA)

 

 

 

 

31

 

 

 

 

 

 

 

16

 

 

 

 

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R-0

 

 

 

 

15

14

13

12

 

11

10

9

8

 

 

 

 

 

 

 

 

 

IN15

IN14

IN13

IN12

 

IN11

IN10

IN9

IN8

 

 

 

 

 

 

 

 

 

R-0

R-0

R-0

R-0

R-0

R-0

R-0

R-0

7

6

5

4

 

3

2

1

0

 

 

 

 

 

 

 

 

IN7

IN6

IN5

IN4

 

IN3

IN2

IN1

IN0

 

 

 

 

 

 

 

 

 

R-0

R-0

R-0

R-0

R-0

R-0

R-0

R-0

Legend: R = Read only; R/W = Read/Write; -n= value after reset

 

 

 

 

Table 8.

Input Data Register (IN_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

INn

 

Returns the status of the corresponding GPn pin.

 

 

 

 

SPRU724

General-Purpose Input/Output (GPIO)

21

Image 21
Contents Literature Number SPRU724 December Important Notice About This Manual Read This FirstTrademarks Contents Figures Tables This page is intentionally left blank Overview General-PurposeTMS320C645x DSP Block Diagram Gpio Peripheral Block Diagram Gpio Function Interrupt and Event Generation Gpio Interrupt and Edma Event Configuration OptionsEmulation Halt Operation Gpio Registers RegistersInterrupt Per-Bank Enable Register Binten Interrupt Per-Bank Enable Register BintenDirection Register DIR Direction Register DIRDirection Register DIR Field Descriptions Output Data Register Outdata Field Descriptions Output Data Register OutdataSet Data Register Setdata Field Descriptions Set Data Register SetdataClear Data Register Clrdata Clear Data Register ClrdataClear Data Register Clrdata Field Descriptions Input Data Register Indata Field Descriptions Input Data Register IndataSet Rising Edge Interrupt Register Setristrig Set Rising Edge Interrupt Register SetristrigClear Rising Edge Interrupt Register Clrristrig Clear Rising Edge Interrupt Register ClrristrigSet Falling Edge Interrupt Register Setfaltrig Set Falling Edge Interrupt Register SetfaltrigClear Falling Edge Interrupt Register Clrfaltrig Clear Falling Edge Interrupt Register ClrfaltrigThis page is intentionally left blank Index
Related manuals
Manual 218 pages 2.08 Kb