MB95630H Series
MN702-00009-2v0-E
FUJITSU SEMICONDUCTOR LIMITED
93
CHAPTER 7 TIME-BASE TIMER
7.4 Operations and Setting Procedure
Example
■
Operation Examples of Time-base Timer
Figure 7.4-2 shows examples of operations under the following conditions:
1. A power-on reset is generated.
2. The device transits to the sleep mode during the operation of the interval timer function in
main clock mode, main CR clock mode or main CR PLL clock mode.
3. The device transits to the stop mode in main clock mode, main CR clock mode or main CR
PLL clock mode.
4. A request is generated to clear the counter.
If the device transits to the time-base timer mode, the same operations are executed as those
executed when the device transits to the sleep mode.
In stop mode in which the clock mode is subclock mode, sub-CR clock mode, main clock
mode, main CR clock mode or main CR PLL clock mode, the timer operation stops because it
is cleared and the main clock stops.
Figure 7.4-2 Operations of Time-base Timer
TBIF bit
TBIE bit
2) SLP bit
(STBC register)
3) STP bit
(STBC register)
Counter value
(count down)
0x000000
Oscillation
stabilization
wait time
1) Power-on reset
Interval cycle
0xFFFFFF
Sleep
Stop
Stop mode released by external interrupt
• When setting the interval time select bits in time-base timer control register (TBTC:TBC[3:0]) to "0b0011" (2
16
×
2/F
CH
)
• TBTC:TBC[3:0]
• TBTC:TCLR
• TBTC:TBIF
• TBTC:TBIE
• STBC:SLP
• STBC:STP
Oscillation
stabilization wait time
Count value detected in
TBTC:TBC[3:0]
: Time-base timer initialization bit in time-base timer control register
: Time-base timer interrupt request flag bit in time-base timer control register
: Time-base timer interrupt request enable bit in time-base timer control register
: Sleep bit in standby control register
: Stop bit in standby control register
: Interval time select bits in time-base timer control register
Cleared by
transition
to stop mode
(TBTC:TBC[3:0] = 0b0011)
4) Counter cleared
(TBTC:TCLR = 1)
Cleared in interrupt
service routine
Sleep mode released by
time-base timer interrupt
Cleared at
interval setting
Содержание 8FX
Страница 2: ......
Страница 4: ......
Страница 8: ...iv ...
Страница 17: ...xiii A 3 Bit Manipulation Instructions SETB CLRB 621 A 4 F2 MC 8FX Instructions 622 A 5 Instruction Map 625 ...
Страница 18: ...xiv ...
Страница 22: ...xviii ...
Страница 108: ...MB95630H Series 86 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 2v0 E CHAPTER 6 I O PORT 6 2 Configuration and Operations ...
Страница 284: ...MB95630H Series 262 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 2v0 E CHAPTER 14 LIN UART 14 8 Notes on Using LIN UART ...
Страница 648: ...MB95630H Series 626 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 2v0 E APPENDIX A Instruction Overview A 5 Instruction Map ...
Страница 650: ......