English
Language : 

DS80C390_00 Datasheet, PDF (64/155 Pages) Dallas Semiconductor – High-Speed Microcontroller User’s Guide Supplement
EXEN2
Bit 3
TR2
Bit 2
C/ T2
Bit 1
CP/ RL2
Bit 0
DS80C390 High-Speed Microcontroller User’s Guide Supplement
Timer 2 External Enable. This bit enables the capture/ reload function on the
T2EX pin if Timer 2 is not generating baud rates for the serial port.
0 = Timer 2 will ignore all external events at T2EX.
1 = Timer 2 will capture or reload a value if a negative transition is detected on
the T2EX pin.
Timer 2 Run Control. This bit enables/disables the operation of timer 2. Halting
this timer will preserve the current count in TH2, TL2.
0 = Timer 2 is halted.
1 = Timer 2 is enabled.
Counter/Timer Select. This bit determines whether timer 2 will function as a
timer or counter. Independent of this bit, timer 2 runs at 2 clocks per tick when
used in either baud rate generator or clock output mode.
0 = Timer 2 function as a timer. The speed of timer 2 is determined by the T2M
bit (CKCON.5).
1 = Timer 2 will count negative transitions on the T2 pin (P1.0).
Capture/Reload Select. This bit determines whether the capture or reload
function will be used for timer 2. If either RCLK or TCLK is set, this bit will not
function and the timer will function in an auto-reload mode following each
overflow.
0 = Auto-reloads will occur when timer 2 overflows or a falling edge is detected
on T2EX if EXEN2=1.
1 = Timer 2 captures will occur when a falling edge is detected on T2EX if
EXEN2 = 1.
64 of 155