CHAPTER 8 TIMER/COUNTER FUNCTION
User’s Manual U15109EJ3V0UD
275
Figure 8-6. Configuration of PPG Output
f
xx
/2
TIn0
TOn
16-bit capture/compare
register n1 (CRn1)
16-bit capture/compare
register n0 (CRn0)
Count clock
Note
Selector
Noise
eliminator
16-bit timer register n (TMn)
Clear
circuit
Output controller
Note
The count clock is set by the PRMn0 and PRMn1 registers.
Remarks 1.
“
”
indicates a signal that can be directly connected to ports.
2.
n = 0, 1, 7 to 12
Figure 8-7. PPG Output Operation Timing
t
0000H
0000H 0001H
0001H
M-1
TOn
N
M
M
N-1
N
Count clock
TMn count value
Value loaded to CRn0
Value loaded to CRn1
Clear
Count starts
Pulse width: M
×
t
1 cycle: N
×
t
Remarks 1.
0000H < M < N
≤
FFFFH
2.
n = 0, 1, 7 to 12