*********************************************************************************/
#include <csl.h>
#include <csl_irq.h>
#include "DEC6713.h"
#include "uartn.h"
#include <stdio.h>
/********************************************************************************/
#define LENGTH 160
Uint32 UART_Handle;
Uint32 UARTA_Handle; //added on 03.04.2005
Uint32 UARTB_Handle;
Uint8 RevBuffer_A[160];
Uint8 RevBuffer_B[160];
Uint16 i;
Uint8 int_flag = 1;
Uint8 TempData;
Uint16 BaudRate;
Uint8 reg_data=0;
Uint8 Lth = 0;
Uint8 RcountA =0;
Uint8 RcountB =0;
Uint8 ScountA =0;
Uint8 ScountB =0;
Uint8 ReVal = 0;
#pragma DATA_SECTION(uart_ab_channel_select,".uart_var");
unsigned char uart_ab_channel_select = 0;
/********************************************************************************/
void init_uart(); //added on 03.04.2005
extern far void vectors();
main()
{
/* Initialize the chip support library, must when using CSL */
CSL_init();
/*Initialize DEC6713 board.*/
DEC6713_init();
/*Initialize
4.8 UART例程解析
最新推荐文章于 2020-12-19 21:25:13 发布