ide.h
上传用户:yj_qqy
上传日期:2017-01-28
资源大小:2911k
文件大小:1k
源码类别:

uCOS

开发平台:

C/C++

  1. /*
  2. **********************************************************************
  3. *                          Micrium, Inc.
  4. *                      949 Crestview Circle
  5. *                     Weston,  FL 33327-1848
  6. *
  7. *                            uC/FS
  8. *
  9. *             (c) Copyright 2001 - 2003, Micrium, Inc.
  10. *                      All rights reserved.
  11. *
  12. ***********************************************************************
  13. ----------------------------------------------------------------------
  14. File        : ide.h
  15. Purpose     : Header file for the file system's IDE driver
  16. ----------------------------------------------------------------------
  17. Known problems or limitations with current version
  18. ----------------------------------------------------------------------
  19. None.
  20. ---------------------------END-OF-HEADER------------------------------
  21. */
  22. #ifndef __IDE_H__
  23. #define __IDE_H__
  24. #include "at91rm9200hdd.h"
  25. /*********************************************************************
  26. *
  27. *             Global function prototypes
  28. *
  29. **********************************************************************
  30. */
  31. int FS__IDE_Init(FS_u32 Unit);
  32. int FS__IDE_ReadSector(FS_u32 Unit,unsigned long Sector,unsigned char *pBuffer);
  33. int FS__IDE_WriteSector(FS_u32 Unit,unsigned long Sector,unsigned char *pBuffer);
  34. #endif  /* __IDE_H__ */