simple FS  v0.1.0
Functions
FS_lowLevel.h File Reference

Low-level functions to communicate with simpleFileSystem. More...

#include "sensor.h"
Include dependency graph for FS_lowLevel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ll_init_low_level (void *hw1, void *hw2, uint16_t GPIO_Pin)
 Initialise low-level memory driver. More...
 
void ll_read_info_FS (FS_Header_t *info)
 Read information from preamble. More...
 
void ll_init_data_buffer (void)
 
FS_state ll_add_meta_sensor (uint8_t index, SimpleFS_t *fs)
 Write information about sensor in FLASH. More...
 
uint8_t ll_detect_num_files (void)
 Detect the numbers files in sensorFS. More...
 
FS_state ll_write_file_header (SimpleFS_t *fs)
 Write file header in flashFS. More...
 
FS_state ll_read_file_info (uint8_t id_file, SimpleFS_t *fs)
 Read file header from FLASH. More...
 
int8_t ll_check_block (uint32_t addr, uint32_t len)
 Check data block of file record. More...
 
FS_state ll_add_file_record (uint8_t data[], uint8_t len, uint8_t offset)
 Prepare data buffer to write sensor values. More...
 
FS_state ll_write_data (uint32_t address, uint32_t length)
 
uint8_t * ll_get_preamble (void)
 
void ll_dump_memory (void)
 
void ll_write_preamble (uint8_t *data)
 
uint64_t ll_memory_id (void)
 
uint8_t ll_memory_capacity (void)
 
uint8_t ll_memory_manufacturer (void)
 
uint8_t ll_memory_type (void)
 

Detailed Description

Low-level functions to communicate with simpleFileSystem.

Date
19. 12. 2020
Author
juraj