/* 字符输出函数 */ extern void putchar(unsigned char c); /* 字符输入函数 */ extern unsigned char getchar(void); /* 字符串输出函数 …
16550+UART 源代码
汇集 16550+UART 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/******************************************/ /* 广州天河双龙电子公司 */ /* http://www.sl.com.cn */ /…
/******************************************/ /* 广州天河双龙电子公司 */ /* http://www.sl.com.cn */ /*…
#include "init.h" /*串口初始化函数*/ void uart0_init(void) { UCSR0A = 0x00; UCSR0B = (1
/*********串口调试,并于LCD显示************/ #include #define uchar unsigned char uchar code dispcode1[]={"2008-08-24 00:00"}; uchar …
/*********串口调试,并于LCD显示************/ #include #define uchar unsigned char uchar code dispcode1[]={"2008-08-24 00:00"}; uchar …
"uart.c" BROWSE DEBUG OBJECTEXTEND
#include #include "Includes.h" #include"uart.h" #define fosc 8000000 //晶振8.0000MHZ #define baud 4800 //波特率 #define maxdata …
/*================================================================================================== - Target : mega8 - Cr…
/******************************************/ /* 广州天河双龙电子公司 */ /* http://www.sl.com.cn */ /…