代码搜索结果
找到约 10,000 项符合
UART 的代码
uart.c
/*******************************************************************/
#include "UART.h"
#define BUF_LEN 16
extern uint8 COM_IN;
uint8 UART_BUF[BUF_LEN+1];
/*************************************
uart.h
#ifndef _UART_H
#define _UART_H
void UartSetBaud(U32 ch, U32 baud);
char UartGetch(U32 ch);
char UartGetkey(U32 ch);
void UartPutch(U32 ch, U32 data);
void UartPuts(U32 ch, char *pt);
void Ua
uart.h
/******************************************************************
本程序只供学习使用,未经作者许可,不得用于其它任何用途
欢迎访问我的USB专区:http://group.ednchina.com/93/
欢迎访问我的blog: http://www.ednchina.com/
uart.c
/******************************************************************
本程序只供学习使用,未经作者许可,不得用于其它任何用途
欢迎访问我的USB专区:http://group.ednchina.com/93/
欢迎访问我的blog: http://www.ednchina.com/
uart.lst
C51 COMPILER V7.06 UART 12/11/2007 01:02:43 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE UART
OBJECT MODULE PLACED IN UA
uart.h
#ifndef __UART_H__
#define __UART_H__
void Test_Uart0(void);
void Test_Uart0Fifo(void);
void Test_Uart1(void);
void Test_Uart1Fifo(void);
void Test_Uart0Range(void);
void Test_Uart1Max(void);
uart.c
#include
#include
#include "..\inc\44b.h"
#include "..\inc\44blib.h"
#include "..\inc\def.h"
#include "..\inc\rtc.h"
#define KEY_BUFLEN 100
#define AFC_BUFLEN 0x100
c
uart.h
#ifndef __UART_h__
#define __UART_h__
// write your header here
void Init_UART();
#endif
uart.c
//========================================================
// 文件名称: UART.c
// 功能描述: UART初始化, UART接收中断服务
// 维护记录: 2007-08-9 v1.0
//========================================================
#include