📄 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 + -