6.7.2.9 ECEINT Register (Offset = 16h) [reset = 0h]
ECEINT is shown in
and described in
Return to the
.
The interrupt enable bits (CEVT1, ...) block any of the selected events from generating an interrupt. Events
will still be latched into the flag bit (ECFLG register) and can be forced or cleared with the ECFRC or ECCLR
registers, respectively.
The proper procedure for configuring peripheral modes and interrupts is as follows:
1. Disable global interrupts
2. Stop eCAP counter
3. Disable eCAP interrupts
4. Configure peripheral registers
5. Clear spurious eCAP interrupt flags
6. Enable eCAP interrupts
7. Start eCAP counter
8. Enable global interrupts
Figure 6-25. ECEINT Register
15
14
13
12
11
10
9
8
RESERVED
R-0h
7
6
5
4
3
2
1
0
CTR_EQ_CMP CTR_EQ_PRD
CTROVF
CEVT4
CEVT3
CEVT2
CEVT1
RESERVED
R/W-0h
R/W-0h
R/W-0h
R/W-0h
R/W-0h
R/W-0h
R/W-0h
R-0h
Table 6-12. ECEINT Register Field Descriptions
Bit
Field
Type
Reset
Description
15-8
RESERVED
R
0h
Reserved
7
CTR_EQ_CMP
R/W
0h
Counter Equal Compare Interrupt Enable
Reset type: SYSRSn
0h (R/W) = Disable Compare Equal as an Interrupt source
1h (R/W) = Enable Compare Equal as an Interrupt source
6
CTR_EQ_PRD
R/W
0h
Counter Equal Period Interrupt Enable
Reset type: SYSRSn
0h (R/W) = Disable Period Equal as an Interrupt source
1h (R/W) = Enable Period Equal as an Interrupt source
5
CTROVF
R/W
0h
Counter Overflow Interrupt Enable
Reset type: SYSRSn
0h (R/W) = Disabled counter Overflow as an Interrupt source
1h (R/W) = Enable counter Overflow as an Interrupt source
4
CEVT4
R/W
0h
Capture Event 4 Interrupt Enable
Reset type: SYSRSn
0h (R/W) = Disable Capture Event 4 as an Interrupt source
1h (R/W) = Capture Event 4 Interrupt Enable
3
CEVT3
R/W
0h
Capture Event 3 Interrupt Enable
Reset type: SYSRSn
0h (R/W) = Disable Capture Event 3 as an Interrupt source
1h (R/W) = Enable Capture Event 3 as an Interrupt source
Enhanced Capture (eCAP)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
455
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......