xsstuart.h

来自「pxa270 NAND flash驱动程序」· C头文件 代码 · 共 76 行

H
76
字号
/******************************************************************************
**
**  COPYRIGHT (C) 2000 Intel Corporation
**
**  FILENAME:      	xsstuart.h
**
**  PURPOSE:		This file defines the device context structure of STUART
**					used to support the Slow Infrared interface (SIR).		       
**
**  LAST MODIFIED: 12/20/2000
******************************************************************************/

#ifndef _xsstuart_h
#define _xsstuart_h

/*
************************************************************************************
*							CONSTANTS 
************************************************************************************
*/

#ifdef STUART_GLOBALS
#define EXTRN
#else
#define EXTRN extern
#endif

/*
************************************************************************************
*							DATA TYPES                
************************************************************************************
*/

typedef enum SIRModeE
{
    disableSIR = 0,
    enableSIR = 1
} SIRModeT;

typedef enum SirPolarityE
{
	positiveTXPL = 0,
	positiveRXPL = 1,
	negativeTXPL = 2,
	negativeRXPL = 3
} SirPolarityT;


/*
************************************************************************************
*                            GLOBAL VARIABLES 
************************************************************************************
*/

EXTRN UartContextT STUart;

/*
************************************************************************************
*                            FUNCTION PROTOTYPES 
************************************************************************************
*/

VOID XsSTUartSWInit (VOID);

#endif /* _xsstuart_h */










⌨️ 快捷键说明

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