English
Language : 

NT6862 Datasheet, PDF (33/57 Pages) List of Unclassifed Manufacturers – 8-Bit Microcontroller for Monitor
NT6862-5xxxx
14. Base Timer (BT)
The BASE TIMER is an 8-bit counter, and its clock source
can be chosen with 1µs or 1ms by setting the BTCLK bit ('0'
for 1µs and '1' for 1ms). The BT can be enabled or disabled
by the ENBT bit in the BTCON register. The BT will start
counting while clearing the ENBT bit to ‘0’. After the chip is
reset, the BTCLK and ENBT bits are set to '1' (the BT is
disabled). Before enabling the BT, it can be preloaded with
a value by writing a value to the BT register (write only) at
any time and then the BT will start to count up from this
preloaded value. When the BT’s value reaches FFH, it will
generate a timer interrupt if the timer interrupt is enabled,
and then the counter will wrap around to 00H. The timer’s
maxium interval is 256ms or 256µs depending on the
BTCLK value.
1us
0
1ms
1
BTCLK
BT7 BT6 BT5 BT4 BT3 BT2 BT1 BT0
INTMR INT
Control Bit Description:
Addr. Register
INIT
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
R/W
$002E
BT
00H
BT7
BT6
BT5
BT4
BT3
BT2
BT1
BT0
W
$002F BT CON
03H
-
-
-
-
-
-
BTCLK
ENBT
W
33