IRPyro API
(sKEMLIB1)
Collection of routines and data structures covering the functionality of the IRPyro sensor
|
Power management functions. More...
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... | |
Power management functions.
=============================================================================== ##### Power management functions ##### =============================================================================== [..] This section provides a set of functions allowing to control the power mode of the IRPyro sensor.
|
static |
activates the low power mode settings stored on the IRPyro structure
op_result | 1 success / 0 error |
Definition at line 1024 of file IRPyro_API_single_device_layer.c.
|
static |
activates the normal power mode settings stored on the IRPyro structure
op_result | 1 success / 0 error |
Definition at line 1045 of file IRPyro_API_single_device_layer.c.
|
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.
this_device | pointer to the IRPyro data structure |
0 | fail /1 success |
Definition at line 970 of file IRPyro_API_single_device_layer.c.
|
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.
this_device | pointer to the IRPyro data structure |
0 | fail /1 success |
Definition at line 993 of file IRPyro_API_single_device_layer.c.