代码搜索结果
找到约 5,134 项符合
USART 的代码
usart.c
/* filename: usart.c */
#include "stm32f10x_lib.h"
#include "usart.h"
void USART_Config(void)
{
GPIO_InitTypeDef GPIO_InitStructure;
USART_InitTypeDef USART_InitStructure;
RCC_A
usart.d
..\Obj\usart.o: ..\..\User\Src\usart.c
..\Obj\usart.o: ..\..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h
..\Obj\usart.o: ..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h
..\Obj\usart
usart.c
#include "stm32f10x.h"
#include
#include "usart.h"
void PrintfLogo(char *strName, char *strDate)
{
printf("*************************************************************\n\r");
pr
usart.c
#include "usart.h"
u8 RxData,flag=0;
//重定义fputc函数
int fputc(int ch, FILE *f)
{
while((USART1->SR&0X40)==0);//循环发送,直到发送完毕
USART1->DR = (u8) ch;
return ch;
}
void
usart.c
#include "sys.h"
#include "usart.h"
//////////////////////////////////////////////////////////////////////////////////
//本程序只供学习使用,未经作者许可,不得用于其它任何用途
//Mini STM32开发板
//串口1初始化
//正点原子@ALIENT
adc12多通道采集与usart实例.txt
[入门必修]ADC12多通道采集与<mark>USART</mark>实例
微原创作品
串行口调试软件。发送一个字符给下位开发板,则返回两个AD口的数值回来。
实例描述:
利用串口调试软件进行调试,PC向MC430F14开发板发送任何1个字符(半角).开发板接收到字符后将ADC12-0、ADC12-1端口上的电压进行转换,接着并两通路的数值以字符形式 ...
usart.c
#include "usart.h"
#ifdef __GNUC__
/* With GCC/RAISONANCE, small printf (option LD Linker->Libraries->Small printf
set to 'Yes') calls __io_putchar() */
#define PUTCHAR_PROTOTYPE int __
usart.lst
C51 COMPILER V9.00 USART 07/23/2012 10:24:24 PAGE 1
C51 COMPILER V9.00, COMPILATION OF MODULE USART
OBJECT MODULE PLACED IN U
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*