English
Language : 

SM5964A Datasheet, PDF (25/30 Pages) SyncMOS Technologies,Inc – 8-Bit Micro-controller With 64KB ISP Flash & TWSI & PWM & 1KB RAM embedded
SyncMOS Technologies International, Inc.
SM5964A
ETWSI: When set to ‘1’, enable the TWSI interrupt.
8-Bit Micro-controller
With 64KB ISP Flash & TWSI & PWM & 1KB RAM embedded
IFR ($AAH)
Bit7
Bit6
Bit5
Bit4
Bit3
TWSIIF: When set to ‘1’, enable the TWSI interrupt flag.
Bit2
Bit1
Bit0
TWSIIF
TCON ($88H)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
TF1
TR1
TF0
TR0
IE1
IT1
IE0
IT0
TF1: Timer 1 overflow flag.
TR1: Timer 1 run control bit.
TF0: Timer 0 overflow flag.
TR0: Timer 0 run control bit.
IE1: External Interrupt 1 edge flag.
IT1: Interrupt 1 type control bit.
IE0: External Interrupt 0 edge flag.
IT0: Interrupt 0 type control bit.
TMOD ($89H)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
GATE
C/T
M1
M0
GATE
C/T
M1
M0
Note: High 4 bits are Timer1, Low 4 bits are Timer0.
GATE:
C/T:
Gating control when set. Timer/Counter “x” is enabled only while “INTx” pin is high and “TRx” control
pin is set. when cleared Timer “x” is enabled whenever “TRx” control bit is set.
Timer or Counter Selector cleared for Timer operation (input from in=ternal system clock.) Set for Counter
operation (input from “Tx” input pin).
M1 M0 Mode OPERATING
0 0 0 13-bit Timer Mode.
8-bit Timer/Counter THz with TLx as 5-bit prescaler.
0 1 1 16-bit Timer Mode.
16-bit Timer/Counters THx and TLx are cascaded; there is no prescaler.
1 0 2 8-bit Auto Reload.
8-bit auto-reload Timer/Counter THx holds a value which is to be reloaded into TLx each time
it overflows.
1 1 3 Split Timer Mode
(Timer 0) TL0 is an 8-bit Timer/Counter controlled by the standard Timer 0 control bits. TH0
is an 8-bit timer only controlled by Timer 1 control bits.
(Timer 1) Timer/Counter 1 stopped.
IP ($B8H)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
PT2
PS0
PT1
PX1
PT0
PX0
PT2: Timer2 interrupt priority.
PS0: UART interrupts priority.
PT1: Timer1 interrupt priority.
PX1: external interrupt 1 priority.
PT0: Timer0 interrupt priority.
Specifications subject to change without notice contact your sales representatives for the most recent information.
25
Ver 2.3 SM5964A 10/2006