KT24-1110_65E-HA-651B/include_lib/system/ui/font/font_sdfs.h
2024-11-10 18:44:17 +08:00

24 lines
416 B
C

#ifndef __UI_SDFS_H__
#define __UI_SDFS_H__
#ifdef __cplusplus
extern "C" {
#endif
#include "generic/typedef.h"
#include "fs/fs.h"
#define SD_SEEK_SET 0x00
#define SD_SEEK_CUR 0x01
FILE *font_sd_fopen(const char *filename, void *arg);
int font_sd_fread(FILE *fp, void *buf, u32 len);
int font_sd_fseek(FILE *fp, u8 seek_mode, u32 offset);
int font_sd_fclose(FILE *fp);
#ifdef __cplusplus
}
#endif
#endif