?? ser.h
字號:
/***************************************************************************
* This code and information is provided "as is" without warranty of any *
* kind, either expressed or implied, including but not limited to the *
* implied warranties of merchantability and/or fitness for a particular *
* purpose. *
* *
* Copyright (C) 2005 Teridian Semiconductor Corp. All Rights Reserved. *
***************************************************************************/
//**************************************************************************
// DESCRIPTION: 71M652x - SERIAL0/1 structures, enumerates, and defines.
//
// AUTHOR: MTF
//
// HISTORY: see end of file.
//***************************************************************************
// File: SERIAL.H
//
#ifndef _SERIAL
#define _SERIAL
/////////////////////////////////////////////////////////////////////////////
//***************************************************************************
//* Serial 0/1 DEFINITIONS AND DECLARATIONS.
//***************************************************************************
/////////////////////////////////////////////////////////////////////////////
enum SERIAL_RC { S_EMPTY, S_PENDING, S_FULL, S_PARITY_ERR, S_OVERRUN, S_NACK_ERR };
enum SERIAL_SPD { _RATE_300, _RATE_600, _RATE_1200, _RATE_2400,
_RATE_4800, _RATE_9600, _RATE_19200, _RATE_38400 };
enum SERIAL_PORT { SERIAL_0, SERIAL_1 };
extern uint16_t code bit_rate_tbl[10];
#define MODEM SERIAL_0
#define OPTICAL SERIAL_1
#define MAX_SERIAL_RATE _RATE_38400
/***************************************************************************
* History *
* $Log: ser.h,v $
* Revision 1.5 2006/09/09 01:09:55 gmikef
* *** empty log message ***
*
* Revision 1.4 2006/07/18 23:35:50 tvander
* Wrong register space for initialization routine.
*
* Revision 1.2 2005/09/22 23:45:06 tvander
* Clean build all models and unit tests, updated copyright to be fore Teridian
*
* Revision 1.1 2005/09/11 00:34:00 tvander
* Clean compiles
*
* Revision 1.4 2005/08/31 05:54:58 gmikef
* First version w/ LAPIE interface.
*
* Revision 1.3 2005/08/28 02:17:49 gmikef
* *** empty log message ***
*
*
* Copyright (C) 2005 Teridian Semiconductor Corp. All Rights Reserved. *
* this program is fully protected by the United States copyright *
* laws and is the property of Teridian Semiconductor Corporation. *
***************************************************************************/
#endif /* serial.h */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -