代码搜索结果

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

usart.c

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

usart.h

static volatile unsigned char stmp;//暂存接收UDR信息. static volatile unsigned char inbuffer[10];//串口接收器缓冲器. static volatile int inbufcount=0;//缓冲器计数器. /*------宏定义------*/ #define uchar unsigned char

usart.h

static volatile unsigned char stmp;//暂存接收UDR信息. static volatile unsigned char inbuffer[10];//串口接收器缓冲器. static volatile int inbufcount=0;//缓冲器计数器. /*------宏定义------*/ #define uchar unsigned char

usart.h

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

usart.h

#ifndef __USART_H #define __USART_H #include "stdio.h" //注意要包含库:STM32F10xR.LIB,提供USART_SendData()和USART_GetFlagStatus()这两个函数 //正点原子@SCUT //2008/12/08 #ifdef __GNUC__ #define PUTCH

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