English
Language : 

DS80C320-MCG Datasheet, PDF (46/175 Pages) Dallas Semiconductor – High-Speed Microcontroller User Guide
TCLK
Bit 4
EXEN2
Bit 3
TR2
Bit 2
C/ T2
Bit 1
CP/ RL2
Bit 0
High-Speed Microcontroller User’s Guide
Transmit Clock Flag. This bit determines the serial port 0 timebase when
transmitting data in serial modes 1 or 3.
0 = Timer 1 overflow is used to determine transmitter baud rate for serial port 0.
1 = Timer 2 overflow is used to determine transmitter baud rate for serial port 0.
Setting this bit will force timer 2 into baud rate generation mode. The timer will
operate from a divide by 2 of the external clock.
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.
46 of 175