
MB90330 Series
39
2.
Time-base timer
The time-base timer is an 18-bit free-run counter (time-base timer counter) that counts in synchronization with
the main clock (2 cycles of the oscillation clock HCLK). Four different time intervals can be selected, for each of
which an interrupt request can be generated. Operating clock signals are supplied to peripheral resources such
as the oscillation stabilization wait timer and watchdog timer.
Interval time of time-base timer
Internal count clock cycle
Notes :
HCLK : Oscillation clock frequency
The parenthesized values assume an oscillator clock frequency of 6 MHz.
Clock cycles supplied from time-base timer
Where to supply clock
Notes :
HCLK : Oscillation clock frequency
The parenthesized values assume an oscillator clock frequency of 6 MHz.
Register list
Interval time
2/HCLK (0.33
μ
s)
2
12
/HCLK (Approx. 0.68 ms)
2
14
/HCLK (Approx. 2.7 ms)
2
16
/HCLK (Approx. 10.9 ms)
2
19
/HCLK (Approx. 87.4 ms)
Clock cycle
Main clock oscillation
stabilization wait
2
13
/HCLK (Approx. 1.36 ms)
2
15
/HCLK (Approx. 5.46 ms)
2
17
/HCLK (Approx. 21.84 ms)
Watch dog timer
2
12
/HCLK (Approx. 0.68 ms)
2
14
/HCLK (Approx. 2.7 ms)
2
16
/HCLK (Approx. 10.9 ms)
2
19
/HCLK (Approx. 87.4 ms)
Time-base timer control register (TBTC)
Initial Value
1 - - 00100
B
Address : 0000A9
H
(
)
(
)
( R/W )
( R/W )
( W )
( R/W )
( R/W )
15
14
13
12
11
10
9
8
( R/W )
RESV
TBIE
TBOF
TBR
TBC1
TBC0