代码搜索结果
找到约 10,000 项符合
UART 的代码
uart.h
/*
*************************************************************************
* Copyright (c) 2003, The Lab of Embedded System and Net Security,WHUT..
* All rights reserved.
*
* Filename:
uart.c
/*
*************************************************************************
* Copyright (c) 2003, The Lab of Embedded System and Net Security,WHUT..
* All rights reserved.
*
* Filename:
uart.bdf
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to
uart.h
/************************************************************************************
* *
* File Name : ad_onkai
uart.c
#include "sfr_r811.h"
#include "sms.h"
#include "string.h"
#include "int.h"
/***************************/
static const char tab[]="0123456789";
/***********************************************
uart.h
#ifndef __UART_h
#define __UART_h
#define IER_RBR 0x01
#define IER_THRE 0x02
#define IER_RLS 0x04
#define IIR_PEND 0x01
#define IIR_RLS 0x03
#define IIR_RDA 0x02
#define IIR_CTI
uart.c
//头文件包含
#include "config.h"
#if UART0_EN
#if UART_INTERRUPT_FLAG
/*****************************************************************************
** 函数名 : UART0Handler
**
** 功能描述:
uart.h
#ifndef INC_EUART
#define INC_EUART
#include "../Include/type.h"
#define UART_PORT 1
#if (UART_PORT==1)
#define UART_BASE 0x1000a000
#else
#define UART_BASE 0x1000b000
#endif
#d