58 ENERGEST_SWITCH(ENERGEST_TYPE_CPU, ENERGEST_TYPE_LPM);
60 ENERGEST_SWITCH(ENERGEST_TYPE_LPM, ENERGEST_TYPE_CPU);
Header file for the energy estimation mechanism.
void lpm_drop()
Drop the cortex to sleep / deep sleep and shut down peripherals.
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.
uint32_t int_master_status_t
Master interrupt state representation data type.
int process_nevents(void)
Number of events waiting to be processed.
Header file for the Contiki process interface.