ST / BSP_B-L475E-IOT01

Dependents:   mbed-os-example-ble-Thermometer DISCO_L475VG_IOT01-Telegram-BOT DISCO_L475VG_IOT01-sche_cheveux DISCO_L475VG_IOT01-QSPI_FLASH_FILE_SYSTEM ... more

Embed: (wiki syntax)

« Back to documentation index

GYROSCOPE Private Functions

GYROSCOPE Private Functions
[GYROSCOPE]

Functions

uint8_t BSP_GYRO_Init (void)
 Initialize Gyroscope.
void BSP_GYRO_DeInit (void)
 DeInitialize Gyroscope.
void BSP_GYRO_LowPower (uint16_t status)
 Set/Unset Gyroscope in low power mode.
void BSP_GYRO_GetXYZ (float *pfData)
 Get XYZ angular acceleration from the Gyroscope.

Function Documentation

void BSP_GYRO_DeInit ( void   )

DeInitialize Gyroscope.

Definition at line 95 of file stm32l475e_iot01_gyro.c.

void BSP_GYRO_GetXYZ ( float *  pfData )

Get XYZ angular acceleration from the Gyroscope.

Parameters:
pfData,:pointer on floating array

Definition at line 128 of file stm32l475e_iot01_gyro.c.

uint8_t BSP_GYRO_Init ( void   )

Initialize Gyroscope.

Return values:
GYRO_OKor GYRO_ERROR

Definition at line 52 of file stm32l475e_iot01_gyro.c.

void BSP_GYRO_LowPower ( uint16_t  status )

Set/Unset Gyroscope in low power mode.

Parameters:
status0 means disable Low Power Mode, otherwise Low Power Mode is enabled

Definition at line 112 of file stm32l475e_iot01_gyro.c.