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
lsm303c.c File Reference
This file provides a set of functions needed to manage the LSM303C MEMS accelerometer. More...
Go to the source code of this file.
Functions | |
| void | LSM303C_AccInit (uint16_t InitStruct) |
| Set LSM303C Accelerometer Initialization. | |
| void | LSM303C_AccDeInit (void) |
| LSM303C Accelerometer De-initialization. | |
| uint8_t | LSM303C_AccReadID (void) |
| Read LSM303C ID. | |
| void | LSM303C_AccLowPower (uint16_t Mode) |
| Put Accelerometer in power down mode or not. | |
| void | LSM303C_AccFilterConfig (uint8_t FilterStruct) |
| Set High Pass Filter Modality. | |
| void | LSM303C_AccReadXYZ (int16_t *pData) |
| Read X, Y & Z Acceleration values. | |
| void | LSM303C_MagInit (MAGNETO_InitTypeDef LSM303C_InitStruct) |
| Set LSM303C Magnetometer Initialization. | |
| void | LSM303C_MagDeInit (void) |
| LSM303C Magnetometer De-initialization. | |
| uint8_t | LSM303C_MagReadID (void) |
| Read LSM303C ID. | |
| void | LSM303C_MagLowPower (uint16_t Mode) |
| Put Magnetometer in power down mode or not. | |
| uint8_t | LSM303C_MagGetDataStatus (void) |
| Get status for Mag LSM303C data. | |
| void | LSM303C_MagReadXYZ (int16_t *pData) |
| Read X, Y & Z Magnetometer values. | |
Detailed Description
This file provides a set of functions needed to manage the LSM303C MEMS accelerometer.
- 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 lsm303c.c.
Generated on Tue Jul 12 2022 18:37:21 by
1.7.2