bulverde_mmc.h

来自「该BSP是基于PXA270+WINCE的BSP」· C头文件 代码 · 共 61 行

H
61
字号
//
// 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: bulverde_mmc.h
//
//  Defines the multi-media card (MMC) register layout and associated 
//  types and constants.
//
#ifndef __BULVERDE_MMC_H__
#define __BULVERDE_MMC_H__

#if __cplusplus
extern "C" {
#endif

//------------------------------------------------------------------------------
//
//  Type: BULVERDE_MMC_REG    
//
//  MMC control registers.
//
typedef struct
{
    UINT32    strpc;     
    UINT32    stat;     
    UINT32    clkrt;     
    UINT32    spi;     
    UINT32    cmdat;     
    UINT32    resto;     
    UINT32    rdto;     
    UINT32    blkle;     
    UINT32    nob;     
    UINT32    prtbu;     
    UINT32    imask;     
    UINT32    ireg;     
    UINT32    cmd;     
    UINT32    argh;     
    UINT32    argl;     
    UINT32    res;     
    UINT32    rxfifo;     
    UINT32    txfifo;     

} BULVERDE_MMC_REG, *PBULVERDE_MMC_REG;

//------------------------------------------------------------------------------

#if __cplusplus
}
#endif

#endif 

⌨️ 快捷键说明

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