■ Flowchart of Timer Mode Operation
Reload PWC value to timer
Figure 16.6-5 Flowchart of Timer Mode Operation
-Select count clock
-Select operation mode and timer mode
Setting
-Clear interrupt flag
-Enable interrupt
-Set pulse output initial value
Restart
Reload operation mode
Start count
Addition
Overflow occurs
Set OVIR flag
Reverse POUT
bit value
Set value in PWC
Start by STRT bit
Single operation mode
Overflow occurs
Reverse POUT
bit value
Discontinue count
Discontinue operation
CHAPTER 16 PWC Timer
Start count
Addition
Set OVIR flag
455