代码搜索结果
找到约 10,000 项符合
UART 的代码
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.c
#include "..\startup\def.h"
#include "..\startup\44b.h"
#include "..\ucos-ii\includes.h"
#include "isr.h"
#include "uart.h"
OS_EVENT *Uart0_Rev_mbox=NULL; //Uart0 receive ma
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
/**
* Copyright (c) 2006-2008 iWESUN (ShenZhen) Inf.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that t
uart.c
/**
* Copyright (c) 2006-2008 iWESUN (ShenZhen) Inf.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that t
uart.c
/*
* Purpose: Initialize ColdFire 5307
*
*/
#define IMMaddr 0x10000000
#define SDRAMaddr 0x00000000
#define SDRAMsize 0x00800000 //8M
#define SRAMaddr 0x00800000
#define SRAMsize (4 *
uart.c
/*************************************************************************/
/* */
/* FILE NAME
uart.h
/*************************************************************************/
/* */
/* FILE NAME
uart.vhd
--/*******************************************************************
-- *
-- * DESCRIPTION: UART top level module implements full duplex UART function.
-- *
-- * AUTHOR: Jim Jian
-- *
-