Robotique FIP / Mbed 2 deprecated FIP_REV1

Dependencies:   HC_SR04_Ultrasonic_Library Servo mbed

Fork of FIP_REV1 by Robotique FIP

Embed: (wiki syntax)

« Back to documentation index

LSM6DS0_Private_Functions

Functions

void LSM6DS0_Init (IMU_6AXES_InitTypeDef *LSM6DS0_Init)
 Set LSM6DS0 Initialization.
uint8_t LSM6DS0_Read_XG_ID (void)
 Read ID of LSM6DS0 Accelerometer and Gyroscope.
void LSM6DS0_X_GetAxes (int32_t *pData)
 Read data from LSM6DS0 Accelerometer and calculate linear acceleration in mg.
void LSM6DS0_G_GetAxes (int32_t *pData)
 Read data from LSM6DS0 Gyroscope and calculate angular rate in mdps.
void LSM6DS0_X_GetAxesRaw (int16_t *pData)
 Read raw data from LSM6DS0 Accelerometer output register.
void LSM6DS0_G_GetAxesRaw (int16_t *pData)
 Read raw data from LSM6DS0 Gyroscope output register.

Function Documentation

void LSM6DS0_G_GetAxes ( int32_t *  pData )

Read data from LSM6DS0 Gyroscope and calculate angular rate in mdps.

Parameters:
float*pfData
Return values:
None.

Definition at line 297 of file lsm6ds0.c.

void LSM6DS0_G_GetAxesRaw ( int16_t *  pData )

Read raw data from LSM6DS0 Gyroscope output register.

Parameters:
float*pfData
Return values:
None.

Definition at line 273 of file lsm6ds0.c.

void LSM6DS0_Init ( IMU_6AXES_InitTypeDef LSM6DS0_Init )

Set LSM6DS0 Initialization.

Parameters:
InitStruct,:it contains the configuration setting for the LSM6DS0.
Return values:
None

Definition at line 115 of file lsm6ds0.c.

uint8_t LSM6DS0_Read_XG_ID ( void   )

Read ID of LSM6DS0 Accelerometer and Gyroscope.

Parameters:
DeviceID
Return values:
IDname

Definition at line 195 of file lsm6ds0.c.

void LSM6DS0_X_GetAxes ( int32_t *  pData )

Read data from LSM6DS0 Accelerometer and calculate linear acceleration in mg.

Parameters:
float*pfData
Return values:
None.

Definition at line 236 of file lsm6ds0.c.

void LSM6DS0_X_GetAxesRaw ( int16_t *  pData )

Read raw data from LSM6DS0 Accelerometer output register.

Parameters:
float*pfData
Return values:
None.

Definition at line 212 of file lsm6ds0.c.