Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DISCO-F429ZI_LCDTS_demo_richard
Fork of BSP_DISCO_F429ZI by
STM32F429I DISCOVERY GYROSCOPE Private Functions
[STM32F429I DISCOVERY GYROSCOPE]
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) |
Configures INT1 interrupt. | |
void | BSP_GYRO_EnableIT (uint8_t IntPin) |
Enables INT1 or INT2 interrupt. | |
void | BSP_GYRO_DisableIT (uint8_t IntPin) |
Disables INT1 or INT2 interrupt. | |
void | BSP_GYRO_GetXYZ (float *pfData) |
Gets XYZ angular acceleration/. |
Function Documentation
void BSP_GYRO_DisableIT | ( | uint8_t | IntPin ) |
Disables INT1 or INT2 interrupt.
- Parameters:
-
IntPin,: Interrupt pin This parameter can be: - L3GD20_INT1
- L3GD20_INT2
Definition at line 217 of file stm32f429i_discovery_gyroscope.c.
void BSP_GYRO_EnableIT | ( | uint8_t | IntPin ) |
Enables INT1 or INT2 interrupt.
- Parameters:
-
IntPin,: Interrupt pin This parameter can be: - L3GD20_INT1
- L3GD20_INT2
Definition at line 202 of file stm32f429i_discovery_gyroscope.c.
void BSP_GYRO_GetXYZ | ( | float * | pfData ) |
Gets XYZ angular acceleration/.
- Parameters:
-
pfData,: pointer on floating array
Definition at line 229 of file stm32f429i_discovery_gyroscope.c.
uint8_t BSP_GYRO_Init | ( | void | ) |
Set Gyroscope Initialization.
- Return values:
-
GYRO_OK if no problem during initialization
Definition at line 96 of file stm32f429i_discovery_gyroscope.c.
void BSP_GYRO_ITConfig | ( | GYRO_InterruptConfigTypeDef * | pIntConfig ) |
Configures INT1 interrupt.
- Parameters:
-
pIntConfig,: pointer to a L3GD20_InterruptConfig_TypeDef structure that contains the configuration setting for the L3GD20 Interrupt.
Definition at line 179 of file stm32f429i_discovery_gyroscope.c.
uint8_t BSP_GYRO_ReadID | ( | void | ) |
Read ID of Gyroscope component.
- Return values:
-
ID
Definition at line 152 of file stm32f429i_discovery_gyroscope.c.
void BSP_GYRO_Reset | ( | void | ) |
Reboot memory content of Gyroscope.
Definition at line 166 of file stm32f429i_discovery_gyroscope.c.
Generated on Wed Jul 13 2022 02:15:15 by
