⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mmc_x_hw.h

📁 此为整套uC/FS程序
💻 H
字号:
/*
**********************************************************************
*                          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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -