sh6613 SinoWealth Micro-Electronics Corp. Ltd, sh6613 Datasheet - Page 16

no-image

sh6613

Manufacturer Part Number
sh6613
Description
4k 4-bit Microcontroller With Lcd Driver
Manufacturer
SinoWealth Micro-Electronics Corp. Ltd
Datasheet
10. Base Timer
The MCU has a base timer that is shared with the warm-up timer and the clock source is OSC (Low frequency oscillation: X'tal
32.768KHz or RC 262KHz). After MCU is reset, it counts at every clock-input signal. When it counts to $FF, right after next clock
input, counter counts to $00 and generates an overflow This causes the interrupt of base timer interrupt request flag to
1.Therefor, base timer can function as an interval timer periodically, generating overflow output as every 256th clock signal
output.
The timer accepts 4096Hz or 32KHz clock, and base timer generates an accurate timing interrupt. This base time prescaler can
be reset by a program for accurate timing.
This clock-input source is sleeted by BTM register.
BTM.3=0: Disable the base timer
BTM.2=0: Non reset the base timer
Address
$03
BTM.1
0
0
1
1
262k
32k
or
/8
BTM.3
Bit3
4096/32K
BTM.0
0
1
0
1
/1
BTM.2
Bit2
/4
4Bit Scaler
BTM.3=1: Enable the base timer
BTM.2=1: reset the base timer
MPX
/8
/16
BTM.1
Bit1
Prescaler Ratio
16/33
/16
/1
/4
/8
BTM.0
Bit0
8 Bit base timer counter
Function
Base timer mode register
reset
Clock source
4096Hz or 32KHz
4096Hz or 32KHz
4096Hz or 32KHz
4096Hz or 32KHz
SH6613/B/C
V1.2

Related parts for sh6613