aggiuna la lettura laser

Dependencies:   VL53L0X

Fork of BSP_B-L475E-IOT01 by ST

Embed: (wiki syntax)

« Back to documentation index

LSM6DSL GYRO Private Functions

LSM6DSL GYRO Private Functions
[LSM6DSL]

Functions

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.

Function Documentation

void LSM6DSL_GyroDeInit ( void   )

LSM6DSL Gyroscope De-initialization.

Definition at line 273 of file lsm6dsl.c.

void LSM6DSL_GyroInit ( uint16_t  InitStruct )

Set LSM6DSL Gyroscope Initialization.

Parameters:
InitStruct,:pointer to a LSM6DSL_InitTypeDef structure that contains the configuration setting for the LSM6DSL.

Definition at line 245 of file lsm6dsl.c.

void LSM6DSL_GyroLowPower ( uint16_t  status )

Set/Unset LSM6DSL Gyroscope in low power mode.

Parameters:
status0 means disable Low Power Mode, otherwise Low Power Mode is enabled

Definition at line 306 of file lsm6dsl.c.

uint8_t LSM6DSL_GyroReadID ( void   )

Read ID address of LSM6DSL.

Return values:
ID

Definition at line 294 of file lsm6dsl.c.

void LSM6DSL_GyroReadXYZAngRate ( float *  pfData )

Calculate the LSM6DSL angular data.

Parameters:
pfData,:Data out pointer

Definition at line 333 of file lsm6dsl.c.