xsstuart.h

来自「uart实验源码!希望你可以给你们带来帮助!谢谢可以跟大家分享!」· C头文件 代码 · 共 66 行

H
66
字号
/****************************************************************************** 
** 
** 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 + -
显示快捷键?