IRPyro API  (sKEMLIB1)
Collection of routines and data structures covering the functionality of the IRPyro sensor
Individual sensor initialization and Configuration functions

Default values defined in IRPyro_API_single_device_layer.c can be applied or user assigned. More...

Collaboration diagram for Individual sensor initialization and Configuration functions:

Modules

 AFE register functions
 Allows to read/write the AFE register performing conversion between bytes and struct values.
 
 CCP register functions
 All enabled channels in the device can be manipulated.
 
 WUP register functions
 Modifies the WUP register.
 

Functions

static uint8_t I2C_address_set (IRPyro_sensor_device_type *this_device)
 Sends new I2C address to the IRPyro sensor Default i2c address is 0x65, if multiple devices are being used care needs to be taken when writing new i2c addresses by switching off other devices with the same address. More...
 
static uint8_t IRPyro_test (IRPyro_sensor_device_type *this_device)
 Sends test code to the IRPyro sensor to confirm is there. More...
 

Detailed Description

Default values defined in IRPyro_API_single_device_layer.c can be applied or user assigned.

===============================================================================
          ##### Initialization and Configuration functions #####
===============================================================================
   [..] This section provides a set of functions allowing to initialize the IRPyro sensor,
        AFE, CCP and WUP registers, I2C address.

Function Documentation

◆ I2C_address_set()

static uint8_t I2C_address_set ( IRPyro_sensor_device_type this_device)
static

Sends new I2C address to the IRPyro sensor Default i2c address is 0x65, if multiple devices are being used care needs to be taken when writing new i2c addresses by switching off other devices with the same address.

Parameters
this_devicepointer to the IRPyro data structure
Return values
op_result1 success / 0 error

Definition at line 827 of file IRPyro_API_single_device_layer.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IRPyro_test()

static uint8_t IRPyro_test ( IRPyro_sensor_device_type this_device)
static

Sends test code to the IRPyro sensor to confirm is there.

Parameters
this_devicepointer to the IRPyro data structure
Return values
op_result1 success / 0 error

Definition at line 804 of file IRPyro_API_single_device_layer.c.

Here is the call graph for this function:
Here is the caller graph for this function: