?? xsstuart.h
字號:
/******************************************************************************
**
** 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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -