bulverde_ssp.h

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

H
47
字号
//
// 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_ssp.h
//
//  Defines the Synchronous Serial Port (SSP) controller CPU register layout and
//  definitions.
//
#ifndef __BULVERDE_SSP_H
#define __BULVERDE_SSP_H

#if __cplusplus
    extern "C" 
    {
#endif

//------------------------------------------------------------------------------
//  Type: BULVERDE_SSP_REG    
//
//  Defines the SSP register layout.
//

typedef struct
{
    UINT32    sscr0;	// SSP control register 0.
    UINT32    sscr1;	// SSP control register 1.
    UINT32    ssr;		// SSP status register.
    UINT32    ssitr;    // SSP interrupt test register.
    UINT32    ssdr;		// SSP data read/write register.

} BULVERDE_SSP_REG, *PBULVERDE_SSP_REG;

#if __cplusplus
    }
#endif

#endif 

⌨️ 快捷键说明

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