Loading...
Searching...
No Matches
A3G4250D_t Struct Reference

Inherits SPI.

Data Fields

SPI_tbase
 Parent SPI interface.
 
GPIOpin_t cs
 Chip select GPIO.
 
float sensitivity
 Gyroscope sensitivity.
 
void(* update )(struct A3G4250D *)
 Gyro update method.
 
void(* readGyro )(struct A3G4250D *, float *)
 Gyro read method.
 
void(* readRawBytes )(struct A3G4250D *, uint8_t *)
 Raw gyro read method.
 
void(* processRawBytes )(struct A3G4250D *, uint8_t *, float *)
 Process raw gyro method.
 
uint8_t axes [A3G4250D_DATA_COUNT]
 Array defining axes of mounting.
 
int8_t sign [A3G4250D_DATA_COUNT]
 Array defining sign of axes.
 
uint8_t rawGyroData [A3G4250D_DATA_TOTAL]
 Raw gyro rates array.
 
float gyroData [A3G4250D_DATA_COUNT]
 Processed gyro rates array.
 

Detailed Description

Definition at line 38 of file a3g4250d.h.

Field Documentation

◆ update

void(* update) (struct A3G4250D *)

Gyro update method.

See also
A3G4250D_update

Definition at line 42 of file a3g4250d.h.

◆ readGyro

void(* readGyro) (struct A3G4250D *, float *)

Gyro read method.

See also
A3G4250D_readGyro

Definition at line 43 of file a3g4250d.h.

◆ readRawBytes

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

Raw gyro read method.

See also
A3G4250D_readRawBytes

Definition at line 44 of file a3g4250d.h.

◆ processRawBytes

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

Process raw gyro method.

See also
A3G4250D_processRawBytes

Definition at line 45 of file a3g4250d.h.


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