Inherits SPI.
|
SPI | base |
| Parent SPI interface.
|
|
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.
|
|
DeviceType | device |
| Enum specifier for device type.
|
|
SPI_TypeDef * | interface |
| Pointer to SPI interface struct.
|
|
GPIO_TypeDef * | port |
| Pointer to GPIO port struct.
|
|
unsigned long | cs |
| Device chip select address.
|
|
void(* | send )(struct SPI *, uint16_t) |
| SPI send method.
|
|
void(* | receive )(struct SPI *, volatile uint16_t *) |
| SPI receive method.
|
|
uint16_t(* | transmit )(struct SPI *, uint16_t) |
| SPI transmit method.
|
|
Definition at line 53 of file kx134_1211.h.
◆ update
◆ readAccel
◆ 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: