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

📄 disk_rp.h

📁 本程序是在ucos ii 下的一个读写硬盘的C源程序。可供在他人开发嵌入式系统的读写硬盘时参考。
💻 H
字号:
#ifndef _DISK_RP_H
#define _DISK_RP_H

typedef enum {
	DISK_RECORD,
	DISK_PLAY,
	DISK_RP,
	DISK_REC_STOP,
	DISK_PLAY_STOP
}disk_opration_t;

typedef struct {
	unsigned char fileid;
	unsigned int pcrpid;
	unsigned int videopid;
	unsigned int audiopid;
	unsigned int start_lb;
	unsigned int cur_play_lb;
        unsigned int cur_rec_lb;
        unsigned int filesize;
} file_t;

HR_BOOL dmux_set_play_pid(HR_U8 tpsel, const file_t *fp);
HR_BOOL dmux_set_record_pid(HR_U8 rec_ctrl, const file_t *fp);

void disk_rp(disk_opration_t op);
void disk_showmenu(void);
HR_VOID disk_setmenupara(HR_VOID);
HR_VOID disk_DrawMenuItem(HR_U8 ucItemNo);
HR_VOID disk_DrawWindow(HR_U16 w_posX, HR_U16 w_posY, HR_U16 w_width, HR_U16 w_height, char * w_title);


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -