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: mbed-os-example-ble-Thermometer DISCO_L475VG_IOT01-Telegram-BOT DISCO_L475VG_IOT01-sche_cheveux DISCO_L475VG_IOT01-QSPI_FLASH_FILE_SYSTEM ... more
lsm6dsl.c File Reference
This file provides a set of functions needed to manage the LSM6DSL accelero and gyro devices. More...
Go to the source code of this file.
Functions | |
| void | LSM6DSL_AccInit (uint16_t InitStruct) |
| Set LSM6DSL Accelerometer Initialization. | |
| void | LSM6DSL_AccDeInit (void) |
| LSM6DSL Accelerometer De-initialization. | |
| uint8_t | LSM6DSL_AccReadID (void) |
| Read LSM6DSL ID. | |
| void | LSM6DSL_AccLowPower (uint16_t status) |
| Set/Unset Accelerometer in low power mode. | |
| void | LSM6DSL_AccReadXYZ (int16_t *pData) |
| Read X, Y & Z Acceleration values. | |
| void | LSM6DSL_GyroInit (uint16_t InitStruct) |
| Set LSM6DSL Gyroscope Initialization. | |
| void | LSM6DSL_GyroDeInit (void) |
| LSM6DSL Gyroscope De-initialization. | |
| uint8_t | LSM6DSL_GyroReadID (void) |
| Read ID address of LSM6DSL. | |
| void | LSM6DSL_GyroLowPower (uint16_t status) |
| Set/Unset LSM6DSL Gyroscope in low power mode. | |
| void | LSM6DSL_GyroReadXYZAngRate (float *pfData) |
| Calculate the LSM6DSL angular data. | |
Detailed Description
This file provides a set of functions needed to manage the LSM6DSL accelero and gyro devices.
- Attention:
<
© Copyright (c) 2017 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 lsm6dsl.c.
Generated on Tue Jul 12 2022 13:55:42 by
1.7.2