English
Language : 

C161U Datasheet, PDF (238/469 Pages) Infineon Technologies AG – Embedded C166 with USB, USART and SSC
C161U
General Purpose Timer Unit
Timer Block 2 Capture/Reload Register CAPREL in Reload Mode
The 16-bit capture/reload register CAPREL can be used as a reload register for the core
timer T6. This mode is selected by setting bit T6SR = ‘1’ in register T6CON. The event
causing a reload in this mode is an overflow or underflow of the core timer T6.
When timer T6 overflows from FFFFH to 0000H (when counting up) or when it underflows
from 0000H to FFFFH (when counting down), the value stored in register CAPREL is
loaded into timer T6. This will not set the interrupt request flag CRIR associated with the
CAPREL register. However, interrupt request flag T6IR will be set indicating the
overflow/underflow of T6.
CAPREL Register
T6OTL
Input
C lo c k
T6SR
Core Tim er T6
U p /D o w n
Interrupt
Request
T6OFL
MCB02045
Figure 75 Timer Block 2 Register CAPREL in Reload Mode
Data Sheet
238
2001-04-19