代码搜索结果
找到约 10,000 项符合
UART 的代码
uart.c
#include
#include
#include "..\inc\44b.h"
#include "..\inc\44blib.h"
#include "..\inc\def.h"
#include "..\inc\rtc.h"
#define KEY_BUFLEN 100
#define AFC_BUFLEN 0x100
#de
uart.c
// Copyright (c) David Vescovi. All rights reserved.
// Part of Project DrumStix
// Windows Embedded Developers Interest Group (WE-DIG) community project.
// http://www.we-dig.org
// Copyright (c
uart.h
#ifndef __UART_H__
#define __UART_H__
//串口波特率初始化已经在AUTO_ISP.H中完成
//发送1字节
void uart_put_uchar(unsigned char c)
{
SBUF = c;
while(!TI);
TI = 0;
}
//接收1字节
unsigned char uart_get
uart.h
/*****************************************************************************
* uart.h: Header file for NXP LPC23xx Family Microprocessors
*
* Copyright(C) 2006, NXP Semiconductor
* Al
uart.c
/*****************************************************************************
* uart.c: UART API file for NXP LPC23xx/24xx Family Microprocessors
*
* Copyright(C) 2006, NXP Semiconductor
uart.h
#ifndef __UART_H__
#define __UART_H__
#include "../inc/marco.h"
#include "../ucos-ii/ucos_ii.h"
#define UART_REVBUFFER_SIZE 128
#define UART_SNDBUFFER_SIZE 128
typedef int (*uart_write_fun
uart.c
/***************************************************************************\
Copyright (c) 2004-2007 threewater@up-tech.com, All rights reserved.
by threewter 2004.4.26
\************************
uart.h
typedef struct {
unsigned int ctrl;
unsigned int reload;
} uart;
uart.vhd
----------------------------------------------------------------------------
-- This file is a part of the LEON VHDL model
-- Copyright (C) 1999 European Space Agency (ESA)
--
-- This library