IRPyro API
(sKEMLIB1)
Collection of routines and data structures covering the functionality of the IRPyro sensor
|
Functions to configure and sample data from a single device. More...
Modules | |
Constants to access IRPyro | |
Definitions used by the IRPyro_sensor_device_type. | |
FIFO memory functions | |
FIFO memory functions. | |
IRPyro Constants | |
Hexadecimal constants for the IRPyro API. | |
IRPyro sensor device functions | |
Public functions of IRPyro: Open, Read, IOCTL and Close. | |
Individual sensor initialization and Configuration functions | |
Default values defined in IRPyro_API_single_device_layer.c can be applied or user assigned. | |
Power management functions | |
Power management functions. | |
Structures to access IRPyro | |
Collection of structs that define an IRPyro_sensor_device_type. | |
Support functions | |
Data structures manipulation functions. | |
Macros | |
#define | AFE_INIT_DEFAULT(X) |
#define | CCP_INIT_DEFAULT(X) |
#define | LOW_POWER_INIT_DEFAULT(X) |
#define | NORMAL_POWER_INIT_DEFAULT(X) |
#define | WUP_INIT_DEFAULT(X) |
Functions | |
static void | AFE_to_bytes (AFE_reg_type AFE_register, uint8_t *AFE_byte) |
encodes the AFE register contents of this_device into the IRPyro More... | |
static void | bytes_to_AFE (uint8_t *AFE_bytes, AFE_reg_type *AFE_register) |
decodes the AFE register of the IRPyro into this_device More... | |
static void | bytes_to_CCP (uint8_t CCP_byte, CCP_reg_type *CCP_register) |
decodes the CCP register of the IRPyro into this_device More... | |
static void | bytes_to_WUP (uint8_t *WUP_bytes, WUP_reg_type *WUP_register) |
decodes the WUP register of the IRPyro into this_device More... | |
static void | CCP_to_bytes (CCP_reg_type CCP_register, uint8_t *CCP_byte) |
encodes the CCP register contents of this_device into IRPyro More... | |
static struct notice | IRPyro_checksum (void) |
static uint8_t | IRPyro_power_settings_init (IRPyro_sensor_device_type *this_device) |
initializes with defaults the power settings of an IRPyro device More... | |
static void | WUP_to_bytes (WUP_reg_type WUP_register, uint8_t *WUP_byte) |
encodes the WUP register contents of this_device into the IRPyro More... | |
Functions to configure and sample data from a single device.
#define AFE_INIT_DEFAULT | ( | X | ) |
Definition at line 192 of file IRPyro_API_single_device_layer.c.
#define CCP_INIT_DEFAULT | ( | X | ) |
Definition at line 210 of file IRPyro_API_single_device_layer.c.
#define LOW_POWER_INIT_DEFAULT | ( | X | ) |
Definition at line 254 of file IRPyro_API_single_device_layer.c.
#define NORMAL_POWER_INIT_DEFAULT | ( | X | ) |
Definition at line 239 of file IRPyro_API_single_device_layer.c.
#define WUP_INIT_DEFAULT | ( | X | ) |
Definition at line 228 of file IRPyro_API_single_device_layer.c.
|
static |
encodes the AFE register contents of this_device into the IRPyro
Definition at line 569 of file IRPyro_API_single_device_layer.c.
|
static |
decodes the AFE register of the IRPyro into this_device
Definition at line 586 of file IRPyro_API_single_device_layer.c.
|
static |
decodes the CCP register of the IRPyro into this_device
Definition at line 702 of file IRPyro_API_single_device_layer.c.
|
static |
decodes the WUP register of the IRPyro into this_device
Definition at line 786 of file IRPyro_API_single_device_layer.c.
|
static |
encodes the CCP register contents of this_device into IRPyro
Definition at line 689 of file IRPyro_API_single_device_layer.c.
|
static |
Definition at line 1191 of file IRPyro_API_single_device_layer.c.
|
static |
initializes with defaults the power settings of an IRPyro device
Definition at line 1013 of file IRPyro_API_single_device_layer.c.
|
static |
encodes the WUP register contents of this_device into the IRPyro
Definition at line 768 of file IRPyro_API_single_device_layer.c.