?? uart.h
字號:
/*----------------------------------------------------------------------------------
File: uart.h
Author: Qiu Peng [roc98@163.ne]
Note: header of UART driver
Create Date: 2004.7.25
Last Modified: 2004.7.28
-----------------------------------------------------------------------------------*/
#ifndef __UART_H__
#define __UART_H__
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include "44b.h"
//Tx and Rx buffer
#define TxBufLen 1000
#define RxBufLen 1000
void Uart_Init_2(int mclk, int baud);
void Uart_InitBuffer(void);
void Uart_select(int UartNo);
void Uart_TxStart(void);
//called by INT ISRs(in OS_CPU_A.S)
void UartTx(void);
void UartRx(void);
void Uart_PrintChar(char ch);
void Uart_PrintStr(char *pt);
void Uart_printf(char *fmt,...);
//void Uart_GetChar(void);
int Uart_GetStr(char *str);
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -