STM32L476G-Discovery BSP User Manual
|
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. |
Function Documentation
void BSP_GYRO_DeInit | ( | void | ) |
DeInitialize Gyroscope.
- Return values:
-
None
Definition at line 163 of file stm32l476g_discovery_gyroscope.c.
References GYRO_IO_DeInit().
void BSP_GYRO_DisableIT | ( | uint8_t | IntPin | ) |
Disable Gyroscope interrupts (INT1 or INT2).
- Parameters:
-
IntPin,: Interrupt pin This parameter can be: - L3GD20_INT1
- L3GD20_INT2
- Return values:
-
None
Definition at line 262 of file stm32l476g_discovery_gyroscope.c.
References GyroscopeDrv.
void BSP_GYRO_EnableIT | ( | uint8_t | IntPin | ) |
Enable Gyroscope interrupts (INT1 or INT2).
- Parameters:
-
IntPin,: Interrupt pin This parameter can be: - L3GD20_INT1
- L3GD20_INT2
- Return values:
-
None
Definition at line 246 of file stm32l476g_discovery_gyroscope.c.
References GyroscopeDrv.
void BSP_GYRO_GetXYZ | ( | float * | pfData | ) |
Get XYZ angular acceleration from the Gyroscope.
- Parameters:
-
pfData,: pointer on floating array
- Return values:
-
None
Definition at line 275 of file stm32l476g_discovery_gyroscope.c.
References GyroscopeDrv.
uint8_t BSP_GYRO_Init | ( | void | ) |
Initialize Gyroscope.
- Return values:
-
GYRO_OK or GYRO_ERROR
Definition at line 105 of file stm32l476g_discovery_gyroscope.c.
References GYRO_ERROR, GYRO_OK, and GyroscopeDrv.
void BSP_GYRO_ITConfig | ( | GYRO_InterruptConfigTypeDef * | pIntConfig | ) |
Configure Gyroscope interrupts (INT1 or INT2).
- Parameters:
-
pIntConfig,: pointer to a GYRO_InterruptConfigTypeDef structure that contains the configuration setting for the L3GD20 Interrupt.
- Return values:
-
None
Definition at line 222 of file stm32l476g_discovery_gyroscope.c.
References GyroscopeDrv.
void BSP_GYRO_LowPower | ( | void | ) |
Put Gyroscope in low power mode.
- Return values:
-
None
Definition at line 173 of file stm32l476g_discovery_gyroscope.c.
References GyroscopeDrv.
uint8_t BSP_GYRO_ReadID | ( | void | ) |
Read ID of Gyroscope component.
- Return values:
-
ID
Definition at line 193 of file stm32l476g_discovery_gyroscope.c.
References GyroscopeDrv.
void BSP_GYRO_Reset | ( | void | ) |
Reboot memory content of Gyroscope.
- Return values:
-
None
Definition at line 208 of file stm32l476g_discovery_gyroscope.c.
References GyroscopeDrv.
Generated on Tue Jun 23 2015 17:15:46 for STM32L476G-Discovery BSP User Manual by 1.7.6.1