English
Language : 

SM39R08A3 Datasheet, PDF (29/88 Pages) SyncMOS Technologies,Inc – One serial peripheral interfaces in full duplex mode
SM39R08A3
8-Bit Micro-controller
with 8KB+1KB ISP Flash
& 512B RAM embedded
M1 M0 Mode
Function
0
0 Mode0 13-bit counter/timer, with 5 lower bits in TL0 or TL1
register and 8 bits in TH0 or TH1 register (for Timer 0
and Timer 1, respectively). The 3 high order bits of TL0
and TL1 are hold at zero.
0
1 Mode1 16-bit counter/timer.
1
0 Mode2 8 -bit auto-reload counter/timer. The reload value is kept
in TH0 or TH1, while TL0 or TL1 is incremented every
machine cycle. When TLx overflows, a value from THx
is copied to TLx.
1
1 Mode3 If Timer 1 M1 and M0 bits are set to 1, Timer 1 stops. If
Timer 0 M1 and M0 bits are set to 1, Timer 0 acts as
two independent 8 bit timers / counters.
6.2 Timer/counter control register (TCON)
Mnemonic: TCON
Address: 88h
7
6
5
4
3
2
1
0 Reset
TF1
TR1
TF0
TR0
IE1
IT1
IE0
IT0 00h
TF1: Timer 1 overflow flag set by hardware when Timer 1 overflows. This flag can
be cleared by software and is automatically cleared when interrupt is
processed.
TR1: Timer 1 Run control bit. If cleared, Timer 1 stops.
TF0: Timer 0 overflow flag set by hardware when Timer 0 overflows. This flag can
be cleared by software and is automatically cleared when interrupt is
processed.
TR0: Timer 0 Run control bit. If cleared, Timer 0 stops.
IE1: Interrupt 1 edge flag. Set by hardware, when falling edge on external pin
INT1 is observed. Cleared when interrupt is processed.
IT1: Interrupt 1 type control bit. Selects falling edge or low level on input pin to
cause interrupt. IT1=1, interrupt 1 select falling edge trigger. IT1=0, interrupt1
select low level trigger.
IE0: Interrupt 0 edge flag. Set by hardware, when falling edge on external pin
INT0 is observed. Cleared when interrupt is processed.
IT0: Interrupt 0 type control bit. Selects falling edge or low level on input pin to
cause interrupt. IT0=1, interrupt 0 select falling edge trigger. IT0=0, interrupt
0 select low level trigger.
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M063
Ver F SM39R08A3 06/30/2015
- 29 -