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
stm32l476g_discovery_compass.c File Reference
This file provides a set of functions needed to manage the E-Compass (ACCELEROMETER + MAGNETOMETER) MEMS LSM303C available on STM32L476G-Discovery board. More...
Go to the source code of this file.
Functions | |
| void | ACCELERO_IO_DeInit (void) |
| De-Configures COMPASS/ACCELEROMETER io interface. | |
| void | MAGNETO_IO_DeInit (void) |
| de-Configures COMPASS/MAGNETO SPI interface. | |
| COMPASS_StatusTypeDef | BSP_COMPASS_Init (void) |
| Initialize the COMPASS. | |
| void | BSP_COMPASS_DeInit (void) |
| DeInitialize the COMPASS. | |
| void | BSP_COMPASS_LowPower (void) |
| Put the COMPASS in low power mode. | |
| void | BSP_COMPASS_AccGetXYZ (int16_t *pDataXYZ) |
| Get XYZ acceleration values. | |
| void | BSP_COMPASS_MagGetXYZ (int16_t *pDataXYZ) |
| Get XYZ magnetometer values. | |
Detailed Description
This file provides a set of functions needed to manage the E-Compass (ACCELEROMETER + MAGNETOMETER) MEMS LSM303C available on STM32L476G-Discovery board.
- 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_compass.c.
Generated on Tue Jul 12 2022 18:37:22 by
1.7.2