PIC17CXX Instruction Set


SLEEP


Syntax : SLEEP

Description : 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.

Function   :  00h → WDT,   0 → WDT postscaler,
              1 → TO,   0 → PD


Hex code : 0003

Bit field:
0000 0000 0000 0011

Words : 1

Cycles : 1

Affected flags : TO, PD

See also : ---
Previous    Upper level    Next