t81l0003a TM Technology Inc., t81l0003a Datasheet - Page 11

no-image

t81l0003a

Manufacturer Part Number
t81l0003a
Description
Reduced I/o 8-bit Mcu
Manufacturer
TM Technology Inc.
Datasheet
tm
T2CON.1: Timer or counter select. (Timer 2) , 0 as internal timer
T2CON.0: Capture/Reload flag. When set, captures will occur on negative transitions at T2EX if EXEN2=1. When cleared,
auto reloads will occur either with timer2 overflow or negative transitions at T2EX when EXEN2=1. When either
RCLK=1 or TCLK=1, this bit is ignored and the timer is forced to auto-reload on timer2 overflow.
Note then the baudrates for transmit and receive can be simultaneously different. Setting RCLK and/or TCLK puts Timer2
into its baudrate generator mode.
The baudrate generator mode is similar to the auto reload mode, in that a rollover is TH2 causes the Timer2 registers to be
reload with the 16 bit value in registers RCAP2H and RCAP2L, which are preset by software given by the formula.
Baudrate= (Timer2 overflow rate)/16 =(Oscillator Frequency) / (32*(65536-(RCAP2H,RCAP2L)))
Serial Interface Timing Diagram
TM Technology, Inc. reserves the right
to change products or specifications without notice.
R ecei ve
R X D
R X D
TX D
TX D
A LE
Send
Shi ft
Shi ft
R I
CH
TE
S1. . . . . . . . . S6 S1. . . . . . . . . S6 S1. . . . . . . . . S6 S1. . . . . . . . . S6 S1. . . . . . . . . S6 S1. . . . . . . . . S6 S1. . . . . . . . . S6 S1. . . . . . . . . S6 S1. . . . . . . . . S6 S1. . . . . . . . . S6
W ri t e t o SB U F
W ri t e t o SC O N , C l ear R I
D 0
D 0
D 1
D 1
D 2
D 2
Seri al Port M ode 0
D 3
D 3
D 4
D 4
P. 11
D 5
D 5
D 6
D 6
D 7
D 7
Publication Date: SEP. 2004
T81L0003A
Revision: C

Related parts for t81l0003a