STM32L476G-Discovery board drivers V1.0.0

Dependents:   DiscoLogger DISCO_L476VG_GlassLCD DISCO_L476VG_MicrophoneRecorder DISCO_L476VG_UART ... more

Embed: (wiki syntax)

« Back to documentation index

stm32l476g_discovery_gyroscope.c File Reference

stm32l476g_discovery_gyroscope.c File Reference

This file provides a set of functions needed to manage the L3GD20 MEMS accelerometer available on STM32L476G-Discovery board. More...

Go to the source code of this file.

Functions

uint8_t BSP_GYRO_Init (void)
 Initialize Gyroscope.
void BSP_GYRO_DeInit (void)
 DeInitialize Gyroscope.
void BSP_GYRO_LowPower (void)
 Put Gyroscope in low power mode.
uint8_t BSP_GYRO_ReadID (void)
 Read ID of Gyroscope component.
void BSP_GYRO_Reset (void)
 Reboot memory content of Gyroscope.
void BSP_GYRO_ITConfig (GYRO_InterruptConfigTypeDef *pIntConfig)
 Configure Gyroscope interrupts (INT1 or INT2).
void BSP_GYRO_EnableIT (uint8_t IntPin)
 Enable Gyroscope interrupts (INT1 or INT2).
void BSP_GYRO_DisableIT (uint8_t IntPin)
 Disable Gyroscope interrupts (INT1 or INT2).
void BSP_GYRO_GetXYZ (float *pfData)
 Get XYZ angular acceleration from the Gyroscope.

Detailed Description

This file provides a set of functions needed to manage the L3GD20 MEMS accelerometer available on STM32L476G-Discovery board.

Author:
MCD Application Team
Attention:

© Copyright (c) 2016 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l476g_discovery_gyroscope.c.