ide_x_hw.h
来自「ucfsv2.36 trail,包含VC工作空间」· C头文件 代码 · 共 55 行
H
55 行
/*
**********************************************************************
* Micrium, Inc.
* 949 Crestview Circle
* Weston, FL 33327-1848
*
* uC/FS
*
* (c) Copyright 2001 - 2007, Micrium, Inc.
* All rights reserved.
*
***********************************************************************
**** 礐/FS file system for embedded applications ****
礐/FS is protected by international copyright laws. Knowledge of the
source code may not be used to write a similar product. This file may
only be used in accordance with a license and should not be re-
distributed in any way. We appreciate your understanding and fairness.
----------------------------------------------------------------------
File : IDE_X_HW.h
Purpose : IDE hardware layer
----------------------------------------------------------------------
Known problems or limitations with current version
----------------------------------------------------------------------
None.
---------------------------END-OF-HEADER------------------------------
*/
#ifndef __IDE_X_HW_H__
#define __IDE_X_HW_H__
#include "Global.h"
/*********************************************************************
*
* Global function prototypes
*
**********************************************************************
*/
/* Control line functions */
void FS_IDE_HW_Reset (U8 Unit);
int FS_IDE_HW_IsPresent (U8 Unit);
void FS_IDE_HW_Delay400ns(U8 Unit);
U16 FS_IDE_HW_ReadReg (U8 Unit, unsigned AddrOff);
void FS_IDE_HW_ReadData (U8 Unit, U8 * pData, unsigned NumBytes);
void FS_IDE_HW_WriteData(U8 Unit, const U8 * pData, unsigned NumBytes);
void FS_IDE_HW_WriteReg (U8 Unit, unsigned AddrOff, U16 Data);
/* Status detection functions */
#endif /* __IDE_X_HW_H__ */
/*************************** End of file ****************************/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?