代码搜索结果

找到约 10,000 项符合 USART 的代码

usart.c

#include void SendOneByte(unsigned char c); void delayms(unsigned int k) ; //延时 n ms //unsigned char xdata ledxs[8]={1,2,3,4,5,6,7,8}; //unsigned char xdata ledxs2[8]={1,2,3,4,5,6

usart.h

#ifndef __USART_H #define __USART_H void USART_Config(USART_TypeDef* USARTx); void USART_OUT(USART_TypeDef* USARTx, uint8_t *Data,...); char *itoa(int value, char *string, int radix); void USAR

usart.c

#include "stm32f10x.h" #include "fsmc_sram.h" #include "grlib/grlib.h" #include "touchstreen.h" #include "usart.h" #include "misc.h" #include "stdarg.h" #include "lcdhal.h" void USART_Conf

usart.c

#include "stm32f10x.h" #include "USART.h" void USART1_SendByte(u16 Data) { while (!(USART1->SR & USART_FLAG_TXE)); USART1->DR = (Data & (uint16_t)0x01FF); } void USART1Write(u8*

usart.h

#ifndef __USART_H #define __USART_H extern void USART1_SendByte(u16 dat); extern void USART1Write(u8* data,u16 len); void USART1_Configuration(void); #define DIR485_H GPIOC->BSRR=1

usart.h

#ifndef __USART_H_ #define __USART_H_ #include "stm32f10x_lib.h" extern void UsartInit (void); #endif

usart.h

#ifndef __USART_H_ #define __USART_H_ #include "stm32f10x_lib.h" extern void UsartInit (void); #endif

usart.c

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

usart.c

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

usart.h

#if !defined(USART_H) #define USART_H #if defined UCART_C void usart_putchar(char c); void init_usart(void); #else extern void usart_putchar(char c); extern void init_usart(void); #endif #end