test sending sensor results over lora radio. Accelerometer and temp/pressure.
Public functions
[Temperature]
Functions | |
DrvStatusTypeDef | BSP_TEMPERATURE_Init (TEMPERATURE_ID_t id, void **handle) |
Initialize a temperature sensor. | |
DrvStatusTypeDef | BSP_TEMPERATURE_DeInit (void **handle) |
Deinitialize a temperature sensor. | |
DrvStatusTypeDef | BSP_TEMPERATURE_Sensor_Enable (void *handle) |
Enable temperature sensor. | |
DrvStatusTypeDef | BSP_TEMPERATURE_Sensor_Disable (void *handle) |
Disable temperature sensor. | |
DrvStatusTypeDef | BSP_TEMPERATURE_IsInitialized (void *handle, uint8_t *status) |
Check if the temperature sensor is initialized. | |
DrvStatusTypeDef | BSP_TEMPERATURE_IsEnabled (void *handle, uint8_t *status) |
Check if the temperature sensor is enabled. | |
DrvStatusTypeDef | BSP_TEMPERATURE_IsCombo (void *handle, uint8_t *status) |
Check if the temperature sensor is combo. | |
DrvStatusTypeDef | BSP_TEMPERATURE_Get_Instance (void *handle, uint8_t *instance) |
Get the temperature sensor instance. | |
DrvStatusTypeDef | BSP_TEMPERATURE_Get_WhoAmI (void *handle, uint8_t *who_am_i) |
Get the WHO_AM_I ID of the temperature sensor. | |
DrvStatusTypeDef | BSP_TEMPERATURE_Check_WhoAmI (void *handle) |
Check the WHO_AM_I ID of the temperature sensor. | |
DrvStatusTypeDef | BSP_TEMPERATURE_Get_Temp (void *handle, float *temperature) |
Get the temperature value. | |
DrvStatusTypeDef | BSP_TEMPERATURE_Get_ODR (void *handle, float *odr) |
Get the temperature sensor output data rate. | |
DrvStatusTypeDef | BSP_TEMPERATURE_Set_ODR (void *handle, SensorOdr_t odr) |
Set the temperature sensor output data rate. | |
DrvStatusTypeDef | BSP_TEMPERATURE_Set_ODR_Value (void *handle, float odr) |
Set the temperature sensor output data rate. | |
DrvStatusTypeDef | BSP_TEMPERATURE_Read_Reg (void *handle, uint8_t reg, uint8_t *data) |
Read the data from register. | |
DrvStatusTypeDef | BSP_TEMPERATURE_Write_Reg (void *handle, uint8_t reg, uint8_t data) |
Write the data to register. | |
DrvStatusTypeDef | BSP_TEMPERATURE_Get_DRDY_Status (void *handle, uint8_t *status) |
Get temperature data ready status. | |
DrvStatusTypeDef | BSP_TEMPERATURE_FIFO_Get_Fth_Status_Ext (void *handle, uint8_t *status) |
Get FIFO THR status (available only for LPS22HB sensor) | |
DrvStatusTypeDef | BSP_TEMPERATURE_FIFO_Get_Full_Status_Ext (void *handle, uint8_t *status) |
Get FIFO FULL status (available only for LPS22HB sensor) | |
DrvStatusTypeDef | BSP_TEMPERATURE_FIFO_Get_Ovr_Status_Ext (void *handle, uint8_t *status) |
Get FIFO OVR status (available only for LPS22HB sensor) | |
DrvStatusTypeDef | BSP_TEMPERATURE_FIFO_Get_Data_Ext (void *handle, float *pressure, float *temperature) |
Get FIFO data (available only for LPS22HB sensor) | |
DrvStatusTypeDef | BSP_TEMPERATURE_FIFO_Get_Num_Of_Samples_Ext (void *handle, uint8_t *nSamples) |
Get number of unread FIFO samples (available only for LPS22HB sensor) | |
DrvStatusTypeDef | BSP_TEMPERATURE_FIFO_Set_Mode_Ext (void *handle, uint8_t mode) |
Set FIFO mode (available only for LPS22HB sensor) | |
DrvStatusTypeDef | BSP_TEMPERATURE_FIFO_Set_Interrupt_Ext (void *handle, uint8_t interrupt) |
Set FIFO interrupt (available only for LPS22HB sensor) | |
DrvStatusTypeDef | BSP_TEMPERATURE_FIFO_Reset_Interrupt_Ext (void *handle, uint8_t interrupt) |
Set FIFO interrupt (available only for LPS22HB sensor) | |
DrvStatusTypeDef | BSP_TEMPERATURE_FIFO_Set_Watermark_Level_Ext (void *handle, uint8_t watermark) |
Set FIFO watermark (available only for LPS22HB sensor) | |
DrvStatusTypeDef | BSP_TEMPERATURE_FIFO_Stop_On_Fth_Ext (void *handle, uint8_t status) |
Set FIFO to stop on FTH (available only for LPS22HB sensor) | |
DrvStatusTypeDef | BSP_TEMPERATURE_FIFO_Usage_Ext (void *handle, uint8_t status) |
FIFO usage (available only for LPS22HB sensor) |
Function Documentation
DrvStatusTypeDef BSP_TEMPERATURE_Check_WhoAmI | ( | void * | handle ) |
Check the WHO_AM_I ID of the temperature sensor.
- Parameters:
-
handle the device handle
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 366 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_DeInit | ( | void ** | handle ) |
Deinitialize a temperature sensor.
- Parameters:
-
handle the device handle
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 118 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_FIFO_Get_Data_Ext | ( | void * | handle, |
float * | pressure, | ||
float * | temperature | ||
) |
Get FIFO data (available only for LPS22HB sensor)
- Parameters:
-
handle the device handle *pressure pointer to FIFO pressure data *temperature pointer to FIFO temperature data
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 798 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_FIFO_Get_Fth_Status_Ext | ( | void * | handle, |
uint8_t * | status | ||
) |
Get FIFO THR status (available only for LPS22HB sensor)
- Parameters:
-
handle the device handle *status FIFO THR status
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 651 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_FIFO_Get_Full_Status_Ext | ( | void * | handle, |
uint8_t * | status | ||
) |
Get FIFO FULL status (available only for LPS22HB sensor)
- Parameters:
-
handle the device handle *status FIFO FULL status
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 699 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_FIFO_Get_Num_Of_Samples_Ext | ( | void * | handle, |
uint8_t * | nSamples | ||
) |
Get number of unread FIFO samples (available only for LPS22HB sensor)
- Parameters:
-
handle the device handle *nSamples Number of unread FIFO samples
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 847 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_FIFO_Get_Ovr_Status_Ext | ( | void * | handle, |
uint8_t * | status | ||
) |
Get FIFO OVR status (available only for LPS22HB sensor)
- Parameters:
-
handle the device handle *status FIFO OVR status
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 748 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_FIFO_Reset_Interrupt_Ext | ( | void * | handle, |
uint8_t | interrupt | ||
) |
Set FIFO interrupt (available only for LPS22HB sensor)
- Parameters:
-
handle the device handle interrupt FIFO interrupt
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 984 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_FIFO_Set_Interrupt_Ext | ( | void * | handle, |
uint8_t | interrupt | ||
) |
Set FIFO interrupt (available only for LPS22HB sensor)
- Parameters:
-
handle the device handle interrupt FIFO interrupt
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 940 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_FIFO_Set_Mode_Ext | ( | void * | handle, |
uint8_t | mode | ||
) |
Set FIFO mode (available only for LPS22HB sensor)
- Parameters:
-
handle the device handle mode FIFO mode
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 896 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_FIFO_Set_Watermark_Level_Ext | ( | void * | handle, |
uint8_t | watermark | ||
) |
Set FIFO watermark (available only for LPS22HB sensor)
- Parameters:
-
handle the device handle watermark FIFO watermark
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 1028 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_FIFO_Stop_On_Fth_Ext | ( | void * | handle, |
uint8_t | status | ||
) |
Set FIFO to stop on FTH (available only for LPS22HB sensor)
- Parameters:
-
handle the device handle status enable or disable stopping on FTH interrupt
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 1072 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_FIFO_Usage_Ext | ( | void * | handle, |
uint8_t | status | ||
) |
FIFO usage (available only for LPS22HB sensor)
- Parameters:
-
handle the device handle status enable or disable FIFO
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 1116 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_Get_DRDY_Status | ( | void * | handle, |
uint8_t * | status | ||
) |
Get temperature data ready status.
- Parameters:
-
handle the device handle status the data ready status
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 617 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_Get_Instance | ( | void * | handle, |
uint8_t * | instance | ||
) |
Get the temperature sensor instance.
- Parameters:
-
handle the device handle instance the pointer to the device instance
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 302 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_Get_ODR | ( | void * | handle, |
float * | odr | ||
) |
Get the temperature sensor output data rate.
- Parameters:
-
handle the device handle odr pointer where the output data rate is written
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 436 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_Get_Temp | ( | void * | handle, |
float * | temperature | ||
) |
Get the temperature value.
- Parameters:
-
handle the device handle temperature pointer where the value is written [C]
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 399 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_Get_WhoAmI | ( | void * | handle, |
uint8_t * | who_am_i | ||
) |
Get the WHO_AM_I ID of the temperature sensor.
- Parameters:
-
handle the device handle who_am_i pointer to the value of WHO_AM_I register
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 330 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_Init | ( | TEMPERATURE_ID_t | id, |
void ** | handle | ||
) |
Initialize a temperature sensor.
- Parameters:
-
id the temperature sensor identifier handle the device handle
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 90 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_IsCombo | ( | void * | handle, |
uint8_t * | status | ||
) |
Check if the temperature sensor is combo.
- Parameters:
-
handle the device handle status the pointer to the combo status
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 275 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_IsEnabled | ( | void * | handle, |
uint8_t * | status | ||
) |
Check if the temperature sensor is enabled.
- Parameters:
-
handle the device handle status the pointer to the enable status
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 248 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_IsInitialized | ( | void * | handle, |
uint8_t * | status | ||
) |
Check if the temperature sensor is initialized.
- Parameters:
-
handle the device handle status the pointer to the initialization status
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 221 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_Read_Reg | ( | void * | handle, |
uint8_t | reg, | ||
uint8_t * | data | ||
) |
Read the data from register.
- Parameters:
-
handle the device handle reg register address data register data
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 541 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_Sensor_Disable | ( | void * | handle ) |
Disable temperature sensor.
- Parameters:
-
handle the device handle
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 187 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_Sensor_Enable | ( | void * | handle ) |
Enable temperature sensor.
- Parameters:
-
handle the device handle
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 154 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_Set_ODR | ( | void * | handle, |
SensorOdr_t | odr | ||
) |
Set the temperature sensor output data rate.
- Parameters:
-
handle the device handle odr the functional output data rate to be set
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 473 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_Set_ODR_Value | ( | void * | handle, |
float | odr | ||
) |
Set the temperature sensor output data rate.
- Parameters:
-
handle the device handle odr the output data rate value to be set
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 506 of file x_nucleo_iks01a2_temperature.c.
DrvStatusTypeDef BSP_TEMPERATURE_Write_Reg | ( | void * | handle, |
uint8_t | reg, | ||
uint8_t | data | ||
) |
Write the data to register.
- Parameters:
-
handle the device handle reg register address data register data
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 582 of file x_nucleo_iks01a2_temperature.c.
Generated on Tue Jul 12 2022 16:29:50 by 1.7.2