基于uCOS/II制作的MP3

源代码在线查看: hard.h

软件大小: 773 K
上传用户: suroot2005
关键词: uCOS MP3 II
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*H**************************************************************************
				* NAME:         hard.h
				*----------------------------------------------------------------------------
				* Copyright (c) 2003 Atmel.
				*----------------------------------------------------------------------------
				* RELEASE:      snd1c-refd-nf-4_0_3      
				* REVISION:     1.19     
				*----------------------------------------------------------------------------
				* PURPOSE:
				* This file contains the low-level memory definition
				*****************************************************************************/
				
				#ifndef _HARD_H_
				#define _HARD_H_
				
				/*_____ I N C L U D E S ____________________________________________________*/
				
				  #include "lib_mcu\ide\ideio.h"              /* hard disk definition */
				  #define Hard_init()                       OK
				  #define Hard_install()                    ata_install()
				  #define Hard_uninstall()                  hdd_uninstall()
				  #define Hard_read_byte()                  hdd_read_byte()
				  #define Hard_read_open(pos)               hdd_read_open(pos)
				  #define Hard_read_close()                 hdd_read_close()
				  #define Hard_write_byte(b)                hdd_write_byte(b)
				  #define Hard_write_open(pos)              hdd_write_open(pos)
				  #define Hard_write_close()                hdd_write_close()
				  #define Hard_format()                     hdd_format()
				  #define Hard_read_long_big_endian()       hdd_read_long_big_endian()
				  #define Hard_read_one_sector()            hdd_read_one_sector()
				  #define Hard_write_one_sector()           hdd_write_one_sector()
				  #define Hard_get_capacity()               (Uint32)(hdd_mem_size)
				
				
				#endif  /* _HARD_H_ */
				
							

相关资源