代码搜索结果
找到约 10,000 项符合
USART 的代码
uart1._h
/* usart寄存器
usart数据寄存器——UDR
8位的数据寄存器只有当UDRE置1时才能写入数据
usart控制和状态寄存器A——UCSRA
位 7 6 5 4 3 2 1 0
RXC TXC UDRE FE DOR PE U2X MPCM
位7:接收
uart1.h
/* usart寄存器
usart数据寄存器——UDR
8位的数据寄存器只有当UDRE置1时才能写入数据
usart控制和状态寄存器A——UCSRA
位 7 6 5 4 3 2 1 0
RXC TXC UDRE FE DOR PE U2X MPCM
位7:接收
stm32+
#ifndef __USART_H
#define __USART_H
#include
#include "stdio.h"
//////////////////////////////////////////////////////////////////////////////////
//本程序只供学习使用,未经作者许可,不得用于其它任
common.c
#include
//-----------------------------------------------------------------------------
#include"stm32f10x_usart.h"
//---------------------------------------------------------------------
gsm-
#ifndef _USART_INCLUDED_
#define _USART_INCLUDED_
#include "common.h"
//延时函数ms(condition:11.0592M HSE)
void delay_ms(unsigned int time)
{
unsigned char tres;
for(;time>0;time--)
{
tres=1
sysfifo.h
#ifndef __SYS_FIFO_H
#define __SYS_FIFO_H
/*======================================================*
* SYS FIFO Buffer *
*======================================================*/
#ifdef SU
platform_config.h
/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : platform_config.h
* Author : MCD Application Team
* Version : V2.0.3
main.h
/* - MAIN.H -
$Name: $
Copyright 2007 IAR Systems. All rights reserved.
*/
#ifndef _MAIN_INCLUDED
#define _MAIN_INCLUDED
extern void USART_Init( unsigned i
sw-uart.c
/* Name: sw-uart.c
* Project: AVR USB driver for CDC interface on Low-Speed USB
* Author: Osamu Tamura
* Creation Date: 2006-06-22
* Tabsize: 4
* Copyright: (c) 2006 by Recursion Co., Ltd.
* Lic
sw-uart.c
/* Name: sw-uart.c
* Project: AVR USB driver for CDC interface on Low-Speed USB
* Author: Osamu Tamura
* Creation Date: 2006-06-22
* Tabsize: 4
* Copyright: (c) 2006 by Recursion Co., Ltd.
* Lic