12.07.2015 Views

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>ATmega32A</strong>9.9 Register Description9.9.1 MCUCR – MCU Control RegisterThe MCU Control Register contains control bits for power management.Bit 7 6 5 4 3 2 1 0SE SM2 SM1 SM0 ISC11 ISC10 ISC01 ISC00 MCUCRRead/Write R/W R/W R/W R/W R/W R/W R/W R/WInitial Value 0 0 0 0 0 0 0 0• Bit 7 – SE: Sleep EnableThe SE bit must be written to logic one to make the MCU enter the sleep mode when the SLEEPinstruction is executed. To avoid the MCU entering the sleep mode unless it is the programmerspurpose, it is recommended to write the Sleep Enable (SE) bit to one just before the execution ofthe SLEEP instruction and to clear it immediately after waking up.• Bits 6:4 – SM2:0: Sleep Mode Select Bits 2, 1, and 0These bits select between the six available sleep modes as shown in Table 9-2.Table 9-2.Sleep Mode SelectSM2 SM1 SM0 Sleep Mode0 0 0 Idle0 0 1 ADC Noise Reduction0 1 0 Power-down0 1 1 Power-save1 0 0 Reserved1 0 1 Reserved1 1 0 Standby (1)1 1 1 Extended Standby (1)Note: 1. Standby mode and Extended Standby mode are only available with external crystals orresonators.8155C–AVR–02/1137

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!