XBee Firmware Library  1.6.0
Typedefs | Enumerations | Functions
pm.h File Reference

Typedefs

typedef enum pm_mode pm_mode_t
 

Enumerations

enum  pm_mode {
  PM_MODE_RUN = 0, PM_MODE_WAIT, PM_MODE_STOP, PM_MODE_STOP_2,
  PM_MODE_STOP_3, PM_MODE_UNKNOWN
}
 

Functions

pm_mode_t pm_get_cpu_mode (void)
 Function that returns the CPU operational mode. More...
 
pm_mode_t pm_get_radio_mode (void)
 Function that returns the radio operational mode. We consider radio operative when On/Sleep pin is high and CTS# is low. More...
 
uint8_t pm_get_wakeup_source (void)
 Function that returns which was the last wake up source for the CPU. More...
 
int pm_set_cpu_mode (pm_mode_t mode, uint32_t sleep_seconds)
 Function that configures the CPU operation mode to mode. More...
 
void pm_set_radio_mode (pm_mode_t mode)
 Function that configures the radio operation mode to mode. More...
 

Typedef Documentation

typedef enum pm_mode pm_mode_t

Enumeration Type Documentation

enum pm_mode
Enumerator
PM_MODE_RUN 
PM_MODE_WAIT 
PM_MODE_STOP 
PM_MODE_STOP_2 
PM_MODE_STOP_3 
PM_MODE_UNKNOWN