Contiki 3.x
Functions
llwu.c File Reference
#include "K60.h"
#include "power-modes.h"
#include "llwu.h"
#include "lib/list.h"
#include <stddef.h>

Go to the source code of this file.

Functions

void llwu_register (llwu_control_t *c)
 Register as a controller for llwu. More...
 
void llwu_set_allow (llwu_control_t *c, char allow)
 Method for a controller to allow or disallow deep sleep. More...
 
void llwu_sleep (void)
 Sleep until some process is polled, ie interrupt occurs.
 

Detailed Description

Author

Definition in file llwu.c.

Function Documentation

void llwu_register ( llwu_control_t *  c)

Register as a controller for llwu.

Parameters
cController struct.

Definition at line 47 of file llwu.c.

References list_add().

Referenced by main().

void llwu_set_allow ( llwu_control_t *  c,
char  allow 
)

Method for a controller to allow or disallow deep sleep.

Parameters
cControl struct
allow0 to disable deep sleep, other than 0 to allow.

Definition at line 54 of file llwu.c.

Referenced by main().