Contains the BSP driver for the B-L475E-IOT01 board.

Dependents:   mbed-os-example-ble-Thermometer DISCO_L475VG_IOT01-Telegram-BOT DISCO_L475VG_IOT01-sche_cheveux DISCO_L475VG_IOT01-QSPI_FLASH_FILE_SYSTEM ... more

Embed: (wiki syntax)

« Back to documentation index

lsm6dsl.h File Reference

lsm6dsl.h File Reference

LSM6DSL header driver file. 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.
void SENSOR_IO_Init (void)
 Initializes Sensors low level.
void SENSOR_IO_Write (uint8_t Addr, uint8_t Reg, uint8_t Value)
 Writes a single data.
uint8_t SENSOR_IO_Read (uint8_t Addr, uint8_t Reg)
 Reads a single data.
uint16_t SENSOR_IO_ReadMultiple (uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length)
 Reads multiple data with I2C communication channel from TouchScreen.
void SENSOR_IO_WriteMultiple (uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length)
 Writes multiple data with I2C communication channel from MCU to TouchScreen.

Detailed Description

LSM6DSL header driver file.

Author:
MCD Application Team
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.h.