Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Functions | |
static void | high_speed_logger_spi_link_trans_cb (struct spi_transaction *trans) |
void | high_speed_logger_spi_link_init (void) |
void | high_speed_logger_spi_link_periodic (void) |
Variables | |
struct high_speed_logger_spi_link_data | high_speed_logger_spi_link_data |
struct spi_transaction | high_speed_logger_spi_link_transaction |
static volatile bool | high_speed_logger_spi_link_ready = true |
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.
|
static |
Definition at line 83 of file high_speed_logger_spi_link.c.
References high_speed_logger_spi_link_ready.
Referenced by high_speed_logger_spi_link_init().
Definition at line 29 of file high_speed_logger_spi_link.c.
Referenced by high_speed_logger_spi_link_init().
|
static |
Definition at line 32 of file high_speed_logger_spi_link.c.
Referenced by high_speed_logger_spi_link_periodic(), and high_speed_logger_spi_link_trans_cb().
struct spi_transaction high_speed_logger_spi_link_transaction |
Definition at line 30 of file high_speed_logger_spi_link.c.
Referenced by high_speed_logger_spi_link_init(), and high_speed_logger_spi_link_periodic().