代码搜索结果
找到约 10,000 项符合
UART 的代码
uart.h
#ifndef _UART_H_
#define _UART_H_
#include
//初始化
void Uart_Init(unsigned int ucBaudRate); //9600 :25/4m 38/6m
//输出一个字符
int Uart_PutChar(char c);
//输入一个字符
int Uart_GetChar(void
uart.c
////////////////////////////////////////uart.c//////////////////////////////
/////////////////////////////////file name :okiml674000////////////////////
////////////////////////////////data:2005nia\
uart.done
Sat Feb 18 12:32:24 2006
uart.qpf
# 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.pin
-- 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,
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.hif
Version 5.0 Build 148 04/26/2005 SJ Full Version
33
1689
OFF
OFF
OFF
OFF
OFF
FV_OFF
VRSM_ON
VHSM_ON
0
# entity
UART
# logic_option {
AUTO_RAM_RECOGNITION
ON
}
# case_insensitive
# s