mmc_x_hw.h
来自「ucfsv2.36 trail,包含VC工作空间」· C头文件 代码 · 共 54 行
H
54 行
/*
**********************************************************************
* 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 : MMC_X_HW.h
Purpose : MMC hardware layer
---------------------------END-OF-HEADER------------------------------
*/
#ifndef __MMC_X_HW_H__
#define __MMC_X_HW_H__
/*********************************************************************
*
* Global function prototypes
*
**********************************************************************
*/
/* Control line functions */
void FS_MMC_HW_X_EnableCS (U8 Unit);
void FS_MMC_HW_X_DisableCS (U8 Unit);
/* Medium status functions */
int FS_MMC_HW_X_IsPresent (U8 Unit);
int FS_MMC_HW_X_IsWriteProtected (U8 Unit);
/* Operation condition detection & adjusting */
U16 FS_MMC_HW_X_SetMaxSpeed(U8 Unit, U16 MaxFreq);
int FS_MMC_HW_X_SetVoltage (U8 Unit, U16 Vmin, U16 Vmax);
/* Data transfer functions */
void FS_MMC_HW_X_Read (U8 Unit, U8 * pData, int NumBytes);
void FS_MMC_HW_X_Write(U8 Unit, const U8 * pData, int NumBytes);
#endif /* __MMC_X_HW_H__ */
/*************************** End of file ****************************/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?