B-L475E-IOT01 BSP User Manual
|
Functions | |
MAGNETO_StatusTypeDef | BSP_MAGNETO_Init (void) |
Initialize a magnetometer sensor. | |
void | BSP_MAGNETO_DeInit (void) |
DeInitialize the MAGNETO. | |
void | BSP_MAGNETO_LowPower (uint16_t status) |
Set/Unset the MAGNETO in low power mode. | |
void | BSP_MAGNETO_GetXYZ (int16_t *pDataXYZ) |
Get XYZ magnetometer values. |
Function Documentation
void BSP_MAGNETO_DeInit | ( | void | ) |
DeInitialize the MAGNETO.
Definition at line 111 of file stm32l475e_iot01_magneto.c.
References MagnetoDrv.
void BSP_MAGNETO_GetXYZ | ( | int16_t * | pDataXYZ | ) |
Get XYZ magnetometer values.
- Parameters:
-
pDataXYZ Pointer on 3 magnetometer values table with pDataXYZ[0] = X axis, pDataXYZ[1] = Y axis, pDataXYZ[2] = Z axis
Definition at line 143 of file stm32l475e_iot01_magneto.c.
References MagnetoDrv.
MAGNETO_StatusTypeDef BSP_MAGNETO_Init | ( | void | ) |
Initialize a magnetometer sensor.
- Return values:
-
COMPONENT_ERROR in case of failure
Definition at line 80 of file stm32l475e_iot01_magneto.c.
References MAGNETO_ERROR, MAGNETO_OK, and MagnetoDrv.
void BSP_MAGNETO_LowPower | ( | uint16_t | status | ) |
Set/Unset the MAGNETO in low power mode.
Definition at line 126 of file stm32l475e_iot01_magneto.c.
References MagnetoDrv.
Generated on Thu Mar 16 2017 10:38:33 for B-L475E-IOT01 BSP User Manual by
