Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
#include "modules/loggers/sdlog_chibios/sdLog.h"
#include "pprzlink/pprzlink_device.h"
Go to the source code of this file.
Data Structures | |
struct | chibios_sdlog |
chibios_sdlog structure More... | |
Macros | |
#define | DEST_INFO_MSG_ALL 0 |
#define | DEST_INFO_MSG_FLIGHT_RECORDER 1 |
#define | DEST_INFO_MSG_PPRZLOG 2 |
Functions | |
void | sdlog_chibios_init (void) |
void | sdlog_chibios_finish (bool flush) |
void | chibios_sdlog_init (struct chibios_sdlog *sdlog, FileDes *file) |
init chibios_sdlog structure More... | |
void | logger_log_msg_up (uint8_t *buf) |
Variables | |
FileDes | pprzLogFile |
struct chibios_sdlog | chibios_sdlog |
struct chibios_sdlog |
chibios_sdlog structure
Definition at line 58 of file sdlog_chibios.h.
Data Fields | ||
---|---|---|
struct link_device | device | Generic device interface. |
FileDes * | file |
#define DEST_INFO_MSG_ALL 0 |
Definition at line 42 of file sdlog_chibios.h.
#define DEST_INFO_MSG_FLIGHT_RECORDER 1 |
Definition at line 43 of file sdlog_chibios.h.
#define DEST_INFO_MSG_PPRZLOG 2 |
Definition at line 44 of file sdlog_chibios.h.
void chibios_sdlog_init | ( | struct chibios_sdlog * | sdlog, |
FileDes * | file | ||
) |
init chibios_sdlog structure
Definition at line 172 of file sdlog_chibios.c.
References chibios_sdlog::device, chibios_sdlog::file, null_byte_function(), null_function(), sdlog_check_free_space(), sdlog_send(), sdlog_transmit(), and sdlog_transmit_buffer().
Referenced by flight_recorder_init(), and thd_startlog().
void logger_log_msg_up | ( | uint8_t * | buf | ) |
Definition at line 373 of file sdlog_chibios.c.
References DEST_INFO_MSG_ALL, DEST_INFO_MSG_PPRZLOG, fd, msg, and pprzLogFile.
void sdlog_chibios_finish | ( | bool | flush | ) |
Definition at line 207 of file sdlog_chibios.c.
References chibios_sdlog_status, pprzLogFile, SDLOG_STOPPED, and sdLogFinish().
Referenced by thdUsbStorage().
void sdlog_chibios_init | ( | void | ) |
Definition at line 187 of file sdlog_chibios.c.
References chibios_sdlog_status, DefaultPeriodic, preflight_check_register(), register_periodic_telemetry(), SDLOG_STOPPED, send_sdlog_status(), thd_startlog(), and usbStorageStartPolling().
|
extern |
Definition at line 75 of file sdlog_chibios.c.
|
extern |
Definition at line 75 of file sdlog_chibios.c.
Referenced by airspeed_cb(), airspeed_ets_read_event(), aoa_pwm_update(), apogee_baro_event(), baro_cb(), dw1000_arduino_periodic(), gps_cb(), gps_ubx_parse(), gyro_cb(), humid_sht_periodic(), incidence_cb(), ins_float_invariant_propagate(), ins_mekf_wind_wrapper_init(), logger_control_effectiveness_periodic(), logger_control_effectiveness_start(), logger_log_msg_up(), mag_cb(), mf_daq_send_report(), mf_ptu_periodic(), pressure_diff_cb(), process_data(), sdlog_chibios_finish(), temod_event(), thd_startlog(), wind_estimator_init(), and wind_estimator_step().