|
MAV'RIC
|
The structure to log the data. More...
#include <data_logging.h>

Public Attributes | |
| bool | debug |
| Indicates if debug messages should be printed for each param change. | |
| data_logging_set_t * | data_logging_set |
| Pointer to a set of parameters, needs memory allocation. | |
| FRESULT | fr |
| The result of the fatfs functions. | |
| FATFS | fs |
| The fatfs handler. | |
| FIL | fil |
| The fatfs file handler. | |
| uint32_t | time_ms |
| The microcontroller time in ms. | |
| int | buffer_name_size |
| The buffer for the size of the file's name. | |
| int | buffer_add_size |
| The buffer for the size of the file's extension char*. | |
| char * | file_name |
| The file name. | |
| char * | name_n_extension |
| Stores the name of the file. | |
| bool | file_init |
| A flag to tell whether a file is init or not. | |
| bool | file_opened |
| A flag to tell whether a file is opened or not. | |
| bool | file_name_init |
| A flag to tell whether a valid name was proposed. | |
| bool | sys_mounted |
| A flag to tell whether the file system is mounted. | |
| uint32_t | loop_count |
| Counter to try to mount the SD card many times. | |
| uint32_t | logging_time |
| The time that we've passed logging since the last f_close. | |
| uint32_t | log_data |
| A flag to stop/start writing to file. | |
| uint32_t | sys_id |
| the system ID | |
| const state_t * | state |
| The pointer to the state structure. | |
The structure to log the data.
data_logging_set is implemented as pointer because its memory will be allocated during initialisation
1.8.9.1