⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 functions.h

📁 嵌入式linux(arm9)的平台下
💻 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 + -