Inherits SPI.
|
SPI_t * | base |
| Parent SPI interface.
|
|
GPIOpin_t | cs |
| Chip select GPIO.
|
|
float | sensitivity |
| Accelerometer sensitivity.
|
|
void(* | update )(struct KX134_1211 *) |
| Accel update method.
|
|
void(* | readAccel )(struct KX134_1211 *, float *) |
| Accel read method.
|
|
void(* | readRawBytes )(struct KX134_1211 *, uint8_t *) |
| Raw accel read method.
|
|
void(* | processRawBytes )(struct KX134_1211 *, uint8_t *, float *) |
| Process raw accel method.
|
|
uint8_t | axes [KX134_1211_DATA_COUNT] |
| Array defining axes of mounting.
|
|
int8_t | sign [KX134_1211_DATA_COUNT] |
| Array defining sign of axes.
|
|
uint8_t | rawAccelData [KX134_1211_DATA_TOTAL] |
| Raw accelerations array.
|
|
float | accelData [KX134_1211_DATA_COUNT] |
| Processed accelerations array.
|
|
Definition at line 50 of file kx134_1211.h.
◆ update
void(* update) (struct KX134_1211 *) |
◆ readAccel
void(* readAccel) (struct KX134_1211 *, float *) |
◆ readRawBytes
void(* readRawBytes) (struct KX134_1211 *, uint8_t *) |
◆ processRawBytes
void(* processRawBytes) (struct KX134_1211 *, uint8_t *, float *) |
The documentation for this struct was generated from the following file:
- Australis-Avionics/Code/core/inc/drivers/device/sensors/accel/kx134_1211.h