代码搜索结果

找到约 5,134 项符合 USART 的代码

usart.c

#define USART_C #include "includes.h" int usart_putchar(char c) { if (c == '\n') usart_putchar('\r'); while(UCSRA&(1

usart.h

/****************************************************************** 本程序只供学习使用,未经作者许可,不得用于其它任何用途 欢迎访问我的USB专区:http://group.ednchina.com/93/ 欢迎访问我的blog: http://www.ednchina.com/

includes.h

#if !defined(INCLUDES_H) #define INCLUDES_H #include #include #include "ds1302.h" #include "lcd.h" #include "delay.h" //#include "usart.h" #endif

includes.h

#if !defined(INCLUDES_H) #define INCLUDES_H #define ENABLE_BIT_DEFINITIONS #include #include "ds1302.h" #include "hd44780.h" #include "delay.h" #include "usart.h" #endif

usart_main.c

/*********************************************** **** AVR USART串口使用范例 *** **** *** **** 作者: HJJourAVR *** **** 编译器

testuart.tagsrc

E:\Mysoft\TestUart\main.c E:\Mysoft\TestUart\usart.c E:\Mysoft\TestUart\usart.h

usart.lst

HI-TECH Software PICC Macro Assembler V9.50PL2 Sat Sep 16 09:34:47 2006 1 processor 16F73 2

main.c

#include #include #include "usart.h" /* A simple demonstration of serial communications which * incorporates the on-board hardware USART of the Microchip * PIC16Fxxx series

usart.c

#include #include #include "usart.h" void putch(unsigned char byte) { /* output one byte */ while(!TXIF) /* set when register is empty */ continue; TXREG = byte; }

testuart.tagsrc

E:\Mysoft\TestUart\main.c E:\Mysoft\TestUart\usart.c E:\Mysoft\TestUart\usart.h