代码搜索:UART
找到约 10,000 项符合「UART」的源代码
代码结果 10,000
www.eeworm.com/read/448326/7534941
obj uart.obj
www.eeworm.com/read/448003/7542174
h uart.h
#ifndef UART_H_INCLUDE
#define UART_H_INCLUDE
#include "define.h"
#include
//接收以OK\r\n为结束符的字符串
//dst:目标串,将uart中的数据送入其中
//max_num:允许接受的最大值
//返回字符串长度,失败返回0
unsigned char gets_OK(ch
www.eeworm.com/read/448003/7542175
c uart.c
#include
#include "define.h"
#define RXB8 1
#define TXB8 0
#define UPE 2
#define OVR 3
#define FE 4
#define UDRE 5
#define RXC 7
#define FRAMING_ERROR (1
www.eeworm.com/read/447898/7544362
h uart.h
#ifndef UART_H
#define UART_H
/************************************************************************
Title: Interrupt UART library with receive/transmit circular buffers
Author: Peter Fl
www.eeworm.com/read/447898/7544372
c uart.c
/*************************************************************************
Title: Interrupt UART library with receive/transmit circular buffers
Author: Peter Fleury http://
www.eeworm.com/read/447476/7550336
h uart.h
#ifndef UART_H
#define UART_H
#include "typedef.h"
/*********************************************
define UART registers
*********************************************/
//#define UART0_
www.eeworm.com/read/447476/7550337
c uart.c
/*************************************************************************************
* Copyright (c) 2005 by National ASIC System Engineering Research Center.
* PROPRIETARY RIGHTS of ASIC are invo
www.eeworm.com/read/447437/7551230
lis uart.lis
.module uart.c
.area text(rom, con, rel)
0000 .dbfile D:\AVRchengcu\PS2--AVR\uart.c
0000 .dbfunc e init_USART _
www.eeworm.com/read/447437/7551231
_c uart._c
#include
#include
//常量定义
#define BAUDRATE 9600 //波特率
#define F_CPU 16000000 //这个已经在makefile里面定义了
#define IRsignal (PINB&BIT(3)) //检测一个端口电平输入情况就要这样定义了
#define
www.eeworm.com/read/447437/7551233
c uart.c
#include
#include
//常量定义
#define BAUDRATE 9600 //波特率
#define F_CPU 16000000 //这个已经在makefile里面定义了
void init_USART(void)//USART 初始化
{
UCSRC = (1