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: DiscoLogger DISCO_L476VG_GlassLCD DISCO_L476VG_MicrophoneRecorder DISCO_L476VG_UART ... more
l3gd20.c File Reference
This file provides a set of functions needed to manage the L3GD20, ST MEMS motion sensor, 3-axis digital output gyroscope. More...
Go to the source code of this file.
Functions | |
| void | L3GD20_Init (uint16_t InitStruct) |
| Set L3GD20 Initialization. | |
| void | L3GD20_DeInit (void) |
| L3GD20 De-initialization. | |
| uint8_t | L3GD20_ReadID (void) |
| Read ID address of L3GD20. | |
| void | L3GD20_RebootCmd (void) |
| Reboot memory content of L3GD20. | |
| void | L3GD20_LowPower (uint16_t InitStruct) |
| Set L3GD20 in low-power mode. | |
| void | L3GD20_INT1InterruptConfig (uint16_t Int1Config) |
| Set L3GD20 Interrupt INT1 configuration. | |
| void | L3GD20_EnableIT (uint8_t IntSel) |
| Enable INT1 or INT2 interrupt. | |
| void | L3GD20_DisableIT (uint8_t IntSel) |
| Disable INT1 or INT2 interrupt. | |
| void | L3GD20_FilterConfig (uint8_t FilterStruct) |
| Set High Pass Filter Modality. | |
| void | L3GD20_FilterCmd (uint8_t HighPassFilterState) |
| Enable or Disable High Pass Filter. | |
| uint8_t | L3GD20_GetDataStatus (void) |
| Get status for L3GD20 data. | |
| void | L3GD20_ReadXYZAngRate (float *pfData) |
| Calculate the L3GD20 angular data. | |
Detailed Description
This file provides a set of functions needed to manage the L3GD20, ST MEMS motion sensor, 3-axis digital output gyroscope.
- Attention:
© Copyright (c) 2015 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 l3gd20.c.
Generated on Tue Jul 12 2022 18:37:21 by
1.7.2