|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
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) |
| static const char * | sdlog_error_string (SdioError error) |
| Human readable cause of a logger error, for the messages to the GCS. | |
| void | chibios_sdlog_init (struct chibios_sdlog *sdlog, FileDes *file) |
| init chibios_sdlog structure | |
| 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 85 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 48 of file sdlog_chibios.h.
Referenced by flight_recorder_log_msg_up(), and logger_log_msg_up().
| #define DEST_INFO_MSG_FLIGHT_RECORDER 1 |
Definition at line 49 of file sdlog_chibios.h.
Referenced by flight_recorder_log_msg_up().
| #define DEST_INFO_MSG_PPRZLOG 2 |
Definition at line 50 of file sdlog_chibios.h.
Referenced by logger_log_msg_up().
|
extern |
init chibios_sdlog structure
Definition at line 239 of file sdlog_chibios.c.
References chibios_sdlog::device, chibios_sdlog::file, null_byte_function(), null_function(), sdlog_check_free_space(), sdlog_put_buffer(), sdlog_put_byte(), sdlog_send(), sdlog_transmit(), and sdlog_transmit_buffer().
Referenced by flight_recorder_init(), sdlog_chibios_init(), and thd_startlog().
|
extern |
Definition at line 455 of file sdlog_chibios.c.
References DEST_INFO_MSG_ALL, DEST_INFO_MSG_PPRZLOG, fd, pprzLogFile, sdLogWriteByte(), and sdLogWriteRaw().
|
extern |
Definition at line 274 of file sdlog_chibios.c.
References chibios_sdlog_status, pprzLogFile, sdlog_files, SDLOG_MAX_FILES, sdlog_status, SDLOG_STOPPED, and sdLogFinish().
Referenced by sdlog_atexit(), and thdUsbStorage().
|
extern |
Definition at line 254 of file sdlog_chibios.c.
References chibios_sdlog_init(), chibios_sdlog_status, DefaultPeriodic, dir, get_sys_time_float(), PPRZ_LOG_DIR, PPRZ_LOG_NAME, pprzLogFile, preflight_check_register(), register_periodic_telemetry(), sdlog_atexit(), sdlog_conf_error, SDLOG_DIR, SDLOG_ERROR, sdlog_error, sdlog_filenames, sdlog_last_flush, SDLOG_OK, sdlog_open(), SDLOG_RUNNING, sdlog_status, SDLOG_STOPPED, send_sdlog_status(), thd_startlog(), and usbStorageStartPolling().
|
inlinestatic |
Human readable cause of a logger error, for the messages to the GCS.
Definition at line 63 of file sdlog_chibios.h.
References SDLOG_CANNOT_EXPAND, SDLOG_FATFS_ERROR, SDLOG_FATFS_NOENT, SDLOG_FDFULL, SDLOG_FSFULL, SDLOG_INTERNAL_ERROR, SDLOG_LOGNUM_ERROR, SDLOG_MEMFULL, SDLOG_NOCARD, SDLOG_NOTHREAD, SDLOG_OK, SDLOG_QUEUEFULL, and SDLOG_WAS_LAUNCHED.
Referenced by sdlog_report_status(), and sdlog_report_status().
|
extern |
Definition at line 104 of file sdlog_chibios.c.
|
extern |
Definition at line 102 of file sdlog_chibios.c.