?? sercli.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, Corporation.
* All Rights Reserved.
*
***************************************************************************/
//**************************************************************************
// DESCRIPTION: 71M652x - SERIAL0/1 DEBUG Routines include.
//
// AUTHOR: MTF
//
// HISTORY: see end of file.
//***************************************************************************
// File: SERCLI.H
//
#ifndef _SERCLI_H
#define _SERCLI_H
#include "serial.h"
/////////////////////////////////////////////////////////////////////////////
//***************************************************************************
//* Serial 0/1 DEBUG DEFINITIONS AND DECLARATIONS.
//***************************************************************************
/////////////////////////////////////////////////////////////////////////////
bool Cli_Init (enum SERIAL_PORT port, enum SERIAL_SPD speed, bool xon_xoff);
bool MPU_Clk_Select (enum SERIAL_PORT port, enum eMPU_DIV speed);
void Serial_Tx (enum SERIAL_PORT port, uint8x_t *buffer, uint16_t len);
void Serial_Rx (enum SERIAL_PORT port, uint8x_t *buffer, uint16_t len);
uint16_t Serial_CTx (enum SERIAL_PORT port, uint8x_t *buffer, uint16_t len);
uint16_t Serial_CRx (enum SERIAL_PORT port, uint8x_t *buffer, uint16_t len);
uint16_t Serial_TxLen (enum SERIAL_PORT port); // How many bytes left to transmit.
uint16_t Serial_RxLen (enum SERIAL_PORT port); // How many bytes received.
void Serial_RxFlowOff (enum SERIAL_PORT port);
void Serial_RxFlowOn (enum SERIAL_PORT port);
void chk_brownout (void) small reentrant;
extern enum eMPU_DIV xdata mpu_speed;
extern enum SERIAL_PORT xdata port;
/***************************************************************************
* History *
* $Log: sercli.h,v $
* Revision 1.11 2006/09/09 01:08:49 gmikef
* *** empty log message ***
*
* Revision 1.10 2006/04/28 22:24:06 tvander
* Reverse ported defects fixed when these files were ported to the 3.05 code.
*
* Revision 1.9 2006/01/16 20:11:22 tvander
* Clean Keil build, all versions
*
* Revision 1.8 2006/01/10 03:56:26 gmikef
* Added PDATA support for CE Outputs.
*
* Revision 1.6 2005/11/15 05:13:29 gmikef
* Added Serial_RxFlowOn/Off publics.
*
* Revision 1.5 2005/11/02 03:09:02 gmikef
* Xon/Xoff flow control working.
*
* Revision 1.4 2005/09/22 23:44:55 tvander
* Clean build all models and unit tests, updated copyright to be fore Teridian
*
* Revision 1.3 2005/09/02 01:49:21 gmikef
* Fixed CLI RTR command.
*
* Revision 1.2 2005/08/31 05:54:02 gmikef
* First version w/ LAPIE interface.
*
* Revision 1.1 2005/08/28 02:27:46 gmikef
* *** empty log message ***
*
* Revision 1.2 2005/08/19 01:04:44 gmikef
* *** empty log message ***
*
* Revision 1.1 2005/05/02 18:22:07 gmikef
* *** empty log message ***
*
* Revision 1.6 2005/04/27 21:38:19 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 + -