ChibiOS
21.6.0
|
LIS3DSH MEMS interface module code. More...
Go to the source code of this file.
Functions | |
static void | lis3dshSPIReadRegister (SPIDriver *spip, uint8_t reg, size_t n, uint8_t *b) |
Reads a generic register value using SPI. More... | |
static void | lis3dshSPIWriteRegister (SPIDriver *spip, uint8_t reg, size_t n, uint8_t *b) |
Writes a value into a generic register using SPI. 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 (LIS3DSHDriver *devp, lis3dsh_acc_fs_t fs) |
Changes the LIS3DSHDriver accelerometer fullscale value. More... | |
void | lis3dshObjectInit (LIS3DSHDriver *devp) |
Initializes an instance. More... | |
void | lis3dshStart (LIS3DSHDriver *devp, const LIS3DSHConfig *config) |
Configures and activates LIS3DSH Complex Driver peripheral. More... | |
void | lis3dshStop (LIS3DSHDriver *devp) |
Deactivates the LIS3DSH Complex Driver peripheral. More... | |
LIS3DSH MEMS interface module code.
Definition in file lis3dsh.c.