beautypg.com

2 interval interrupt – FUJITSU MB91460 SERIES FR60 User Manual

Page 309

background image

293

Chapter 22 Main Oscillation Stabilisation Timer

5.Operation

5.2 Interval Interrupt

(1)

Selects the interval time (WS[1:0]). (In this example, 2

17

/F

CL-MAIC

is selected.)

(2)

Clears the timer (WCL=“0”), clears flags (WIF=“0”), enables interrupt request (WIE=“1”), enables timer count
(WEN=“1”) by the software.

(3)

The timer counts up using the main clock (source oscillation).

(4)

Generates interval interrupt at the selected interval time (Falling of the dividing 2

17

).

(5)

Processing caused by an interrupt (Software): Clears interrupt request (WIF=“0”).

(6)

Repeats Items (3) to (5)