SLEEP

Sleep

The power-down status bit, PD, is cleared. Time-out status bit, TO, is set. Watchdog Timer and its prescaler are cleared. The processor is put into Sleep mode with the oscillator stopped.

[the_ad id=”3059″]

Syntax:

[ label ] SLEEP

Operation:

00h → WDT,
0 → WDT prescaler,
1 → TO,
0 → PD

Operands:

  • None

Status Affected: TO, PD

Example:

[the_ad id=”3059″]