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

📄 scidef.h

📁 本程序为ST公司开发的源代码
💻 H
字号:
/**************************(c) STMicroelectronics *****************************//*! \file * *  Organisation:   Optical Media Storage B.U. *                  AGRATE ITALY Application Lab * *  Version Control: *    \source       sources/debug/scidef.h *    \version      0.1 *    \author       ST Agrate *    \date         00-00-00 * ******************************************************************************* *  \brief        Definition for RS232 Driver Procedures * *  \par          Change History: * *************************************************** * * STM CVS Log: * * $Log: scidef.h,v $ * Revision 1.4  2006/09/18 09:55:24  belardi * Corrected CVS keyword usage * * Revision 1.3  2006/09/18 09:25:05  belardi * Added Log CVS keyword into file header * * ******************************************************************************/#define RS232_RECEIVE_IT     0x20#define RS232_TRANSMIT_IT    0x40#define RS232_PARITY_IT      0x01#define RS232_BR_110      0x01  /* Set to 110 Bauds */#define RS232_BR_300      0x02  /* Set to 300 Bauds */#define RS232_BR_1200     0x03  /* Set to 1200 Bauds */#define RS232_BR_2400     0x04  /* Set to 2400 Bauds */#define RS232_BR_4800     0x05  /* Set to 4800 Bauds */#define RS232_BR_9600     0x06  /* Set to 9600 Bauds */#define RS232_BR_19200    0x07  /* Set to 19200 Bauds */#define RS232_BR_38400    0x08  /* Set to 38400 Bauds */#define RS232_BR_57600    0x09  /* Set to 57600 Bauds */#define RS232_BR_115200   0x0A  /* Set to 115200 Bauds */#define RS232_NO_PARITY       0x00#define RS232_PARITY          0x01#define RS232_PARITY_EVEN     0x00#define RS232_PARITY_ODD      0x02#define RS232_PARITY_NO_INT   0x00#define RS232_PARITY_INT      0x04#define RS232_ERROR             0x00#define RS232_NO_ERROR          0x01#define RS232_INVALID_BAUDRATE  0x02#define RS232_INVALID_PARITY    0x03#define RS232_TX_READY        0x80#define RS232_RX_READY        0x40#define RS232_NEW_MSG         0x20#define RS232_IDLE            0x10#define RS232_OVERRUN         0x08#define RS232_NOISE           0x04#define RS232_FRAMING_ERROR   0x02#define RS232_PARITY_ERROR    0x01#define RS232_TX_STARTED    0x01#define RS232_TX_NOT_READY  0x02/*** (c) 2003  STMicroelectronics **************************** END OF FILE ***/

⌨️ 快捷键说明

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