aggiuna la lettura laser
Dependencies: VL53L0X
Fork of BSP_B-L475E-IOT01 by
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 109 of file stm32l475e_iot01_magneto.c.
| 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 141 of file stm32l475e_iot01_magneto.c.
| MAGNETO_StatusTypeDef BSP_MAGNETO_Init | ( | void | ) |
Initialize a magnetometer sensor.
- Return values:
-
COMPONENT_ERROR in case of failure
Definition at line 78 of file stm32l475e_iot01_magneto.c.
| void BSP_MAGNETO_LowPower | ( | uint16_t | status ) |
Set/Unset the MAGNETO in low power mode.
Definition at line 124 of file stm32l475e_iot01_magneto.c.
Generated on Tue Jul 12 2022 15:06:32 by
1.7.2
