Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Functions | |
| static DrvStatusTypeDef | LIS2DH12_Get_Axes_Raw_Data (DrvContextTypeDef *handle, int16_t *pData) |
| Get the LIS2DH12 accelerometer sensor raw axes data. | |
| static DrvStatusTypeDef | LIS2DH12_Set_ODR_When_Enabled (DrvContextTypeDef *handle, SensorOdr_t odr) |
| Set the LIS2DH12 accelerometer sensor output data rate when enabled. | |
| static DrvStatusTypeDef | LIS2DH12_Set_ODR_When_Disabled (DrvContextTypeDef *handle, SensorOdr_t odr) |
| Set the LIS2DH12 accelerometer sensor output data rate when disabled. | |
| static DrvStatusTypeDef | LIS2DH12_Set_ODR_Value_When_Enabled (DrvContextTypeDef *handle, float odr) |
| Set the LIS2DH12 accelerometer sensor output data rate when enabled. | |
| static DrvStatusTypeDef | LIS2DH12_Set_ODR_Value_When_Disabled (DrvContextTypeDef *handle, float odr) |
| Set the LIS2DH12 accelerometer sensor output data rate when disabled. | |
Function Documentation
| static DrvStatusTypeDef LIS2DH12_Get_Axes_Raw_Data | ( | DrvContextTypeDef * | handle, |
| int16_t * | pData | ||
| ) | [static] |
Get the LIS2DH12 accelerometer sensor raw axes data.
- Parameters:
-
handle the device handle pData pointer to where the raw values of the axes write to
- Return values:
-
COMPONENT_OK in case of success COMPONENT_ERROR in case of failure
Definition at line 921 of file LIS2DH12_ACC_driver_HL.c.
| static DrvStatusTypeDef LIS2DH12_Set_ODR_Value_When_Disabled | ( | DrvContextTypeDef * | handle, |
| float | odr | ||
| ) | [static] |
Set the LIS2DH12 accelerometer sensor output data rate when disabled.
- 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 1122 of file LIS2DH12_ACC_driver_HL.c.
| static DrvStatusTypeDef LIS2DH12_Set_ODR_Value_When_Enabled | ( | DrvContextTypeDef * | handle, |
| float | odr | ||
| ) | [static] |
Set the LIS2DH12 accelerometer sensor output data rate when enabled.
- 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 1066 of file LIS2DH12_ACC_driver_HL.c.
| static DrvStatusTypeDef LIS2DH12_Set_ODR_When_Disabled | ( | DrvContextTypeDef * | handle, |
| SensorOdr_t | odr | ||
| ) | [static] |
Set the LIS2DH12 accelerometer sensor output data rate when disabled.
- 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 1024 of file LIS2DH12_ACC_driver_HL.c.
| static DrvStatusTypeDef LIS2DH12_Set_ODR_When_Enabled | ( | DrvContextTypeDef * | handle, |
| SensorOdr_t | odr | ||
| ) | [static] |
Set the LIS2DH12 accelerometer sensor output data rate when enabled.
- 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 978 of file LIS2DH12_ACC_driver_HL.c.
Generated on Tue Jul 12 2022 16:29:50 by
1.7.2