
EZ-USB FX2 Technical Reference Manual
Page 14-8 EZ-USB FX2 Technical Reference Manual v2.1
14.2.4 Timer 2
Timer 2 runs only in 16-bit mode and offers several capabilities not available with Timers 0 and 1.
The modes available for Timer 2 are:
• 16-bit timer/counter
• 16-bit timer with capture
• 16-bit timer/counter with auto-reload
• Baud rate generator
The SFRs associated with Timer 2 are:
• T2CON (SFR 0xC8) — Timer/Counter 2 Control register, (see Table 14-5).
• RCAP2L (SFR 0xCA) — Used to capture the TL2 value when Timer 2 is configured for
capture mode, or as the LSB of the 16-bit reload value when Timer 2 is configured for
auto-reload mode.
• RCAP2H (SFR 0xCB) — Used to capture the TH2 value when Timer 2 is configured for
capture mode, or as the MSB of the 16-bit reload value when Timer 2 is configured for
auto-reload mode.
• TL2 (SFR 0xCC) — Lower 8 bits of the 16-bit count.
• TH2 (SFR 0xCD) — Upper 8 bits of the 16-bit count.
Comentarios a estos manuales