|
ATmega2560
Hardware definitions
|
Purpose: Sleep modes and peripheral power gates.
Namespace: atmega2560::power.
The six sleep modes are Idle, ADC Noise Reduction, Power-down, Power-save, Standby and Extended Standby. Their SM2:0 encodings are 000, 001, 010, 011, 110 and 111, respectively.
These are hardware definitions, not runtime register access or initialization.
Source: ATmega2560 datasheet (DS40002211A), Section 11.