Fujitsu F2MC-8FX Hardware Manual page 182

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

Advertisement

CHAPTER 10 TIMEBASE TIMER
Setup Procedure Example
Initial Setting
The timebase timer is set up in the following procedure:
1) Disable interrupts.
2) Set the interval time.
3) Enable interrupts.
4) Clear the counter.
Processing interrupts
1) Clear the interrupt request flag.
2) Clear the counter.
168
(TBTC:TBIE = 0)
(TBTC:TBC1, 0)
(TBTC:TBIE = 1)
(TBTC:TCLR = 1)
(TBTC:TBIF = 0)
(TBTC:TCLR = 1)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents