■
Timer Operation Flow
Figure 25.5-4 shows the operation flow of the timer.
CHAPTER 25 PWC TIMER (ONLY MB90485 SERIES)
Figure 25.5-4 Operational flow of the timer
Count clock selection
Operation/measurement
mode selection
Interrupt flag clear
Interrupt enable
Restart
Start via the STRT bit
Reload operation
mode
Load the PWCR value
into the timer
Start count
Incrementing
Overflow occurs
→
OVIR flag set
Set value to PWCR
One-shot operation
Overflow occurs
→
Stop of counting
Operation stop
mode
Start count
Incrementing
OVIR flag set
539