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/01/19 14:06] – marcin | en:multiasm:piot:chapter_4_12 [2026/01/19 15:16] (current) – marcin | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| - | ^ SM2, SM1, SM0 ^ Sleep Mode | + | ^ SM2, SM1, SM0 ^ Sleep Mode ^ |
| - | | 000 | + | | 000 | Idle | |
| - | | 001 | + | | 001 | | |
| - | | 010 | + | | 010 | Power-down |
| - | | 011 | + | | 011 | Power-save |
| - | | 100 | + | | 100 | Reserved |
| - | | 101 | + | | 101 | Reserved |
| - | | 110 | + | | 110 | Standby |
| - | | 111 | + | | 111 | Extended Standby |
| **Idle Mode** | **Idle Mode** | ||
| Line 69: | Line 69: | ||
| <figure avr_prrdetails> | <figure avr_prrdetails> | ||
| - | {{: | + | {{: |
| < | < | ||
| </ | </ | ||
| - | The PRR provides a runtime method to stop the clock to select individual peripherals. The peripheral is currently frozen, and the I/O registers cannot be read or written. Resources used by the peripheral when stopping the clock will remain committed. 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 | + | The PRR provides a runtime method to stop the clock to select individual peripherals. The peripheral is currently frozen, and the I/O registers cannot be read or written. Resources used by the peripheral when stopping the clock will remain committed. Hence, the peripheral should, in most cases, be disabled before stopping the clock. Waking up a module by clearing the bit in PRR puts it back into the state it was in before shutdown. |
| The PRR clock shutdown can be used in Idle and Active modes to significantly reduce overall power consumption. In all other sleep modes, the clock is already stopped. | The PRR clock shutdown can be used in Idle and Active modes to significantly reduce overall power consumption. In all other sleep modes, the clock is already stopped. | ||