IRPyro API  (sKEMLIB1)
Collection of routines and data structures covering the functionality of the IRPyro sensor

Power management functions. More...

Collaboration diagram for Power management functions:

Functions

static uint8_t IRPyro_power_mode_low_set (IRPyro_sensor_device_type *this_device)
 activates the low power mode settings stored on the IRPyro structure More...
 
static uint8_t IRPyro_power_mode_normal_set (IRPyro_sensor_device_type *this_device)
 activates the normal power mode settings stored on the IRPyro structure More...
 
static uint8_t IRPyro_power_mode_sleep_set (IRPyro_sensor_device_type *this_device)
 The device will automatically enter either low power or normal power sleep mode depending in the power state the device is in when it is put to sleep. The WUP register contains the settings for either sleep mode. More...
 
static uint8_t IRPyro_power_mode_wakeup_set (IRPyro_sensor_device_type *this_device)
 The device will automatically enter either low power or normal power sleep mode depending in the power state the device is in when it is put to sleep. The WUP register contains the settings for either sleep mode. More...
 

Detailed Description

Power management functions.

 ===============================================================================
           ##### Power management functions #####
 ===============================================================================
    [..] This section provides a set of functions allowing to control the power
         mode of the IRPyro sensor.

Function Documentation

static uint8_t IRPyro_power_mode_low_set ( IRPyro_sensor_device_type this_device)
static

activates the low power mode settings stored on the IRPyro structure

Return values
op_result1 success / 0 error

Definition at line 1024 of file IRPyro_API_single_device_layer.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static uint8_t IRPyro_power_mode_normal_set ( IRPyro_sensor_device_type this_device)
static

activates the normal power mode settings stored on the IRPyro structure

Return values
op_result1 success / 0 error

Definition at line 1045 of file IRPyro_API_single_device_layer.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static uint8_t IRPyro_power_mode_sleep_set ( IRPyro_sensor_device_type this_device)
static

The device will automatically enter either low power or normal power sleep mode depending in the power state the device is in when it is put to sleep. The WUP register contains the settings for either sleep mode.

Parameters
this_devicepointer to the IRPyro data structure
Return values
0fail /1 success

Definition at line 970 of file IRPyro_API_single_device_layer.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static uint8_t IRPyro_power_mode_wakeup_set ( IRPyro_sensor_device_type this_device)
static

The device will automatically enter either low power or normal power sleep mode depending in the power state the device is in when it is put to sleep. The WUP register contains the settings for either sleep mode.

Parameters
this_devicepointer to the IRPyro data structure
Return values
0fail /1 success

Definition at line 993 of file IRPyro_API_single_device_layer.c.

Here is the call graph for this function:

Here is the caller graph for this function: