Texas Instruments TMS320C645x manual Set Falling Edge Interrupt Register Setfaltrig

Page 24

Registers

5.9Set Falling Edge Interrupt Register (SET_FAL_TRIG)

The GPIO falling trigger register (FAL_TRIG) configures the edge detection logic to trigger GPIO interrupts and EDMA events on the falling edge of GPIO signals. Setting a bit to 1 in FAL_TRIG causes the corresponding GPIO interrupt and EDMA event (GPINTn) to be generated on the falling edge of GPn. FAL_TRIG is not directly accessible by the CPU; it must be configured using the GPIO set falling trigger and clear falling trigger registers.

The GPIO set falling trigger register (SET_FAL_TRIG) is shown in Figure 11 and described in Table 11. Writing a 1 to a bit of SET_FAL_TRIG sets the corresponding bit in FAL_TRIG. Writing a 0 has no effect. Reading SET_FAL_TRIG returns the value in FAL_TRIG.

Figure 11. Set Falling Edge Interrupt Register (SET_FAL_TRIG)

31

 

 

 

 

 

 

16

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R-0

 

 

 

15

14

13

12

11

10

9

8

 

 

 

 

 

 

 

 

SETFAL15

SETFAL14

SETFAL13

SETFAL12

SETFAL11

SETFAL10

SETFAL9

SETFAL8

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

SETFAL7

SETFAL6

SETFAL5

SETFAL4

SETFAL3

SETFAL2

SETFAL1

SETFAL0

 

 

 

 

 

 

 

 

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 11. Set Falling Edge Interrupt Register (SET_FAL_TRIG) Field Descriptions

Bit

Field

Value

Description

 

 

 

 

31−16

Reserved

0

Reserved. The reserved bit location is always read as zero. A value

 

 

 

written to this field has no effect.

 

 

 

 

15−0

SETFALn

 

Writing a 1 enables the falling edge detection for the corresponding GPn

 

 

 

pin. Reading this register returns the state of the FAL_TRIG register.

 

 

 

 

 

 

0

No effect

 

 

 

 

 

 

1

Sets the corresponding bit in FAL_TRIG

 

 

 

 

24

General-Purpose Input/Output (GPIO)

SPRU724

Image 24
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 Direction Register DIRDirection Register DIR Field Descriptions Output Data Register Outdata Output Data Register Outdata Field DescriptionsSet Data Register Setdata Set Data Register Setdata Field DescriptionsClear Data Register Clrdata Clear Data Register ClrdataClear Data Register Clrdata Field Descriptions 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