This is a low-level driver implementation for the MEGA RF sleep controller.
- Note
- To minimize the code overhead, these functions do not feature interrupt-protected access since they are likely to be called inside interrupt handlers or in applications where such protection is not necessary. If such protection is needed, it must be ensured by the calling code.
static void sleep_disable |
( |
void |
| ) |
|
|
inlinestatic |
static void sleep_enable |
( |
void |
| ) |
|
|
inlinestatic |
Set new sleep mode.
- Parameters
-
mode | Sleep mode, from the device IO header file. |
Referenced by sleepmgr_sleep(), and sm_init().