Figure 18.4G Flowchart Of Operation In Pulse Width Count Mode - Fujitsu F2MC-16LX MB90580 Series Hardware Manual

16-bit microcontrollers
Hide thumbs Also See for F2MC-16LX MB90580 Series:
Table of Contents

Advertisement

18.4 Operations
(i) Flowchart of the Pulse Width Count Operation
Continuous count mode
Count start edge detected
Overflow occurs
⇒ Set OVIR flag
Count end edge detected
⇒ Set EDIR flag
Transfer timer value to PWCR

Figure 18.4g Flowchart of Operation in Pulse Width Count Mode

(9) Initial State
• The initial values of each register are:
PWCSR ⇒
PWCR
DIVR
264
Chapter 18: Pulse Width Counter (PWC) Timer
Count clock selection
Operation and count mode selection
Clear interrupt flag
Settings
Enable interrupt
Set pulse output initial value
Restart
Clear timer
Start count
Up-count
Stop count
(00000000 00000000)
(00000000 00000000)
(XXXXXX00)
B
Start by STRT bit
Single-shot count mode
Count start edge detected
Overflow occurs
⇒ Set OVIR flag
Count end edge detected
⇒ Set EDIR flag
Operation stops
B
B
Clear timer
Start count
Up-count
Stop count
MB90580 Series

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx mb90v580F2mc-16lx mb90583F2mc-16lx mb90f583

Table of Contents