|
Miscellaneous instructions
NOP Do nothing
SLEEP Sleep
WDR Watchdog reset
SLEEP: Goto sleep
Syntax: SLEEP
Operation: Enter low power mode
Flags: None
This operation shuts down the main oscillator and puts the device into low power sleep mode. The device will resume on an interrupt condition.
Note: When the device resumes, the instruction after sleep wil be executed before the interrupt handler.
Example:
SLEEP
WDR: Watchdof reset
Syntax: WDR
Operation: Watchdog timer = 0
Flags: None
This operation clears the watchdog timer, preventing reset due to timeout. This should be executed periodically to show that the code is functioning.
Example:
WDR
|
|
|