Inherits SPI.
|
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.
|
|
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 40 of file a3g4250d.h.
◆ update
◆ readGyro
void(* readGyro) (struct A3G4250D *, float *) |
◆ readRawBytes
void(* readRawBytes) (struct A3G4250D *, uint8_t *) |
◆ processRawBytes
void(* processRawBytes) (struct A3G4250D *, uint8_t *, float *) |
The documentation for this struct was generated from the following file:
- Australis-Avionics/Core/Inc/spi/sensors/gyro/a3g4250d.h