![]()  | 
  
    simple FS
    v0.1.0
    
   | 
 
Simple file system for application of sensoric and primitive data types . More...
#include "module_time.h"#include "module_adc.h"#include "module_data.h"#include "module_ow_bus.h"#include "FS_lowLevel.h"
Go to the source code of this file.
Functions | |
| void | FS_init (void *hw_obj1, void *hw_obj2, uint16_t hw_obj3) | 
| Init the sensorFS filesystem.  | |
| uint8_t | FS_create_file () | 
| Begin file creation procedure.  More... | |
| SimpleFS_t * | FS_open_file (uint8_t id_file) | 
| Try open to file with given ID.  More... | |
| SimpleFS_t * | FS_open_last_file (void) | 
| Open last file on sensorFS.  More... | |
| FS_state | FS_write_preamble (void) | 
| Write preamble aprt in sensorFS, if not exists.  More... | |
| uint8_t | FS_num_files (void) | 
| Return number of files, that is stored in internal info structure.  More... | |
| uint8_t | FS_detect_num_files (void) | 
| Return number of files.  More... | |
| FS_state | FS_commit_file_header (void) | 
| Finish write information about created file.  More... | |
| uint8_t | FS_is_empty (void) | 
| Check, that sensorFS/FLASH is empty.  More... | |
| SensorInterface_t * | FS_sensor_driver (uint8_t sensor_part) | 
| Return driver for attached sensor.  More... | |
| FS_state | file_add_sensor (uint8_t index, uint8_t index_in_driver, SensorInterface_t *sensor) | 
| Add new sensor to created file.  More... | |
| uint8_t | file_get_num_parts (SimpleFS_t *fs) | 
| Return number parts of opened file.  More... | |
| uint32_t | file_data_row_begin (SimpleFS_t *fs) | 
| Initialize internal data structures for new data record.  More... | |
| FS_state | file_store_data (SimpleFS_t *fs, uint8_t index, SensorValue_t *value) | 
| Prepare measured value to file buffer.  More... | |
| void | file_data_row_commit (SimpleFS_t *fs) | 
| Write prepared measured values (by file_store_data} function) to FLASH.  More... | |
| uint16_t | file_record_length (SimpleFS_t *fileP) | 
| Return length of record.  More... | |
| RecordDescriptor_t | file_column_format (SimpleFS_t *fileP, uint8_t index_part) | 
| Return format of i-th sensor inf datafile.  More... | |
| uint32_t | file_size (SimpleFS_t *fs) | 
| Return file size in Bytes.  More... | |
| void | file_data_prepare (void) | 
| Start value measure on all sensors.  More... | |
| void | file_dump_memory (void) | 
Simple file system for application of sensoric and primitive data types .
 1.8.17