English
Language : 

HT45F3230 Datasheet, PDF (129/148 Pages) Holtek Semiconductor Inc – IR Sensing/Motor Driving Flash MCU
HT45F3230
IR Sensing/Motor Driving Flash MCU
The purpose of the Time Base Interrupt is to provide an interrupt signal at fixed time periods. Its
clock source, fTB, originates from the internal clock source fSYS/4 or fSUB which can be selected by the
TBCK bit in the TBC register. This fTB clock passes through a divider, the division ratio of which is
selected by programming the appropriate bits in the TBC register to obtain longer interrupt periods
whose value ranges.
TBC Register
Bit
7
6
5
4
3
Name TBON TBCK
TB11
TB10
—
R/W
R/W
R/W
R/W
R/W
—
POR
0
0
1
1
—
Bit 7
Bit 6
Bit 5~4
Bit 3
Bit 2~0
TBON: Time Base 0 and Time Base 1 Control
0: Disable
1: Enable
TBCK: Select fTB clock
0: fSUB
1: fSYS/4
TB11~TB10: Select Time Base 1 Time-out Period
00: 212/fTB
01: 213/fTB
10: 214/fTB
11: 215/fTB
Unimplemented, read as “0”
TB02~TB00: Select Time Base 0 Time-out Period
000: 28/fTB
001: 29/fTB
010: 210/fTB
011: 211/fTB
100: 212/fTB
101: 213/fTB
110: 214/fTB
111: 215/fTB
TB02~TB00
2
TB02
R/W
1
1
TB01
R/W
1
0
TB00
R/W
1
fSYS/4
LIRC
fSUB
M fTB
U
X
÷28 ~ 215
÷212 ~ 215
Time Base 0 Interrupt
Time Base 1 Interrupt
TBCK
TB11~TB10
Time Base Interrupts
Rev. 1.00
129
January 13, 2017