27 #ifndef IMU_ASPIRIN_2_SPI_H
28 #define IMU_ASPIRIN_2_SPI_H
31 #include "generated/airframe.h"
36 #ifndef ASPIRIN_2_GYRO_RANGE
37 #define ASPIRIN_2_GYRO_RANGE MPU60X0_GYRO_RANGE_2000
40 #ifndef ASPIRIN_2_ACCEL_RANGE
41 #define ASPIRIN_2_ACCEL_RANGE MPU60X0_ACCEL_RANGE_16G
SPI transaction structure.
Inertial Measurement Unit interface.
volatile bool slave4_ready
void imu_aspirin2_event(void)
volatile uint8_t wait_slave4_rx_buf[2]
struct ImuAspirin2Spi imu_aspirin2
void imu_aspirin2_periodic(void)
volatile uint8_t wait_slave4_tx_buf[1]
void imu_aspirin2_init(void)
struct spi_transaction wait_slave4_trans
Driver for the MPU-60X0 using SPI.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.