代码搜索结果

找到约 5,134 项符合 USART 的代码

usart_main.c

/*********************************************** **** AVR USART串口使用范例 *** **** *** **** 作者: HJJourAVR *** **** 编译器

includes.h

#include "main.h" #include "delay.h" //#include "horse.h" #include "lcd.h" //#include "ad.h" //#include "init.h" //#include "number.h" //#include "usart.h" #include //#include

usart.c

#define USART_C #include "includes.h" int usart_putchar(char c) { if (c == '\n') usart_putchar('\r'); while(UCSRA&(1

uart.c

#include #include "Uart.h" /* 1.USART数据寄存器-UDR 7 6 5 4 3 2 1 0 ?? 2.USART控制和状态寄存器A - UCSRA 7 RXC USART接收完成 6 TXC USART发送完成 5 UDRE USART数据寄存器空 4 FE 接收帧出错 3 DOR 接收数据溢出

usart.c

#ifndef _REFERENCE //*----------------------------------------------------------------------------- //* ATMEL Microcontroller Software Support - ROUSSET - //*-------------------------------

usart.h

//*----------------------------------------------------------------------------- //* ATMEL Microcontroller Software Support - ROUSSET - //*---------------------------------------------------

usart.inc

;----------------------------------------------------------------------------- ;- ATMEL Microcontroller Software Support - ROUSSET - ;--------------------------------------------------------

usart.h

//usart.h #define BIT0 0x00000001 #define BIT1 0x00000002 #define BIT2 0x00000004 #define BIT3 0x00000008 #define BIT4 0x00000010 #define BIT5

usart.c

//usart.c #include "usart.h" #include "AT91SAM7S64.h" AT91PS_PIO u_pPio = AT91C_BASE_PIOA; AT91PS_PMC u_pPMC = AT91C_BASE_PMC; AT91PS_USART u_pUSART0 = AT91C_BASE_US0; AT91PS_USAR

usart.c

#define USART_C #include "includes.h" int usart_putchar(char c) { if (c == '\n') usart_putchar('\r'); while(UCSRA&(1