代码搜索结果
找到约 10,000 项符合
USART 的代码
usart.d
usart.o: ..\SYSTEM\usart\usart.c
usart.o: ..\SYSTEM\sys\sys.h
usart.o: E:\Program Files\单片机\ARM\INC\ST\STM32F10x\stm32f10x_lib.h
usart.o: E:\Program Files\单片机\ARM\INC\ST\STM32F10x\stm32f10x_map.h
usart.__i
-c --device DARMSTM -g -O0 --apcs=interwork -I..\SYSTEM\delay -I..\SYSTEM\sys -I..\SYSTEM\usart -I..\HARDWARE\LED -I..\HARDWARE\KEY -I..\HARDWARE\EXTI -I..\HARDWARE\WDG -I..\HARDWARE\TIMER -I..\HARDWA
usart.h
#ifndef __USART_H
#define __USART_H
#include
#include "stdio.h"
//////////////////////////////////////////////////////////////////////////////////
//本程序只供学习使用,未经作者许可,不得用于其它任
usart.c
#include "sys.h"
#include "usart.h"
//////////////////////////////////////////////////////////////////////////////////
//本程序只供学习使用,未经作者许可,不得用于其它任何用途
//Mini STM32开发板
//串口1初始化
//正点原子@ALIENT
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
usart.dep
0
Debug
$PROJ_DIR$\cfile\main.c