代码搜索结果

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

usart.h

#ifndef __USART__H #define __USART__H void put(unsigned int i); void putchar(char c); unsigned char getchar(void); void puts(char * s); void putstr(char * s); void usart_init(void); #en

usart.lis

.module usart.c .area lit(rom, con, rel) 0000 L2: 0000 00 .byte 0 0001 00000000000000 .byte 0,0,0,0,0,0,0

usart._h

#ifndef __USART__H #define __USART__H void put(unsigned int i); void putchar(char c); unsigned char getchar(void); void puts(char * s); void putstr(char * s); void uart_init(void); #end

软件模拟usart.txt

转:软件模拟<mark>USART</mark> 在用单片机开发各种嵌入式应用系统时,异步串行通信是经常要用到的一种通信模式,很多应用中还要求实现多路异步串行通信。大家平时熟悉的各种厂家的单片机,绝大部分片上只提供一个硬件UART模块,利用它可以方便实现一路串行通讯。PIC系列单片机也不例外,在其丰富的产品家族成员中,除高端系列(PIC17/18)一些型号片上带有两路硬件UART模块外,其它大部分型号 ...

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

usart2.c

// AVR306: Using the AVR UART in C // Routines for interrupt controlled USART // Last modified: 02-06-21 // Modified by: AR /* Includes */ #include #include /* UART Buf

usart1.c

// AVR306: Using the AVR UART in C // Routines for polled USART // Last modified: 02-06-21 // Modified by: AR /* Includes */ #include /* Prototypes */ void USART0_Init( unsigned

fet440_spi0_016x.c

//****************************************************************************** // MSP-FET430P440 Demo - USART0, SPI Interface with HC165/164 Shift Registers // // Description: Demonstrate USART