📄 serialflash_x_hw.h
字号:
/*
**********************************************************************
* Micrium, Inc.
* 949 Crestview Circle
* Weston, FL 33327-1848
*
* uC/FS
*
* (c) Copyright 2001 - 2003, Micrium, Inc.
* All rights reserved.
*
***********************************************************************
----------------------------------------------------------------------
File : SerialFlash_X_HW.h
Purpose : Serial Flash hardware layer
---------------------------END-OF-HEADER------------------------------
*/
#ifndef __SERIALFLASH_X_HW_H__
#define __SERIALFLASH_X_HW_H__
/*********************************************************************
*
* Global function prototypes
*
**********************************************************************
*/
/* Control line functions */
void FS_SF_HW_X_BusyLedOff (FS_U8 Unit);
void FS_SF_HW_X_BusyLedOn (FS_U8 Unit);
void FS_SF_HW_X_EnableCS (FS_U8 Unit);
void FS_SF_HW_X_DisableCS (FS_U8 Unit);
int FS_SF_HW_X_Init (FS_U8 Unit);
/* Data transfer functions */
void FS_SF_HW_X_Read (FS_U8 Unit, FS_U8 * pData, int NumBytes);
void FS_SF_HW_X_Write(FS_U8 Unit, const FS_U8 * pData, int NumBytes);
#endif /* __SERIALFLASH_X_HW_H__ */
/*************************** End of file ****************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -