8-bit AVR Microcontroller

MCUCR – MCU Control Register

The MCU Control Register contains control bits for power management.

When using the I/O specific commands IN and OUT, the I/O addresses 0x00 - 0x3F must be used. When addressing I/O Registers as data space using LD and ST instructions, 0x20 must be added to these offset addresses.

Name:
MCUCR
Offset:
0x35
Reset:
0x00
Access:
When addressing I/O Registers as data space the offset address is 0x55
Bit76543210
SESMn[2:0]
AccessR/WR/WR/WR/W
Reset0000

Bit 5 – SE: Sleep Enable

Sleep Enable

The SE bit must be written to logic one to make the MCU enter the sleep mode when the SLEEP instruction is executed. To avoid the MCU entering the sleep mode unless it is the programmer’s purpose, it is recommended to set the Sleep Enable (SE) bit just before the execution of the SLEEP instruction.

Bits 4:2 – SMn: Sleep Mode n Select Bits [n=2:0]

Sleep Mode n Select Bits [n=2:0]

These bits select between the five available sleep modes as shown in the table.

SM2 SM1 SM0 Sleep Mode
0 0 0 Idle
0 0 1 ADC Noise Reduction
0 1 0 Power-down
0 1 1 Power-save
1 0 0 Reserved
1 0 1 Reserved
1 1 0 Standby(1)
Note: 1. Standby mode is only available with external crystals or resonators.