290
CHAPTER 12 MULTIFUNCTIONAL TIMERS
s PPG Clock Control Registers (PCS01, PCS23, PCS45)
Figure 12.3-18 PPG Clock Control Registers (PCS01, PCS23, PCS45)
Table 12.3-9 Functions of Bits for PPG Clock Control Register (PCS01, PCS23, PCS45)
Bit name
Function
bit7
bit6
bit5
PC12, PC11, PC10:
(corresponding to
ch1, ch3, and ch5)
Operating clock
setting bit
These bits are used to set the operating clock of the 8-bit down-counter
(PCNT).
Note:
In 8-bit prescaler + 8-bit PPG mode and 16-bit PPG mode, the PC12/
PC11/PC10 settings do not affect operation because PPG ch1 (ch3, ch5)
operates by receiving the operating clock from PPG ch0 (ch2, ch4).
bit4
bit3
bit2
PC02, PC01, PC00:
(corresponding to
ch0, ch2, and ch4)
Operating clock
setting bit
These bits are used to set the operating clock of the 8-bit down-counter
(PCNT).
bit1
bit0
-:
Undefined bit
If these bits are read, the values are undefined. Values set to these bits do
not affect operation.
PC02 PC01 PC00
PC12 PC11 PC10
R/W R/W
-
R/W
R/W R/W R/W
PC02
Address
Initial value
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
ch0,ch1:00003EH
000000XX B
PC01PC00
0
1
0
1
0
1
0
1
Operating clock setting bit (corresponding to ch0, ch2, and ch4)
ch2,ch3:000046H
ch4,ch5:00004EH
R/W : Read/write
X
: Undefined
-
: Undefined bit
: Initial value
: Machine clock frequency
( 62.5ns for the machine clock 16 MHz)
( 125 ns for the machine clock 16 MHz)
( 250 ns for the machine clock 16 MHz)
( 500 ns for the machine clock 16 MHz)
( 1 s
for the machine clock 16 MHz)
Input clock from the time-based timer
(128 s: for the oscillation clock 4 MHz)
PC12 PC11PC10
0
1
0
1
0
1
0
1
Operating clock setting bit (corresponding to ch1, ch3, and ch5)
( 62.5ns for the machine clock 16 MHz)
( 125 ns for the machine clock 16 MHz)
( 250 ns for the machine clock 16 MHz)
( 500 ns for the machine clock 16 MHz)
( 1 s
for the machine clock 16 MHz)
Input clock from the time-based timer
(128 s: for the oscillation clock 4 MHz)
24/
23/
22/
2 /
1 /
24/
23/
22/
2 /
1 /