代码搜索结果
找到约 10,000 项符合
USART 的代码
usart.txt
; generated by ARM C/C++ Compiler, 4.1 [Build 481]
; commandline ArmCC [--debug -c --asm --interleave -o.\OBJ\usart.o --depend=.\OBJ\usart.d --cpu=Cortex-M3 --apcs=interwork -O0 -I..\Demo -I.\HARDWAR
usart.d
.\OBJ\usart.o: SYSTEM\usart\usart.c
.\OBJ\usart.o: .\SYSTEM\sys\sys.h
.\OBJ\usart.o: C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_lib.h
.\OBJ\usart.o: C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_map.h
.\OBJ\
usart.i
#line 1 "SYSTEM\\usart\\usart.c"
#line 1 ".\\SYSTEM\\sys\\sys.h"
#line 1 "C:\\Keil\\ARM\\INC\\ST\\STM32F10x\\stm32f10x_lib.h"
#line 1 "C:\\Keil\\ARM\\IN
usart.h
#ifndef __USART_H
#define __USART_H
#include
#include "stdio.h"
//Mini STM32开发板
//串口1初始化
#define EN_USART1_RX 1
extern u8 USART_RX_BUF[64]; //接收缓冲,最大63个字节
usart.c
#include "sys.h"
#include "usart.h"
extern void UART0_RxIsrHandler(u8 rx_data);
//Mini STM32开发板
//串口1初始化
//V1.3
//支持适应不同频率下的串口波特率设置.
//加入了对printf的支持
//增加了串口接收命令功能.
////////////
usart.h
/*usart.h*/
#ifndef MY_USART_H
#define MY_USART_H
#define uchar unsigned char
#define uint unsigned int
#define UART_WAIT 1
#define UART_NO_WAIT 0
void UartSend(uchar len);
void Ua
usart.c
/*
文件名:usart.c
功 能:uart通信接口
C P U : ATMega8
编 译: WinAVR-20040404
速 度:外部4MHz
更改记录:
2004-06-22
*/
#include
#include
#include
usart.h
/*usart.h*/
#ifndef MY_USART_H
#define MY_USART_H
#define uchar unsigned char
#define uint unsigned int
#define UART_WAIT 1
#define UART_NO_WAIT 0
void UartSend(uchar len);
void Ua
usart.c
/*
文件名:usart.c
功 能:uart通信接口
C P U : ATMega8
编 译: WinAVR-20040404
速 度:外部4MHz
更改记录:
2004-06-22
*/
#include
#include
#include