STSW-STLKT01
|
SensorTile_magneto.h
Go to the documentation of this file.
DrvStatusTypeDef BSP_MAGNETO_Set_ODR(void *handle, SensorOdr_t odr)
Set the magnetometer sensor output data rate.
Definition: SensorTile_magneto.c:648
DrvStatusTypeDef BSP_MAGNETO_Get_ODR(void *handle, float *odr)
Get the magnetometer sensor output data rate.
Definition: SensorTile_magneto.c:610
DrvStatusTypeDef BSP_MAGNETO_Write_Reg(void *handle, uint8_t reg, uint8_t data)
Write the data to register.
Definition: SensorTile_magneto.c:863
DrvStatusTypeDef BSP_MAGNETO_Get_AxesRaw(void *handle, SensorAxesRaw_t *value)
Get the magnetometer sensor raw axes.
Definition: SensorTile_magneto.c:531
DrvStatusTypeDef BSP_MAGNETO_Get_Sensitivity(void *handle, float *sensitivity)
Get the magnetometer sensor sensitivity.
Definition: SensorTile_magneto.c:572
DrvStatusTypeDef BSP_MAGNETO_Sensor_Disable(void *handle)
Disable magnetometer sensor.
Definition: SensorTile_magneto.c:279
DrvStatusTypeDef BSP_MAGNETO_Check_WhoAmI(void *handle)
Check the WHO_AM_I ID of the magnetometer sensor.
Definition: SensorTile_magneto.c:459
DrvStatusTypeDef BSP_MAGNETO_IsEnabled(void *handle, uint8_t *status)
Check if the magnetometer sensor is enabled.
Definition: SensorTile_magneto.c:340
DrvStatusTypeDef BSP_MAGNETO_Get_Axes(void *handle, SensorAxes_t *magnetic_field)
Get the magnetometer sensor axes.
Definition: SensorTile_magneto.c:493
DrvStatusTypeDef BSP_MAGNETO_Set_FS_Value(void *handle, float fullScale)
Set the magnetometer sensor full scale.
Definition: SensorTile_magneto.c:788
DrvStatusTypeDef BSP_MAGNETO_Sensor_Enable(void *handle)
Enable magnetometer sensor.
Definition: SensorTile_magneto.c:245
DrvStatusTypeDef BSP_MAGNETO_DeInit(void **handle)
Deinitialize a magnetometer sensor.
Definition: SensorTile_magneto.c:209
This file contains definitions for SensorTile.c file.
DrvStatusTypeDef BSP_MAGNETO_Get_DRDY_Status(void *handle, uint8_t *status)
Get magnetometer data ready status.
Definition: SensorTile_magneto.c:898
DrvStatusTypeDef BSP_MAGNETO_Get_Instance(void *handle, uint8_t *instance)
Get the magnetometer sensor instance.
Definition: SensorTile_magneto.c:394
DrvStatusTypeDef BSP_MAGNETO_Set_ODR_Value(void *handle, float odr)
Set the magnetometer sensor output data rate.
Definition: SensorTile_magneto.c:682
DrvStatusTypeDef BSP_MAGNETO_Get_WhoAmI(void *handle, uint8_t *who_am_i)
Get the WHO_AM_I ID of the magnetometer sensor.
Definition: SensorTile_magneto.c:422
DrvStatusTypeDef BSP_MAGNETO_Init(MAGNETO_ID_t id, void **handle)
Initialize a magnetometer sensor.
Definition: SensorTile_magneto.c:101
DrvStatusTypeDef BSP_MAGNETO_IsCombo(void *handle, uint8_t *status)
Check if the magnetometer sensor is combo.
Definition: SensorTile_magneto.c:367
DrvStatusTypeDef BSP_MAGNETO_Get_FS(void *handle, float *fullScale)
Get the magnetometer sensor full scale.
Definition: SensorTile_magneto.c:716
DrvStatusTypeDef BSP_MAGNETO_IsInitialized(void *handle, uint8_t *status)
Check if the magnetometer sensor is initialized.
Definition: SensorTile_magneto.c:313
DrvStatusTypeDef BSP_MAGNETO_Set_FS(void *handle, SensorFs_t fullScale)
Set the magnetometer sensor full scale.
Definition: SensorTile_magneto.c:754
DrvStatusTypeDef BSP_MAGNETO_Read_Reg(void *handle, uint8_t reg, uint8_t *data)
Read the data from register.
Definition: SensorTile_magneto.c:822
Generated by
