|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
struct Int32Rates gyro_unscaled
unscaled gyroscope measurements
enum SPIClockDiv cdiv
prescaler of main clock to use as SPI clock
enum SPIClockPolarity cpol
clock polarity control
static void high_speed_logger_spi_link_trans_cb(struct spi_transaction *trans)
uint16_t output_length
number of data words to write
void high_speed_logger_spi_link_periodic(void)
int32_t q
in rad/s with INT32_RATE_FRAC
SPI transaction structure.
@ SPISelectUnselect
slave is selected before transaction and unselected after
enum SPIBitOrder bitorder
MSB/LSB order.
struct spi_transaction high_speed_logger_spi_link_transaction
struct Int32Vect3 accel_unscaled
unscaled accelerometer measurements
volatile uint8_t * output_buf
pointer to transmit buffer for DMA
enum SPISlaveSelect select
slave selection behavior
int32_t p
in rad/s with INT32_RATE_FRAC
enum SPIClockPhase cpha
clock phase control
static volatile bool high_speed_logger_spi_link_ready
SPICallback after_cb
NULL or function called after the transaction.
bool spi_submit(struct spi_periph *p, struct spi_transaction *t)
Submit SPI transaction.
void high_speed_logger_spi_link_init(void)
@ SPICpolIdleHigh
CPOL = 1.
struct Imu imu
global IMU state
uint16_t input_length
number of data words to read
struct high_speed_logger_spi_link_data high_speed_logger_spi_link_data
enum SPIDataSizeSelect dss
data transfer word size
uint8_t slave_idx
slave id: SPI_SLAVE0 to SPI_SLAVE4
volatile uint8_t * input_buf
pointer to receive buffer for DMA
struct Int32Vect3 mag_unscaled
unscaled magnetometer measurements
int32_t r
in rad/s with INT32_RATE_FRAC