代码搜索结果
找到约 10,000 项符合
UART 的代码
uart.h
#ifndef __UART_H__
#define __UART_H__
#include "../inc/macro.h"
#include "../ucos-ii/ucos_ii.h"
#define UART_REVBUFFER_SIZE 1024
typedef struct{
U8 Buffer[UART_REVBUFFER_SIZE];
OS_EVEN
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
uart.c
/*
* (C) Copyright 2007
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* Author: Igor Lisitsin
*
* See file CREDITS for list of people who contributed to this
* pr
uart.h
/* 定义串口模式设置数据结构 */
typedef struct UartMode
{
uint8 datab; // 字长度,5/6/7/8
uint8 stopb; // 停止位,1/2
uint8 parity; // 奇偶校验位,0为无校验,1奇数校验,2为偶数校验
}UARTMODE
uart.c
#include "config.h"
#include "uart.h"
uint8 rcv_buf[8]; // UART0数据接收缓冲区
volatile uint8 rcv_new; // 接收新数据标志
/*
********************************************************************
uart.prj
[Compiler Options]
Edit1=C:\icc\include\
Edit2=C:\icc\lib\
Edit8=
CheckBox1=0
CheckBox2=1
Edit3=
Edit4=
Edit11=16
Edit13=
ComboBox1=0
Edit9=8192
Edit10=512
ComboBox2=13
RadioGroup1=0
Ed
uart.lst
__start:
__text_start:
001D E5CF LDI R28,0x5F
001E E0D2 LDI R29,2
001F BFCD OUT 0x3D,R28
0020 BFDE OUT 0x3E,R29
0021 51C0 SUBI R28,0x10
0022 40D
uart.src
[Files]
UART.C
[Headers]
C:\icc\include\io8535v.h
[Documents]
uart.lk
UART.o
uart.lis
.module UART.C
.area data(ram, con, rel)
0000 _Table::
0000 .blkb 2
.area idata
0000 3F06