Loading...
Searching...
No Matches
A3G4250D Struct Reference

Inherits SPI.

Data Fields

SPI base
 Parent SPI interface.
 
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.
 
- Data Fields inherited from SPI
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.
 

Detailed Description

Definition at line 40 of file a3g4250d.h.

Field Documentation

◆ update

void(* update) (struct A3G4250D *)

Gyro update method.

See also
A3G4250D_update

Definition at line 43 of file a3g4250d.h.

◆ readGyro

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

Gyro read method.

See also
A3G4250D_readGyro

Definition at line 44 of file a3g4250d.h.

◆ readRawBytes

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

Raw gyro read method.

See also
A3G4250D_readRawBytes

Definition at line 45 of file a3g4250d.h.

◆ processRawBytes

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

Process raw gyro method.

See also
A3G4250D_processRawBytes

Definition at line 46 of file a3g4250d.h.


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