Paparazzi UAS
v7.0_unstable
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 40 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 59 of file high_speed_logger_spi_link.c.
References ABI_BROADCAST, high_speed_logger_spi_link_data::acc_x, high_speed_logger_spi_link_data::acc_y, high_speed_logger_spi_link_data::acc_z, 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, high_speed_logger_spi_link_ready, high_speed_logger_spi_link_transaction, hsl_accel, hsl_gyro, hsl_mag, high_speed_logger_spi_link_data::id, imu_get_accel(), imu_get_gyro(), imu_get_mag(), 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(), imu_gyro_t::unscaled, imu_accel_t::unscaled, imu_mag_t::unscaled, Int32Vect3::x, Int32Vect3::y, and Int32Vect3::z.