sh6614 SinoWealth Micro-Electronics Corp. Ltd, sh6614 Datasheet - Page 19

no-image

sh6614

Manufacturer Part Number
sh6614
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.Therefore, the 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 the program for accurate timing.
This clock-input source is selected 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
BTM.3
Bit3
/8
4096/32K
BTM.0
0
1
0
1
BTM.2
Bit2
/1
/4
4Bit Scaler
MPX
/8
BTM.1
Bit1
/16
Prescaler Ratio
BTM.3 = 1: Enable the base timer
BTM.2 = 1: reset the base timer
/16
/1
/4
/8
19
BTM.0
Bit0
8 Bit base timer counter
Base timer mode register
reset
4096Hz or 32KHz
4096Hz or 32KHz
4096Hz or 32KHz
4096Hz or 32KHz
Clock source
Function
SH6614/B/C

Related parts for sh6614