AT90PWM2/3/2B/3B
Table 8-2.
Active Clock Domains and Wake-up Sources in the Different Sleep Modes.
Active Clock Domains
Oscillator
s
Wake-up Sources
Sleep
Mode
Idle
XXX
X
X
X
X
XXX
ADC
Noise
Reduction
XX
X
X(2)
X
X
XX
Power-
down
X(2)
X
X
Standby(1)
X
X(2)
X
Notes: 1. Only recommended with external crystal or resonator selected as clock source.
2. Only level interrupt.
8.6 Power Reduction Register
The Power Reduction Register, PRR, provides a method to stop the clock to individual peripher-
als to reduce power consumption. The current state of the peripheral is frozen and the I/O
registers can not be read or written. Resources used by the peripheral when stopping the clock
will remain occupied, hence the peripheral should in most cases be disabled before stopping the
clock. Waking up a module, which is done by clearing the bit in PRR, puts the module in the
same state as before shutdown.
A full predictible behaviour of a peripheral is not guaranteed during and after a cycle of stopping
and starting of its clock. So its recommended to stop a peripheral before stopping its clock with
PRR register.
Module shutdown can be used in Idle mode and Active mode to significantly reduce the overall
power consumption. In all other sleep modes, the clock is already stopped.
8.6.1
Power Reduction Register - PRR
Bit
Read/Write
Initial Value
7
PRPSC2
R/W
0
6
PRPSC1(
Note:)
R/W
0
5
PRPSC0
R/W
0
4
PRTIM1
R/W
0
3
PRTIM0
R/W
0
2
PRSPI
R/W
0
1
PRUSART
R/W
0
0
PRADC
R/W
0
PRR
Note: PRPSC1 is not used on AT90PWM2/2B
• Bit 7 - PRPSC2: Power Reduction PSC2
Writing a logic one to this bit reduces the consumption of the PSC2 by stopping the clock to this
module. When waking up the PSC2 again, the PSC2 should be re initialized to ensure proper
operation.
43
4317K–AVR–03/2013