Precautions When Using Timebase Timer - Fujitsu F2MC-8FX Hardware Manual

F2mc-8fx 8-bit microcontroller
Hide thumbs Also See for F2MC-8FX:
Table of Contents

Advertisement

10.6

Precautions when Using Timebase Timer

Care must be taken for the following points when using the timebase timer.
Precautions when Using Timebase Timer
When setting the timer by program
The timer cannot be recovered from interrupt processing, when the timebase timer interrupt request flag bit
(TBTC:TBIF) is set to "1" and the interrupt request enable bit is enabled (TBTC:TBIE = 1). Always clear
TBIF bit in the interrupt processing routine.
Clearing Timebase Timer
The timebase timer is cleared not only by the timebase timer initialization bit (TBTC:TCLR = 1) but also
when the oscillation stabilization wait time is required for the main clock. When the timebase timer is
selected for the count clock of the watchdog timer (WDTC:CSI, 0 = 00 or CSI, = 01), clearing the timebase
timer also clears the watchdog timer.
Peripheral functions receiving clock from timebase timer
In the mode where the source oscillation of the main clock is stopped, the counter is cleared and the
timebase timer stops operation. In addition, if the timebase timer is cleared when the output of the timebase
timer is used in other peripheral functions, this will affect the operation such as cycle change.
The clock for the watchdog timer is also outputted from the initial state. However, as the watchdog timer
counter is cleared at the same time, the watchdog timer operates in the normal cycles.
CHAPTER 10 TIMEBASE TIMER
169

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents