45#include "sys/int-master.h"
46#include "sys/critical.h"
62 ENERGEST_SWITCH(ENERGEST_TYPE_CPU, ENERGEST_TYPE_LPM);
64 ENERGEST_SWITCH(ENERGEST_TYPE_LPM, ENERGEST_TYPE_CPU);
Header file for the energy estimation mechanism.
static void critical_exit(int_master_status_t status)
Exit a critical section and restore the master interrupt.
static int_master_status_t critical_enter()
Enter a critical section.
INT_MASTER_STATUS_DATATYPE int_master_status_t
Master interrupt state representation data type.
static void lpm_drop(void)
Stop and wait for an event.
int process_nevents(void)
Number of events waiting to be processed.
Header file for the Contiki process interface.