STM32F3-Discovery BSP User Manual
|
Functions | |
uint8_t | BSP_GYRO_Init (void) |
Set GYROSCOPE Initialization. | |
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 INT1 interrupt. | |
void | BSP_GYRO_EnableIT (uint8_t IntPin) |
Enable INT1 or INT2 interrupt. | |
void | BSP_GYRO_DisableIT (uint8_t IntPin) |
Disable INT1 or INT2 interrupt. | |
void | BSP_GYRO_GetXYZ (float *pfData) |
Get XYZ angular acceleration. |
Function Documentation
void BSP_GYRO_DisableIT | ( | uint8_t | IntPin | ) |
Disable INT1 or INT2 interrupt.
- Parameters:
-
IntPin Interrupt pin This parameter can be: - L3GD20_INT1
- L3GD20_INT2
- Return values:
-
None
Definition at line 227 of file stm32f3_discovery_gyroscope.c.
References GyroscopeDrv.
void BSP_GYRO_EnableIT | ( | uint8_t | IntPin | ) |
Enable INT1 or INT2 interrupt.
- Parameters:
-
IntPin Interrupt pin This parameter can be: - L3GD20_INT1
- L3GD20_INT2
- Return values:
-
None
Definition at line 211 of file stm32f3_discovery_gyroscope.c.
References GyroscopeDrv.
void BSP_GYRO_GetXYZ | ( | float * | pfData | ) |
Get XYZ angular acceleration.
- Parameters:
-
pfData pointer on floating array
- Return values:
-
None
Definition at line 240 of file stm32f3_discovery_gyroscope.c.
References GyroscopeDrv.
uint8_t BSP_GYRO_Init | ( | void | ) |
Set GYROSCOPE Initialization.
- Return values:
-
GYRO_OK if no problem during initialization
Definition at line 102 of file stm32f3_discovery_gyroscope.c.
References GYRO_ERROR, GYRO_OK, and GyroscopeDrv.
void BSP_GYRO_ITConfig | ( | GYRO_InterruptConfigTypeDef * | pIntConfig | ) |
Configure INT1 interrupt.
- Parameters:
-
pIntConfig pointer to a L3GD20_InterruptConfig_TypeDef structure that contains the configuration setting for the L3GD20 Interrupt.
- Return values:
-
None
Definition at line 187 of file stm32f3_discovery_gyroscope.c.
References GyroscopeDrv.
uint8_t BSP_GYRO_ReadID | ( | void | ) |
Read ID of Gyroscope component.
- Return values:
-
ID
Definition at line 157 of file stm32f3_discovery_gyroscope.c.
References GyroscopeDrv.
void BSP_GYRO_Reset | ( | void | ) |
Reboot memory content of GYROSCOPE.
- Return values:
-
None
Definition at line 172 of file stm32f3_discovery_gyroscope.c.
References GyroscopeDrv.
Generated on Wed May 31 2017 10:47:41 for STM32F3-Discovery BSP User Manual by 1.7.6.1