IDLE
From MCS Wiki AVR
Contents |
Action
Put the processor into the idle mode.
Syntax
IDLE
Remarks
In the idle mode, the system clock is removed from the CPU but not from the interrupt logic, the serial port or the timers/counters.
The idle mode is terminated either when an interrupt is received(from the watchdog, timers, external level triggered or ADC) or upon system reset through the RESET pin.
Most new chips have many options for Power down/Idle. It is advised to consult the data sheet to see if a better mode is available.
You should use the new CONFIG POWERMODE statement.
See also
POWERDOWN , POWERSAVE , POWER mode
Example
IDLE
Languages | English • Deutsch |
---|