Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Mpu60x0_Spi Struct Reference

#include <mpu60x0_spi.h>

+ Collaboration diagram for Mpu60x0_Spi:

Data Fields

struct spi_periphspi_p
 
struct spi_transaction spi_trans
 
volatile uint8_t tx_buf [2]
 
volatile uint8_t rx_buf [MPU60X0_BUFFER_LEN]
 
volatile bool_t data_available
 data ready flag More...
 
union {
   struct Int16Vect3   vect
 accel data vector in accel coordinate system More...
 
   int16_t   value [3]
 accel data values accessible by channel index More...
 
data_accel
 
union {
   struct Int16Rates   rates
 rates data as angular rates in gyro coordinate system More...
 
   int16_t   value [3]
 rates data values accessible by channel index More...
 
data_rates
 
uint8_t data_ext [MPU60X0_BUFFER_EXT_LEN]
 
struct Mpu60x0Config config
 
enum Mpu60x0SpiSlaveInitStatus slave_init_status
 

Detailed Description

Definition at line 51 of file mpu60x0_spi.h.

Field Documentation

union { ... } Mpu60x0_Spi::data_accel
volatile bool_t Mpu60x0_Spi::data_available

data ready flag

Definition at line 56 of file mpu60x0_spi.h.

Referenced by imu_aspirin2_event(), mpu60x0_spi_event(), and mpu60x0_spi_init().

uint8_t Mpu60x0_Spi::data_ext[MPU60X0_BUFFER_EXT_LEN]

Definition at line 65 of file mpu60x0_spi.h.

Referenced by imu_aspirin2_event(), and mpu60x0_spi_event().

union { ... } Mpu60x0_Spi::data_rates
struct Int16Rates Mpu60x0_Spi::rates

rates data as angular rates in gyro coordinate system

Definition at line 62 of file mpu60x0_spi.h.

Referenced by imu_aspirin2_event(), and mpu60x0_spi_event().

volatile uint8_t Mpu60x0_Spi::rx_buf[MPU60X0_BUFFER_LEN]

Definition at line 55 of file mpu60x0_spi.h.

Referenced by mpu60x0_spi_event(), and mpu60x0_spi_init().

enum Mpu60x0SpiSlaveInitStatus Mpu60x0_Spi::slave_init_status

Definition at line 67 of file mpu60x0_spi.h.

Referenced by mpu60x0_configure_i2c_slaves(), and mpu60x0_spi_init().

struct spi_periph* Mpu60x0_Spi::spi_p
volatile uint8_t Mpu60x0_Spi::tx_buf[2]

Definition at line 54 of file mpu60x0_spi.h.

Referenced by mpu60x0_spi_init(), mpu60x0_spi_read(), and mpu60x0_spi_write_to_reg().

int16_t Mpu60x0_Spi::value[3]

accel data values accessible by channel index

rates data values accessible by channel index

Definition at line 59 of file mpu60x0_spi.h.

struct Int16Vect3 Mpu60x0_Spi::vect

accel data vector in accel coordinate system

Definition at line 58 of file mpu60x0_spi.h.

Referenced by imu_aspirin2_event(), and mpu60x0_spi_event().


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