3.2.1 Sleep Mode - C Code
The following code snippet is added to enable Sleep mode for the
device.
sleep_enable();
while(1)
{ //Enter Sleep mode
sleep_mode();
}
The
functions sleep_enable() & sleep_mode()
are predefined
directives, defined in sleep.h
.