Loading...
Searching...
No Matches
KX134_1211_t Struct Reference

Inherits SPI.

Data Fields

SPI_tbase
 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.
 

Detailed Description

Definition at line 50 of file kx134_1211.h.

Field Documentation

◆ update

void(* update) (struct KX134_1211 *)

Accel update method.

See also
KX134_1211_update

Definition at line 54 of file kx134_1211.h.

◆ readAccel

void(* readAccel) (struct KX134_1211 *, float *)

Accel read method.

See also
KX134_1211_readAccel

Definition at line 55 of file kx134_1211.h.

◆ readRawBytes

void(* readRawBytes) (struct KX134_1211 *, uint8_t *)

Raw accel read method.

See also
KX134_1211_readRawBytes

Definition at line 56 of file kx134_1211.h.

◆ processRawBytes

void(* processRawBytes) (struct KX134_1211 *, uint8_t *, float *)

Process raw accel method.

See also
KX134_1211_processRawBytes

Definition at line 57 of file kx134_1211.h.


The documentation for this struct was generated from the following file: