ChibiOS/EX
1.1.2
|
LSM6DS0 MEMS interface module code. More...
Go to the source code of this file.
Macros | |
#define | lsm6ds0I2CWriteRegister(i2cp, sad, txbuf, n) |
Writes a value into a register using I2C. More... | |
Functions | |
msg_t | lsm6ds0I2CReadRegister (I2CDriver *i2cp, lsm6ds0_sad_t sad, uint8_t reg, uint8_t *rxbuf, size_t n) |
Reads registers value using I2C. More... | |
static size_t | acc_get_axes_number (void *ip) |
Return the number of axes of the BaseAccelerometer. More... | |
static msg_t | acc_read_raw (void *ip, int32_t axes[]) |
Retrieves raw data from the BaseAccelerometer. More... | |
static msg_t | acc_read_cooked (void *ip, float axes[]) |
Retrieves cooked data from the BaseAccelerometer. More... | |
static msg_t | acc_set_bias (void *ip, float *bp) |
Set bias values for the BaseAccelerometer. More... | |
static msg_t | acc_reset_bias (void *ip) |
Reset bias values for the BaseAccelerometer. More... | |
static msg_t | acc_set_sensivity (void *ip, float *sp) |
Set sensitivity values for the BaseAccelerometer. More... | |
static msg_t | acc_reset_sensivity (void *ip) |
Reset sensitivity values for the BaseAccelerometer. More... | |
static msg_t | acc_set_full_scale (LSM6DS0Driver *devp, lsm6ds0_acc_fs_t fs) |
Changes the LSM6DS0Driver accelerometer fullscale value. More... | |
static size_t | gyro_get_axes_number (void *ip) |
Return the number of axes of the BaseGyroscope. More... | |
static msg_t | gyro_read_raw (void *ip, int32_t axes[LSM6DS0_GYRO_NUMBER_OF_AXES]) |
Retrieves raw data from the BaseGyroscope. More... | |
static msg_t | gyro_read_cooked (void *ip, float axes[]) |
Retrieves cooked data from the BaseGyroscope. More... | |
static msg_t | gyro_sample_bias (void *ip) |
Samples bias values for the BaseGyroscope. More... | |
static msg_t | gyro_set_bias (void *ip, float *bp) |
Set bias values for the BaseGyroscope. More... | |
static msg_t | gyro_reset_bias (void *ip) |
Reset bias values for the BaseGyroscope. More... | |
static msg_t | gyro_set_sensivity (void *ip, float *sp) |
Set sensitivity values for the BaseGyroscope. More... | |
static msg_t | gyro_reset_sensivity (void *ip) |
Reset sensitivity values for the BaseGyroscope. More... | |
static msg_t | gyro_set_full_scale (LSM6DS0Driver *devp, lsm6ds0_gyro_fs_t fs) |
Changes the LSM6DS0Driver gyroscope fullscale value. More... | |
void | lsm6ds0ObjectInit (LSM6DS0Driver *devp) |
Initializes an instance. More... | |
void | lsm6ds0Start (LSM6DS0Driver *devp, const LSM6DS0Config *config) |
Configures and activates LSM6DS0 Complex Driver peripheral. More... | |
void | lsm6ds0Stop (LSM6DS0Driver *devp) |
Deactivates the LSM6DS0 Complex Driver peripheral. More... | |
LSM6DS0 MEMS interface module code.
Definition in file lsm6ds0.c.