?? s3c2443_hsmmc.h.svn-base
字號:
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
//------------------------------------------------------------------------------
//
// Header: s3c2443_hsmmc.h
//
// Defines the High speed MMC controller CPU register layout and
// definitions.
//
#ifndef __S3C2443_HSMMC_H
#define __S3C2443_HSMMC_H
#if __cplusplus
extern "C"
{
#endif
//------------------------------------------------------------------------------
// Type: S3C2443_HSMMC_REG
//
// High speed MMC Control Registers. This register bank is located by the constant
// CPU_BASE_REG_XX_SDI in the configuration file cpu_base_reg_cfg.h.
//
typedef struct
{
UINT32 SYSAD; // 0x00
UINT16 BLKSIZE; // 0x04
UINT16 BLKCNT; // 0x06
UINT32 ARGUMENT; // 0x08
UINT16 TRNMOD; // 0x0C
UINT16 CMDREG; // 0x0E
UINT32 RSPREG0; // 0x10
UINT32 RSPREG1; // 0x14
UINT32 RSPREG2; // 0x18
UINT32 RSPREG3; // 0x1C
UINT32 BDATA; // 0x20
UINT32 PRNSTS; // 0x24
UINT8 HOSTCTL; // 0x28
UINT8 PWRCON; // 0x29
UINT8 BLKGAP; // 0x2A
UINT8 WAKCON; // 0x2B
UINT16 CLKCON; // 0x2C
UINT8 TIMEOUTCON; // 0x2E
UINT8 SWRST; // 0x2F
UINT16 NORINTSTS; // 0x30
UINT16 ERRINTSTS; // 0x32
UINT16 NORINTSTSEN; // 0x34
UINT16 ERRINTSTSEN; // 0x36
UINT16 NORINTSIGEN; // 0x38
UINT16 ERRINTSIGEN; // 0x3A
UINT16 ACMD12ERRSTS; // 0x3C
UINT16 PAD1; // 0x3E
UINT32 CAPAREG; // 0x40
UINT32 PAD2; // 0x44
UINT32 MAXCURR; // 0x48
UINT32 PAD3[13]; // 0x4C ~ 0x7C
UINT32 CONTROL2; // 0x80
UINT32 CONTROL3; // 0x84
UINT32 PAD4[29]; // 0x88 ~ 0xF8
UINT16 PAD5; // 0xFC
UINT16 HCVER; // 0xFE
} S3C2443_HSMMC_REG, *PS3C2443_HSMMC_REG;
#if __cplusplus
}
#endif
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -