代码搜索:AVR UART 232
找到约 10,000 项符合「AVR UART 232」的源代码
代码结果 10,000
www.eeworm.com/read/404017/11493009
rar avr_uart.rar
www.eeworm.com/read/127805/14332985
h avr_uart.h
/* $Id: AVR_UART.h,v 1.1.1.1 2000/09/24 11:39:10 pure Exp $ */
#ifndef __AVR_UART_h__
#define __AVR_UART_h__
#include "Types.h"
#include "Device.h"
#include "Thread.h"
#include "Semaphore.h"
class
www.eeworm.com/read/127805/14332993
cc avr_uart.cc
/* $Id: AVR_UART.cc,v 1.5 2000/09/24 12:57:54 pure Exp $ */
#include "AVR_UART.h"
#include
#include
#include
AVR_UART::AVR_UART(unsigned _mhz) : Device(0),
rxthr
www.eeworm.com/read/206560/15293684
h avr_uart.h
/*
avr_uart.h
provide functions to set up uart
Copyright Henrik Bj鰎kman www.eit.se/hb 2007
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU Ge
www.eeworm.com/read/206560/15293688
o avr_uart.o
www.eeworm.com/read/206560/15293691
c avr_uart.c
/*
avr_uart.h
provide functions to set up uart
Copyright Henrik Bj鰎kman www.eit.se/hb 2007
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU Ge
www.eeworm.com/read/305329/13773294
c uart-232.c
//MSP449的UART向PC机的RS232串口发送数据
#include
void Init(void);//声明初始化函数
char Data[20]="xue hao dan pian ji!";
void main(void)
{
unsigned int i;
WDTCTL=WDTPW+WDTHOLD;
Init();//调用初始化函数
www.eeworm.com/read/7227/109880
pdf avr306-using-the-avr-uart-in-c.pdf
www.eeworm.com/read/179757/9340032
txt avr-v_uart.txt
用<mark>AVR</mark>单片机模拟的串口程序
在一些应用中,经常要用到双串口,但是一般单片机只提供一个串口,其实完全可以用普通I/O口模拟一个串口。以下的程序是模拟串口程序,程序中使用了单片机的定时器0,和INT0中断。数据的发送和接收由中断程序自动进行。程序已经过<mark>AVR</mark>仿真器仿真和实际烧片使用,证明可靠。有一点需要说明的是,此模拟的串口为半双工方式。
主程序中,单片机将标准串口设置为115200bps, ...
www.eeworm.com/read/453139/7425983
txt avr_uart_code.txt
#include
#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