19 lines
375 B
C
19 lines
375 B
C
#pragma once
|
|
|
|
#include <stdio.h>
|
|
|
|
#define MAX_SIMULTANEOUS_OPEN_FILES 2
|
|
|
|
void sd_init(void);
|
|
void sd_destroy(void);
|
|
|
|
void print_sd_card_info(void);
|
|
|
|
FILE* sd_open_read(const char* filename);
|
|
FILE* sd_open_write(const char* filename);
|
|
void sd_close_file(FILE* file);
|
|
|
|
size_t sd_get_file_count(void);
|
|
const char* sd_get_next_file(void);
|
|
const char* sd_get_previous_file(void);
|