代码搜索结果
找到约 10,000 项符合
UART 的代码
uart.h
/* *****************************************************************************
* based on software from:
* Copyright 2004, R O SoftWare
* No guarantees, warrantees, or promises, implied or oth
uart.c
/* *****************************************************************************
*
* $RCSfile: $
* $Revision: $
*
* This module provides interface routines to the LPC ARM UARTs.
* Copyrigh
uart.h
/*****************************************************************************
* uart.h: Header file for Philips LPC214x Family Microprocessors
*
* Copyright(C) 2006, Philips Semiconductor
uart.c
/*****************************************************************************
* uart.c: UART API file for Philips LPC214x Family Microprocessors
*
* Copyright(C) 2006, Philips Semiconducto
uart.h
#ifndef __UART_H__
#define __UART_H__
#define UART0_REVBUFFER_SIZE 1024
#define UART1_REVBUFFER_SIZE 1024
void OSInitUart(void);
int OSReadUart0(U8 data[], int num, int ntimeout);
void Ope
uart.vhd
-- File Name: uart.vhd
-- Version: 1.1
-- Date: January 22, 2000
-- Model: Uart Chip
-- Dependencies: txmit.hd, rcvr.vhd
--
-- Company: Xilinx
--
--
-- Disclaimer:
uart.h
#ifndef __UART_H__
#define __UART_H__
#include "main.h"
#ifndef FREQUENCY
#define FREQUENCY 1000000
#endif
#define BAUD 4800 //波特率
void putc(unsigned char c);
unsigned char getcha
uart.c
#include "uart.h"
void putc(unsigned char c)
{
while (!(UCSRA&(1
uart.h
#ifndef UART_H
#define UART_H
/************************************************************************
Title: Interrupt UART library with receive/transmit circular buffers
Author: Peter Fl
uart.lst
1 .file "uart.c"
2 .arch atmega32
3 __SREG__ = 0x3f
4 __SP_H__ = 0x3e
5 __SP_L__ = 0x3d
6