2 timer two mode control register (t2mod) summary, Imer, Timer two control register (t2con) summary – Maxim Integrated High-Speed Microcontroller User Manual
Page 125
High-Speed Microcontroller User’s Guide
Rev: 062210
125 of 176
11.6.2
Timer Two Mode Control Register (T2MOD) Summary
7 6 5 4 3 2 1 0
C9h
— — —
— — —
T2OE
DCEN
Bit 1: Timer 2 Output Enable (T2OE). Setting this bit to a 1 enables the Timer 2 to drive the T2 (P1.0)
pin with a clock output. When T2OE = 0, the T2 (P1.0) pin is used as either an input for Timer 2 or a
standard port pin.
Bit 0: Down Count Enable (DCEN). When this bit is set to 1, the Timer 2 function counts up or down
when in 16-bit auto-reload mode depending on T2EX (P1.1). When DCEN is set to a 0, the Timer 2
counts up only.
11.6.3
Timer 2 Capture Registers (RCAP2L, RCAP2H) Summary
11.6.3.1
Least Significant Byte Capture of Timer 2 (RCAP2L)
7 6 5 4 3 2 1 0
CAh
RACP2L7 RACP2L6 RCAP2L5 RCAP2L4 RCAP2L3 RCAP2L2 RCAP2L1 RCAP2L0
Bits 7 to 0: Timer 2 Capture LSB (RACP2L[7:0]). This register is used to capture the
Timer 2 is configured in capture mode. RCAP2L is also used as the LSB of a 16-bit reload value when
Timer 2 is configured in auto-reload mode.
11.6.3.2
Most Significant Byte Capture of Timer 2 (RCAP2H)
7 6 5 4 3 2 1 0
CBh
RACP2H7 RACP2H6 RCAP2H5 RCAP2H4 RCAP2H3 RCAP2H2 RCAP2H1 RCAP2H0
Bits 7 to 0: Timer 2 Capture MSB (RACP2H[7:0]). This register is used to capture the
Timer 2 is configured in capture mode. RCAP2H is also used as the MSB of a 16-bit reload value when
Timer 2 is configured in auto-reload mode.