📄 functions.h
字号:
#ifndef FUNCTIONS_H#define FUNCTIONS_H#include "example.h"typedef int(*DATA_OPEN_FUNCTION)(const char*);typedef int(*DATA_CLOSE_FUNCTION)();typedef int(*DATA_READ_FUNCTION)(void*, int);typedef int(*DISK_OPEN_FUNCTION)(int);typedef int(*DISK_CLOSE_FUNCTION)();typedef int(*DISK_READ_FUNCTION)(int, int, void*);typedef struct DataFunctions{ DATA_OPEN_FUNCTION open; DATA_CLOSE_FUNCTION close; DATA_READ_FUNCTION read;}DataFunctions;typedef struct DiskFunctions{ DISK_OPEN_FUNCTION open; DISK_CLOSE_FUNCTION close; DISK_READ_FUNCTION read;}DiskFunctions;DiskFunctions getPCMCIAFunctions();#ifdef CONFIG_HWBLOCK_IDEDiskFunctions getIDEFunctions();#endifDiskFunctions getIDEFunctions();DataFunctions getFATFunctions();DataFunctions getFlashFunctions();#ifdef CONFIG_HWBLOCK_NAND_FLASHDataFunctions getNandFunctions();#endifDiskFunctions getSDFunctions();#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -