Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
Go to the source code of this file.
Data Structures | |
struct | high_speed_logger_spi_link_data |
Macros | |
#define | PACKED __attribute__((__packed__)) |
Functions | |
void | high_speed_logger_spi_link_init (void) |
void | high_speed_logger_spi_link_periodic (void) |
struct high_speed_logger_spi_link_data |
#define PACKED __attribute__((__packed__)) |
Definition at line 31 of file high_speed_logger_spi_link.h.
void high_speed_logger_spi_link_init | ( | void | ) |
Definition at line 36 of file high_speed_logger_spi_link.c.
References spi_transaction::after_cb, spi_transaction::bitorder, spi_transaction::cdiv, spi_transaction::cpha, spi_transaction::cpol, spi_transaction::dss, high_speed_logger_spi_link_data, high_speed_logger_spi_link_trans_cb(), high_speed_logger_spi_link_transaction, high_speed_logger_spi_link_data::id, spi_transaction::input_buf, spi_transaction::input_length, spi_transaction::output_buf, spi_transaction::output_length, spi_transaction::select, spi_transaction::slave_idx, SPICphaEdge2, SPICpolIdleHigh, SPIDiv64, SPIDss8bit, SPIMSBFirst, and SPISelectUnselect.
void high_speed_logger_spi_link_periodic | ( | void | ) |
Definition at line 55 of file high_speed_logger_spi_link.c.
References high_speed_logger_spi_link_data::acc_x, high_speed_logger_spi_link_data::acc_y, high_speed_logger_spi_link_data::acc_z, Imu::accel_unscaled, counter, high_speed_logger_spi_link_data::gyro_p, high_speed_logger_spi_link_data::gyro_q, high_speed_logger_spi_link_data::gyro_r, Imu::gyro_unscaled, high_speed_logger_spi_link_ready, high_speed_logger_spi_link_transaction, high_speed_logger_spi_link_data::id, imu, Imu::mag_unscaled, high_speed_logger_spi_link_data::mag_x, high_speed_logger_spi_link_data::mag_y, high_speed_logger_spi_link_data::mag_z, Int32Rates::p, Int32Rates::q, Int32Rates::r, spi_submit(), Int32Vect3::x, Int32Vect3::y, and Int32Vect3::z.