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

📄 s3c2443_hsspi.h

📁 2443 wince5.0 bsp, source code
💻 H
字号:
//
// 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_hsspi.h
//
//  Defines the High Speed Serial Peripheral Interface (HS-SPI) controller CPU register layout and
//  definitions.
//
#ifndef __S3C2443_HSSPI_H
#define __S3C2443_HSSPI_H

#if __cplusplus
    extern "C" 
    {
#endif


//------------------------------------------------------------------------------
//  Type: S3C2443_HSSPI_REG    
//
//  Defines the HS-SPI register layout. This register bank is located by the 
//  constant CPU_REG_BASE_XX_HSSPI in the configuration file cpu_reg_base_cfg.h.
//

typedef struct  
{
    UINT32      CH_CFG;                         //0x00
    UINT32      CLK_CFG;                        //0x04
    UINT32      MODE_CFG;                       //0x08
    UINT32      SLAVE_SELECTION_REG;            //0x0C
    UINT32      SP_INT_EN;                      //0x10
    UINT32      SPI_STATUS;                     //0x14
    UINT32      SPI_TX_DATA;                    //0x18
    UINT32      SPI_RX_DATA;                    //0x1C
    UINT32      PACKET_COUNT_REG;               //0x20
    UINT32      PENDING_CLR_REG;                //0x24

} S3C2443_HSSPI_REG, *PS3C2443_HSSPI_REG; 


#if __cplusplus
    }
#endif

#endif 

⌨️ 快捷键说明

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