代码搜索结果
找到约 10,000 项符合
UART 的代码
uart.vhd
--
-- 本模块的功能是验证实现和PC机进行基本的串口通信的功能。需要在
--PC机上安装一个串口调试工具来验证程序的功能。
-- 程序实现了一个收发一帧10个bit(即无奇偶校验位)的串口控
--制器,10个bit是1位起始位,8个数据位,1个结束
--位。串口的波特律由程序中定义的div_par参数决定,更改该参数可以实
--现相应的波特率。程序当前设定的div_par 的值 ...
uart.qsf
# Copyright (C) 1991-2005 Altera Corporation
# Your use of Altera Corporation's design tools, logic functions
# and other software and tools, and its AMPP partner logic
# functions, and any
uart.qws
[ProjectWorkspace]
ptn_Child1=Frames
[ProjectWorkspace.Frames]
ptn_Child1=ChildFrames
[ProjectWorkspace.Frames.ChildFrames]
ptn_Child1=Document-0
[ProjectWorkspace.Frames.ChildFrames.Document-0]
uart.bsf
/*
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.vhd
---------------------------------------------------------------------------------------------------
--*************************************************************************************************
uart.lst
C51 COMPILER V7.06 UART 10/24/2006 15:34:59 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE UART
OBJECT MODULE PLACED IN Ua
uart.h
/*
Uart.h
串行口收发程序头文件
*/
#ifndef _UART_H_
#define _UART_H_
#include
//参数配置
#define MCLK 11059200L //定义CPU主频(Hz)
#define BAUD_RATE 9600L //设置波特率
//定义接收缓冲区和标志
ext
uart.c
/*******************************************************************************
Uart.C
串行口收发程序
*******************************************************************************/
#include