Texas Instruments TMS320C645x manual Clear Data Register Clrdata

Page 20

Registers

5.5Clear 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

 

 

 

 

20

General-Purpose Input/Output (GPIO)

SPRU724

Image 20
Contents Literature Number SPRU724 December Important Notice Read This First About This ManualTrademarks Contents Figures Tables This page is intentionally left blank General-Purpose OverviewTMS320C645x DSP Block Diagram Gpio Peripheral Block Diagram Gpio Function Gpio Interrupt and Edma Event Configuration Options Interrupt and Event GenerationEmulation Halt Operation Registers Gpio RegistersInterrupt Per-Bank Enable Register Binten Interrupt Per-Bank Enable Register BintenDirection Register DIR Field Descriptions Direction Register DIRDirection Register DIR Output Data Register Outdata Output Data Register Outdata Field DescriptionsSet Data Register Setdata Set Data Register Setdata Field DescriptionsClear Data Register Clrdata Field Descriptions Clear Data Register ClrdataClear Data Register Clrdata Input Data Register Indata Input Data Register Indata Field DescriptionsSet 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