5.5.2 HRCAP Interrupt Flag Register (HCIFR)
The HRCAP interrupt flag register (HCIFR) is shown and described in the figure and table below.
Figure 5-14. HRCAP Interrupt Flag Register (HCIFR)
15
8
Reserved
R-0
7
5
4
3
2
1
0
Reserved
RISEOVF
COUNTEROVF
FALL
RISE
INT
R-0
R-0
R-0
R-0
R-0
R-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 5-3. HRCAP Interrupt Flag Register (HCIFR) Field Descriptions
Bit
Field
Value
15-5
Reserved
Reserved
4
RISEOVF
Rising edge interrupt overflow event flag
0
No rising edge interrupt overflow event has occurred. This bit is cleared to 0 by writing to the
corresponding bit in the HCICLR register. This bit is also cleared by HCCTL[SOFTRESET].
1
This bit is set to "1" if the RISE flag is "1" when a new RISE event occurs.
3
COUNTEROVF
Counter overflow interrupt flag
0
The HCCOUNTER has not overflowed. This bit is cleared to 0 by writing to the corresponding bit in
the HCICLR register. This bit is also cleared by HCCTL[SOFTRESET].
1
This bit is set to 1 when the 16-bit HCCOUNTER overflows (from 0xFFFF to 0x0000). This bit can
also be set to 1 by writing to the corresponding bit in the HCIFRC register.
2
FALL
Falling edge capture interrupt flag:
0
No falling edge interrupt has occurred. This bit is cleared to 0 by writing to the corresponding bit in
the HCICLR register. This bit is also cleared by HCCTL[SOFTRESET].
1
A falling edge input capture event has occurred. This bit can also be set to 1 by writing to the
corresponding bit in the HCIFRC register.
1
RISE
Rising edge capture interrupt flag
0
No rising edge interrupt has occurred. This bit is cleared to 0 by writing to the corresponding bit in
the HCICLR register. This bit is also cleared by HCCTL[SOFTRESET].
1
A rising edge input capture event has occurred. This bit can also be set to 1 by writing to the
corresponding bit in the HCIFRC register.
0
INT
Global interrupt flag
0
No HRCAP interrupt has occurred. This bit is cleared to 0 by writing to the corresponding bit in the
HCICLR register. This bit is also cleared by HCCTL[SOFTRESET].
1
An enabled RISE, FALL or COUNTEROVF interrupt has been generated. No further interrupts are
generated until this bit is cleared.
(1)
This register is EALLOW protected.
High-Resolution Capture (HRCAP) Module
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
423
Copyright © 2022 Texas Instruments Incorporated
Summary of Contents for TMS320 2806 Series
Page 2: ......