Fujitsu MB90460 Series Hardware Manual page 479

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 16 PWC Timer
■ Flowchart of Pulse-width Measurement Operation
Figure 16.6-6 Flowchart of Pulse-width Measurement Mode Operation
Overflow occurs
Set OVIR flag
460
Setting
Restart
Continuous measurement mode
Detect count start page
Clear timer
Start count
Addition
Detect count end edge
Set EDIR flag
Discontinue count*
Transfer timer value to PWC
*: Except continuous measurement mode of H/L pulse-width measurement
-Select count clock
-Select operation mode and timer mode
-Clear interrupt flag
-Enable interrupt
Start by STRT bit
Single operation mode
Overflow occurs
Set OVIR flag
Detect count start page
Clear timer
Start count
Addition
Detect count end edge
Set EDIR flag
Discontinue count*
Discontinue operation

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents