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

📄 sdio_def.h

📁 8032底层驱动部分。因为可以移植 所以单独来拿出来
💻 H
字号:
/*****************************************************************************
*  Copyright Statement:
*  --------------------
*  This software is protected by Copyright and the information contained
*  herein is confidential. The software may not be copied and the information
*  contained herein may not be used or disclosed except with the written
*  permission of MediaTek Inc. (C) 2001
*
*****************************************************************************/

/*****************************************************************************
 *
 * Filename:
 * ---------
 *   Sd_def.h
 *
 * Project:
 * --------
 *   Maui_Software
 *
 * Description:
 * ------------
 *   Header file of SDIO driver
 *
 * Author:
 * -------
 * -------
 *
 *============================================================================
 *             HISTORY
 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *------------------------------------------------------------------------------

 *------------------------------------------------------------------------------
 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *============================================================================ 
 ****************************************************************************/
#ifndef SDIO_DEF_H
#define SDIO_DEF_H
/*HW part*/
#define SDIO_CFG				(MSDC_ADRS+0x54)
#define SDIO_STA				(MSDC_ADRS+0x58)
#define SDC_CFG_SDIO		0x00080000
#define SDiO_CFG_INTEN		0x1	// enable interrupt
#define SDiO_CFG_INTSEL		0x2	// interrupt signal selection 0: use DAT[1], 1: use DAT[5]
#define SDiO_CFG_DSBSEL		0x4	// data block start bit selection

#define SDIO_R4_CARD_READY		0x80
#define IO_ARG_RW_FLAG			0x80000000
#define IO_ARG_RAW_FLAG			0x08000000		
#define MSDC_WORK_OCR			0x8000

#endif // end of SD_DEF_H

⌨️ 快捷键说明

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