Operations Of Timebase Timer - Fujitsu F2MC-16LX Hardware Manual

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

9.5

Operations of Timebase Timer

The timebase timer has functions of interval timer and clock supply to peripheral
functions.
Operation of Interval Timer Function (Timebase Timer)
Interval timer function generates interrupt requests at regular intervals. In order to function as an interval
timer, setup in Figure 9.5-1 is needed.
Address
0000A9
: Used bit
: Unused bit
0
: Set to "0".
: Set to "1".
1
• The timebase timer counter continues count-up synchronizing to the internal count clock (two division
of oscillation clock) as long as the clock oscillate.
• Count-up from "0" is made when the counter is cleared; the interrupt request flag bit (TBOF) is set to
"1" when the bit for the interval timer overflows. In this case, interrupts are generated at selected
intervals based on the cleared if the interrupt request output is permitted (TBIE = 1).
• The interval time may be longer than the set period by the clearance operation of the timebase timer.
Oscillation Stabilization Wait Time Function
The timebase timer can also be used for the oscillation clock or timer for PLL clock oscillation stabilization
wait time. The oscillation stabilization wait time is the duration elapsed by counting up from "0" (count
clear) to the moment at which the bit for oscillation stabilization wait time overflows. When the mode
recovers from the timebase timer mode to the PLL clock mode or main clock mode, the oscillation
stabilization wait time is the duration from the middle of counting because the timebase timer counter has
not cleared. Table 9.5-1 shows the clearance operation of the timebase timer counter and oscillation stabilization
wait time.
Figure 9.5-1 Setting of Timebase Timer
bit15
bit14
bit13
TBTC
Reserved
H
1
bit12
bit11
bit10
bit9
bit8
TBIE
TBOF TBR
TBC1 TBC0
0
0
CHAPTER 9 TIMEBASE TIMER
bit7
bit0
(WDTC)
213

Advertisement

Table of Contents
loading

Table of Contents