Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| en:multiasm:piot:chapter_4_12 [2026/02/17 15:22] – updated pictures jtokarz | en:multiasm:piot:chapter_4_12 [2026/02/27 02:14] (current) – jtokarz |
|---|
| To enter any of the sleep modes, the Sleep Enable bit in the Sleep Mode Control Register (SMCR.SE) must be written to '1' and a SLEEP instruction must be executed. Sleep Mode Select bits (SMCR.SM[2:0]) select which sleep mode (Idle, Power-down, Power-save, Standby, or Extended Standby) will be activated by the SLEEP instruction. The sleep modes shown in Fig. {{ref>avr_sleepmodes}} are for the ATmega328PB. | To enter any of the sleep modes, the Sleep Enable bit in the Sleep Mode Control Register (SMCR.SE) must be written to '1' and a SLEEP instruction must be executed. Sleep Mode Select bits (SMCR.SM[2:0]) select which sleep mode (Idle, Power-down, Power-save, Standby, or Extended Standby) will be activated by the SLEEP instruction. The sleep modes shown in Fig. {{ref>avr_sleepmodes}} are for the ATmega328PB. |
| <figure avr_sleepmodes> | <figure avr_sleepmodes> |
| {{ :en:multiasm:piot:sleep_mode_register.png?400 |ATmega328PB MCU sleep modes}} | {{ :en:multiasm:piot:sleep_mode_register.png?600 |ATmega328PB MCU sleep modes}} |
| <caption>ATmega328PB MCU sleep modes</caption> | <caption>ATmega328PB MCU sleep modes</caption> |
| </figure> | </figure> |
| |
| <figure avr_prrdetails> | <figure avr_prrdetails> |
| {{ :en:multiasm:piot:extended_sleep_mode.png?400 |PRR application details}} | {{ :en:multiasm:piot:extended_sleep_mode.png?600 |PRR application details}} |
| <caption>PRR application details</caption> | <caption>PRR application details</caption> |
| </figure> | </figure> |