• Bit 4 – PMODE PSC Mode
Select the mode of PSC.
Table 14-10. PSC Mode Selection
PMODE
Description
0
1
One Ramp Mode (Edge Aligned)
Center Aligned Mode
• Bit 3 – POPB: PSC B Output Polarity
If this bit is cleared, the PSC outputs B are active Low.
If this bit is set, the PSC outputs B are active High.
• Bit 2 – POPA: PSC A Output Polarity
If this bit is cleared, the PSC outputs A are active Low.
If this bit is set, the PSC outputs A are active High.
• Bit 1:0 – not use
not use
14.16.8 PSC Control Register – PCTL
Bit
7
6
5
PCLKSEL
R/W
4
3
2
1
0
PPRE1
PPRE0
SWAP2
SWAP1
SWAP0
PCCYC
PRUN
PCTL
Read/Write
Initial Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
0
• Bit 7:6 – PPRE1:0 : PSC Prescaler Select
This two bits select the PSC input clock division factor. All generated waveform will be modified
by this factor.
Table 14-11. PSC Prescaler Selection
PPRE1
PPRE0
Description
0
0
1
1
0
1
0
1
No divider on PSC input clock
Divide the PSC input clock by 4
Divide the PSC input clock by 32
Divide the PSC clock by 256
• Bit 5 – PCLKSEL: PSC Input Clock Select
This bit is used to select between CLKPLL or CLKIO clocks.
Set this bit to select the fast clock input (CLKPLL).
Clear this bit to select the slow clock input (CLKIO).
154
ATmega16/32/64/M1/C1
7647F–AVR–04/09