代码搜索:UART
找到约 10,000 项符合「UART」的源代码
代码结果 10,000
www.eeworm.com/read/222913/4817640
h uart.h
#ifndef __UART_H__
#define __UART_H__
#define UART0_REVBUFFER_SIZE 1024
#define UART1_REVBUFFER_SIZE 1024
void OSInitUart(void);
int OSReadUart0(U8 data[], int num, int ntimeout);
void Ope
www.eeworm.com/read/222852/4818156
c uart.c
/***************************************************************************
* Copyright
www.eeworm.com/read/222852/4818183
h uart.h
/***************************************************************************
* Copyright
www.eeworm.com/read/222846/4818477
h uart.h
void InitUART(void);
void InitUART(void)
{
SCON = 0x50; // SCON: mode 1, 8-bit UART, enable rcvr
BDRCON = 0x1e; //BRR=1,TBCK=1,RBCK=1,SPD=1,M0SRC=0
BRL = 223; // bound rate 38400
www.eeworm.com/read/222086/4822767
c uart.c
/*****************************************************************************
描述:UART异步串行通讯程序。使用USART0。
晶体振荡器 XT2:8MHz LFXT1:32.768kHz
波特率:9600bit/s,8位数据位,1位停止位,奇校验
版本:1.0 2006-03-20
www.eeworm.com/read/221985/4824071
h uart.h
/******************** (C) COPYRIGHT 2003 STMicroelectronics ********************
* File Name : uart.h
* Author : MCD Application Team
* Date First Issued : 16/05/2003
* Descr
www.eeworm.com/read/221985/4824099
c uart.c
/******************** (C) COPYRIGHT 2003 STMicroelectronics ********************
* File Name : uart.c
* Author : MCD Application Team
* Date First Issued : 06/08/2003
* Descr
www.eeworm.com/read/221452/4832367
h uart.h
/*
* File: uart.h
*
* Purpose: UART routines
*/
#ifndef __UART_H__
#define __UART_H__
#if !defined(__TTYPE_H__)
#include "ttype.h"
#endif
/*--------------------- Export
www.eeworm.com/read/221452/4832371
c uart.c
/*
* File: uart.c
*
* Purpose: UART routines
*/
#if !defined(__KERNEL_H__)
#include "kernel.h"
#endif
#if !defined(__MACRO_H__)
#include "macro.h"
#endif
#if !defined(__STRTYPE_H
www.eeworm.com/read/221272/4834454
c uart.c
/*
* (C) Copyright 2002
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you