代码搜索结果

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

usart.c

#define USART_C #include "includes.h" void put_char(unsigned char ch) { /* if(ch == '\n') { usart_putchar('\r'); } */ while(!(UCSRA&(1

usart.h

#ifndef USART_H #define USART_H #ifdef USART_C void put_char(unsigned char ch); void InitSerial(void); void put_string(unsigned char *sting); #else extern void put_char(unsigned char ch); exte

usart.c

#include #include #include #include "main.h" //常量定义 #define BAUDRATE 9600 //波特率 #define F_CPU 7372800 //这个已经在makefile里面定义了 void init

usart.h

#ifndef _USART_H_ #define _USART_H_ void init_USART(void);//USART 初始化 void put_s(unsigned char *ptr); #endif /* _USART_H_ */

usart.c

#include #include #include #include "usart.h" //常量定义 #define BAUDRATE 9600 //波特率 #define F_CPU 16000000 //这个已经在makefile里面定义了 void init

usart.h

#ifndef USART_H #define USART_H void pgm_sendstr(char *str); void sendstr(char *str); void usart_init(unsigned int baud); void usart_tsmt(unsigned char data); unsigned char usart_rcv(void); /

usart.c

/*------------------------------------------------------ Function: part of Offline Downloader Author: avenbbs(8785116@qq.com) Version: 1.0 Date: 2008-9-28~2008-10-1 ----------------------------