代码搜索结果
找到约 10,000 项符合
UART 的代码
uart.h
/******************** (C) COPYRIGHT 2003 STMicroelectronics ********************
* File Name : uart.h
* Author : MCD Application Team
* Date First Issued : 16/05/2003
* Descr
uart.c
/******************** (C) COPYRIGHT 2003 STMicroelectronics ********************
* File Name : uart.c
* Author : MCD Application Team
* Date First Issued : 06/08/2003
* Descr
uart.lst
C51 COMPILER V7.50 UART 06/25/2007 18:00:16 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE UART
OBJECT MODULE PLACED IN ua
uart.h
#ifndef _UART_H_
#define _UART_H_
#ifdef UART_G
#define uart_ext
#else
#define uart_ext extern
#endif
#include
#include
#include
#include
uart.c
#define UART_G
#include "config.h"
#include "UART.h"
void UartInit(int whichUart , int pclk,int baud)
{
int i;
if(pclk == 0)
pclk = PCLK;
rUFCON0 = 0x0; //UAR
uart.h
#ifndef _UART_H_
#define _UART_H_
#include
#define UART_WBUFLEN 36
#define UART_RBUFLEN
sbit D485WEN=P2^0;
void Uart_Init(ulong Baud,char Parity);
BOOL Uart_SendS(uchar *Wchar);
BOOL