CHAPTER 14 PWC TIMER
I Timer Operation Flow
Figure 14.3-4 "Operational flow of the timer" shows the operation flow of the timer.
294
Figure 14.3-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 counter
Incrementing
Overflow occurs
→
OVIR flag set
Set a PWCR value
Reload operation
Overflow occurs
→
Stop of counting
Operation stop
mode
Start counter
Incrementing
OVIR flag set