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

📄 lh7a400_mmc_driver.h

📁 sharp触摸屏测试代码
💻 H
字号:
/**********************************************************************
 * $Workfile:   LH7A400_mmc_driver.h  $
 * $Revision:   1.1  $
 * $Author:   WellsK  $
 * $Date:   Sep 14 2002 08:46:48  $
 *
 * Project: Multimedia controller interface driver
 *
 * Description:
 *  This package contains a set of standard functions used to retrieve
 *  and stored data on a Multimedia Card (MMC).
 *
 * Notes:
 *  These functions are intended to be binded with a higher level
 *  driver for interfacing and controlling the structures on the
 *  card.
 *
 * Revision History:
 * $Log:   //smaicnt2/pvcs/VM/CHIPS/archives/LH7A400/MMC/Drivers/LH7A400_mmc_driver.h-arc  $
 * 
 *    Rev 1.1   Sep 14 2002 08:46:48   WellsK
 * Corrected C++ wrapper
 * 
 *    Rev 1.0   Aug 28 2002 13:51:08   WellsK
 * Initial revision.
 * 
 *
 * SHARP MICROELECTRONICS OF THE AMERICAS MAKES NO REPRESENTATION
 * OR WARRANTIES WITH RESPECT TO THE PERFORMANCE OF THIS SOFTWARE,
 * AND SPECIFICALLY DISCLAIMS ANY RESPONSIBILITY FOR ANY DAMAGES, 
 * SPECIAL OR CONSEQUENTIAL, CONNECTED WITH THE USE OF THIS SOFTWARE.
 *
 * SHARP MICROELECTRONICS OF THE AMERICAS PROVIDES THIS SOFTWARE SOLELY 
 * FOR THE PURPOSE OF SOFTWARE DEVELOPMENT INCORPORATING THE USE OF A 
 * SHARP MICROCONTROLLER OR SYSTEM-ON-CHIP PRODUCT. USE OF THIS SOURCE
 * FILE IMPLIES ACCEPTANCE OF THESE CONDITIONS.
 *
 * COPYRIGHT (C) 2002 SHARP MICROELECTRONICS OF THE AMERICAS, INC.
 *     CAMAS, WA
 *********************************************************************/
#ifndef MMCIF_H
#define MMCIF_H

#ifdef __cplusplus
#if __cplusplus
extern "C"
{
#endif // __cplusplus
#endif // __cplusplus

#include "SMA_types.h"

//**********************************************************************
// CF functions
//**********************************************************************
// Initialize the MMC interface driver
INT_32 mmcif_init (void);

// Shutdown the MMC interface driver
void mmcif_shutdown (void);

// Determine if a card is inserted
INT_32 mmcif_is_card_inserted (void);

// Determine if a card is ready for a command
INT_32 mmcif_is_card_ready (void);

// Determine if a card is busy (processing a command)
INT_32 mmcif_is_card_busy (void);

// Set the cylinder, head, and sector
void mmcif_set_sector (UNS_32 sectorno);

// Starts the read of a single or block of sectors
void mmcif_start_sector_read (void);

// Writes a block of data to a single or block of sectors
void mmcif_start_sector_write (void);

// Read a block of data from the MMC card
INT_32 mmcif_read_data (void *data, INT_32 bytes);

// Write a block of data to the MMC card
INT_32 mmcif_write_data (void *data, INT_32 bytes);

#ifdef __cplusplus
}
#endif

#endif // MMCIF_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -