⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xsstuart.h

📁 uart实验源码!希望你可以给你们带来帮助!谢谢可以跟大家分享!
💻 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 + -