代码搜索结果
找到约 10,000 项符合
USART 的代码
main.c.bak
#include "lpc2136config.h"
#include "type.h"
extern volatile uint32 usart0_timer_base; // 串口0接收间隔计时 新加
extern volatile uint8 usart0_signal_flags; // 串口0的通讯标识
#define usart0_receivin
uart0.c
#include "iom48.h"
void USART0_TX(unsigned char data)
{
while(!(UCSR0A&(1
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
uart_to_twi_m8.s
.module uart_to_twi_m8.c
.area text(rom, con, rel)
.dbfile H:\UART_TO_TWI\uart_to_twi_m8.c
.dbfunc e main _main fV
.even
_main::
.dbline -1
.dbline 56
; /*******************************
uart_to_twi_m8.c
/*****************************************************************
ICC-AVR application builder : 2005-8-19 14:40:53
Target : M8
Crystal: 7.3728Mhz
// Crystal: 4.6080Mhz
实验:做usart串行通讯实验
目的:了解
device.c
#include "device.h"
void port_init(void)
{
PORTA = 0xff;
DDRA = 0xff;
PORTC = 0xff;
DDRC = 0xff;
}
void usart_init(void)
{
UBRR1H = 0x00;
UBRR1L = 0X67;
UCSR1B = (1
main.c
#include
#include
#include
#include "type.h"
//#define F_CPU 11059200
#define BAUD 9600
/* ---------------------------------- */
//函数名称: void init_
uart_to_twi_m8.s
.module uart_to_twi_m8.c
.area text(rom, con, rel)
.dbfile F:\UART_TO_TWI\uart_to_twi_m8.c
.dbfunc e main _main fV
.even
_main::
.dbline -1
.dbline 56
; /*******************************
uart_to_twi_m8.c
/*****************************************************************
ICC-AVR application builder : 2005-8-19 14:40:53
Target : M8
Crystal: 7.3728Mhz
// Crystal: 4.6080Mhz
实验:做usart串行通讯实验
目的:了解
uart_to_twi_m8._c
/*****************************************************************
ICC-AVR application builder : 2005-8-19 14:40:53
Target : M8
Crystal: 7.3728Mhz
// Crystal: 4.6080Mhz
实验:做usart串行通讯实验
目的:了解