Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sdlog_chibios.h File Reference
#include "std.h"
#include "modules/loggers/sdlog_chibios/sdLog.h"
#include "pprzlink/pprzlink_device.h"
+ Include dependency graph for sdlog_chibios.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  chibios_sdlog
 chibios_sdlog structure More...
 

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...
 

Variables

FileDes pprzLogFile
 
struct chibios_sdlog chibios_sdlog
 

Data Structure Documentation

struct chibios_sdlog

chibios_sdlog structure

Definition at line 54 of file sdlog_chibios.h.

+ Collaboration diagram for chibios_sdlog:
Data Fields
struct link_device device Generic device interface.
FileDes * file

Function Documentation

void chibios_sdlog_init ( struct chibios_sdlog sdlog,
FileDes file 
)

init chibios_sdlog structure

Definition at line 151 of file sdlog_chibios.c.

References chibios_sdlog::device, chibios_sdlog::file, null_function(), sdlog_check_free_space(), sdlog_send(), sdlog_transmit(), and sdlog_transmit_buffer().

Referenced by flight_recorder_init(), and thd_startlog().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void sdlog_chibios_finish ( bool  flush)

Definition at line 182 of file sdlog_chibios.c.

References chibios_sdlog_status, led_disable, SDLOG_STOPPED, and sdLogFinish().

Referenced by thd_bat_survey(), and thdUsbStorage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void sdlog_chibios_init ( void  )

Definition at line 166 of file sdlog_chibios.c.

References chibios_sdlog_status, DefaultPeriodic, register_periodic_telemetry(), SDLOG_STOPPED, send_sdlog_status(), thd_startlog(), and usbStorageStartPolling().

+ Here is the call graph for this function:

Variable Documentation

Definition at line 87 of file sdlog_chibios.c.