9.2
Configuration of 12-bit PPG Timer Circuit
The 12-bit PPG timer comprises the following seven blocks:
• Count clock selector
• 12-bit counter
• Comparator
• 12-bit PPG control register 1 (RCR21)
• 12-bit PPG control register 2 (RCR22)
• 12-bit PPG control register 3 (RCR23)
• 12-bit PPG control register 4 (RCR24)
■
Block Diagram of 12-bit PPG Timer
RCK1
RCK0 HSC5 HSC4
Count
clock
selector
2
4
16
256
1t
INST
RCEN
t
: Instruction cycle
INST
Figure 9.2-1 Block Diagram of 12-bit PPG Timer
Internal data bus
HSC3 HSC2 HSC1
12
12-bit counter
Comparator
CLK
Clear
12
SCL5
SCL4
SCL3 SCL2
Internal data bus
HSC0
RCR21
HSC11 HSC10 HSC9
Compare value for "H" width
Compare value for cycle period
SCL11 SCL10 SCL9 SCL8
RCR23
SCL1 SCL0
CHAPTER 9 12-BIT PPG TIMER
HSC8 HSC7 HSC6
RCR22
P37/BZ/PPG pin
RCR24
SCL7
SCL6
209