5.5.1 HRCAP Control Register (HCCTL)
The HRCAP control register (HCCTL) is shown and described in the figure and table below.
Figure 5-13. HRCAP Control Register (HCCTL)
15
9
8
Reserved
HCCAPCLKSEL
R-0
R/W-0
7
4
3
2
1
0
Reserved
OVFINTE
FALLINTE
RISEINTE
SOFTRESET
R-0
R/W-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 5-2. HRCAP Control Register (HCCTL) Field Descriptions
Bit
Field
Value
15-9
Reserved
Reserved
8
HCCAPCLKSEL
Capture clock select bit. This bit is used to select the clock source for HCCAPCLK. This bit should
be set such that HCCAPCLK falls between the frequency range limits specified in the HRCAP
Electricals
section of the device-specific data manual.
0
HCCAPCLK = SYSCLKOUT
1
HCCAPCLK = PLL2CLK
7-4
Reserved
Reserved
3
OVFINTE
Counter overflow interrupt enable bit
0
Disable counter overflow interrupt
1
Enable counter overflow interrupt
2
FALLINTE
Falling edge capture interrupt enable bit
0
Disable falling edge capture interrupt
1
Enable rising edge capture interrupt
1
RISEINTE
Rising edge capture interrupt enable bit
0
Disable rising edge capture interrupt
1
Enable rising edge capture interrupt
0
SOFTRESET
Soft reset
0
Writes of "0" are ignored. This bit always reads "0".
1
Writes of "1" to this bit will clear HCCOUNTER, all capture registers, and the IFR register bits.
(1)
This register is EALLOW protected.
High-Resolution Capture (HRCAP) Module
422
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......