aggiuna la lettura laser

Dependencies:   VL53L0X

Fork of BSP_B-L475E-IOT01 by ST

Embed: (wiki syntax)

« Back to documentation index

MAGNETO Private Functions

MAGNETO Private Functions
[MAGNETO]

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:
pDataXYZPointer 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_ERRORin 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.