代码搜索结果
找到约 31,537 项符合
UART 的代码
uart.h
void InitUART(void);
void InitUART(void)
{
SCON = 0x50; // SCON: mode 1, 8-bit UART, enable rcvr
BDRCON = 0x1e; //BRR=1,TBCK=1,RBCK=1,SPD=1,M0SRC=0
BRL = 223; // bound rate 38400
uart.h
/********************************************************************************/
/* UART.H v1.00 */
/* 版权(c) 2003- 北京合众达电子技术有限责任公司 */
/* 设计者: 段立锋 */
/*****
uart.h
/********************************************************************************/
/* UART.H v1.00 */
/* 版权(c) 2003- 北京合众达电子技术有限责任公司 */
/* 设计者: 段立锋 */
/*****
uart.c
#include
#include
#include "..\inc\44b.h"
#include "..\inc\44blib.h"
#include "..\inc\def.h"
#include "..\inc\uart.h"
#define KEY_BUFLEN 100
#define AFC_BUFLEN 0x100
#d
uart.h
/********************************************************************************/
/* UART.H v1.00 */
/* 版权(c) 2003- 北京合众达电子技术有限责任公司 */
/* 设计者: 段立锋 */
/*****
uart.lst
C51 COMPILER V7.06 UART 03/23/2007 23:58:30 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE UART
OBJECT MODULE PLACED IN UA
uart.c
#include "..\startup\def.h"
#include "..\startup\44b.h"
#include "..\ucos-ii\includes.h"
#include "isr.h"
#include "uart.h"
OS_EVENT *Uart0_Rev_mbox=NULL; //Uart0 receive ma
uart.h
//uart.h
#include
#include
#define OSCILLATOR_CLOCK_FREQUENCY 14745600 //in MHz
//get real processor clock frequency
unsigned int processorClockFrequency(void);
uart.c
//****************************************************************************************
//** 文件名:Uart.c
//** Copyright (c) 2002 Hard&SoftMcuStudio
//** 创建人:Hard&SoftMcuStudio
//** 日期:2002
uart.h
/* 字符输出函数 */
extern void putchar(unsigned char c);
/* 字符输入函数 */
extern unsigned char getchar(void);
/* 字符串输出函数 */
extern void puts(char *s);
/* UART初始化 */
extern voi