Hanna
Sourcecode Batteriemanagementsystem
sdcard_driver.h
gehe zur Dokumentation dieser Datei
1 
14 #ifndef sdcard_driver_h
15 #define sdcard_driver_h
16 
17 #include <stdint.h>
18 
19 void sd_card_open ( void );
20 void sd_card_close ( void );
21 
22 int sd_file_open ( const char* filename );
23 void sd_file_new ( const char* filename );
24 void sd_file_close ( void );
25 void sd_file_write_append ( const char* line );
26 uint8_t sd_file_delete ( const char* filename );
27 
28 void sd_get_Directory ( void );
29 uint8_t sd_get_disk_info ( void );
30 
31 uint16_t file_getAnzLine ( void ); // Anzahl Zeilen aktuelles file
32 uint8_t file_getLine ( uint16_t lineNr, char* zielbuffer );
33 void file_write_line ( uint16_t lineNr, const char* line );
34 
35 void set_filepointer_position ( int32_t offset );
36 
37 #endif