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

📄 blscidef.h

📁 本程序为ST公司开发的源代码
💻 H
字号:
/**************************(c) STMicroelectronics *****************************/
/*! \file
 *
 * CVS ID:   $Id: blscidef.h,v 1.5 2007/02/15 13:10:13 marcucci Exp $
 * Author:   Maurizio Marcucci [MM] - STM
 * Date:     $Date: 2007/02/15 13:10:13 $
 * Revision: $Revision: 1.5 $
 *
 *  Project Scope:  CDM M8
 *
 *  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: blscidef.h,v $ * Revision 1.5  2007/02/15 13:10:13  marcucci * Bootloader Optimization *
 * Revision 1.4  2006/09/18 09:55:20  belardi
 * Corrected CVS keyword usage
 *
 * Revision 1.3  2006/09/18 09:22:15  belardi
 * Added Log CVS keyword into file header
 *
 *
 ******************************************************************************/

#define BL_RS232_RECEIVE_IT     0x20
#define BL_RS232_TRANSMIT_IT    0x40
#define BL_RS232_PARITY_IT      0x01

#define BL_RS232_NO_PARITY       0x00
#define BL_RS232_PARITY          0x01
#define BL_RS232_PARITY_EVEN     0x00
#define BL_RS232_PARITY_ODD      0x02
#define BL_RS232_PARITY_NO_INT   0x00
#define BL_RS232_PARITY_INT      0x04

#define BL_RS232_ERROR             0x00
#define BL_RS232_NO_ERROR          0x01
#define BL_RS232_INVALID_BAUDRATE  0x02
#define BL_RS232_INVALID_PARITY    0x03

#define BL_RS232_TX_READY        0x80
#define BL_RS232_RX_READY        0x40
#define BL_RS232_NEW_MSG         0x20
#define BL_RS232_IDLE            0x10
#define BL_RS232_OVERRUN         0x08
#define BL_RS232_NOISE           0x04
#define BL_RS232_FRAMING_ERROR   0x02
#define BL_RS232_PARITY_ERROR    0x01

#define BL_RS232_TX_STARTED    0x01
#define BL_RS232_TX_NOT_READY  0x02



/*** (c) 2003  STMicroelectronics **************************** END OF FILE ***/

⌨️ 快捷键说明

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