代码搜索结果

找到约 10,000 项符合 UART 的代码

uart.h

/* ************************************************************************* * Copyright (c) 2003, The Lab of Embedded System and Net Security,WHUT.. * All rights reserved. * * Filename:

uart.c

/* ************************************************************************* * Copyright (c) 2003, The Lab of Embedded System and Net Security,WHUT.. * All rights reserved. * * Filename:

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 03/13/2008 12:38:31 PAGE 1 C51 COMPILER V7.06, COMPILATION OF MODULE UART OBJECT MODULE PLACED IN UA

uart.h

#ifndef _UART_H #define _UART_H void uart_init(void); void send_char(uchar c); void send_string(char *s); unsigned char get_char(void); char uart_waitchar(void); #endif

uart.c

#include"main.h" #define baudrate 9600 void uart_init(void) { sbi(ddre,1); sbi(porte,1); cbi(ddre,0); sbi(porte,1); UCSR0C|=(1