Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Functions | |
void | generic_com_init (void) |
void | generic_com_periodic (void) |
void | generic_com_event (void) |
void | start_com (void) |
void | stop_com (void) |
void generic_com_event | ( | void | ) |
Definition at line 92 of file generic_com.c.
References com_trans, I2CTransDone, I2CTransFailed, I2CTransSuccess, and i2c_transaction::status.
void generic_com_init | ( | void | ) |
Definition at line 52 of file generic_com.c.
References active_com, com_trans, I2CTransDone, and i2c_transaction::status.
void generic_com_periodic | ( | void | ) |
Definition at line 70 of file generic_com.c.
References active_com, LlaCoor_i::alt, autopilot_flight_time, i2c_transaction::buf, com_trans, GpsState::course, electrical, energy, FillBufWith16bit, FillBufWith32bit, GENERIC_COM_I2C_DEV, GENERIC_COM_SLAVE_ADDR, gps, GpsState::gspeed, i2c_transmit(), I2CTransDone, LlaCoor_i::lat, GpsState::lla_pos, LlaCoor_i::lon, MAX_PPRZ, nav_block, NB_DATA, pprz_mode, stateGetAirspeed_f(), i2c_transaction::status, and Electrical::vsupply.
void start_com | ( | void | ) |
Definition at line 100 of file generic_com.c.
References active_com, com_trans, I2CTransDone, and i2c_transaction::status.
void stop_com | ( | void | ) |
Definition at line 106 of file generic_com.c.
References active_com, i2c_transaction::buf, com_trans, GENERIC_COM_I2C_DEV, GENERIC_COM_SLAVE_ADDR, and i2c_transmit().