代码搜索结果
找到约 10,000 项符合
UART 的代码
uart.c
#include
#include
void rx_handler (void);
#define BUF_SIZE 25
/*
* Step #1 The data is allocated into its own section.
*/
#pragma idata bigdata
char data[11][B
uart.h
/********************************************
OCHANG (SHANGHAI) ELECTRONIC LTD
Soft Ware Version 1.0
Modify: date 2008.11
Author: andychen
Funtion Description:
QQ:729693589
MB:
E-MAIL:ochang.s
uart.c
/********************************************
OCHANG (SHANGHAI) ELECTRONIC LTD
Soft Ware Version 1.0
Modify: date 2008.7
Author: andychen
Funtion Description:
QQ:729693589
MB:
E-MAIL:ochang.sh
uart.d
.\obj\uart.o: Uart\uart.c
.\obj\uart.o: .\app\Includes.h
.\obj\uart.o: .\BSP\BSP.h
.\obj\uart.o: .\BSP\LPC23xx.h
.\obj\uart.o: C:\Keil\ARM\RV31\INC\stdio.h
.\obj\uart.o: C:\Keil\ARM\RV31\INC\ctyp
uart.h
void InitUART(void);
void InitUART(void)
{
SCON = 0x50; // SCON: mode 1, 8-bit UART, enable rcvr
BDRCON = 0x1e; //BRR=1,TBCK=1,RBCK=1,SPD=1,M0SRC=0
BRL = 223; // bound rate 38400
uart.pl
#Copyright (C)2001-2003 Altera Corporation
#Any megafunction design, and related net list (encrypted or decrypted),
#support information, device programming or simulation file, and any other
#assoc
uart.h
#ifndef __UART_H__
#define __UART_H__
#define UART_REVBUFFER_SIZE 1024
typedef struct{
U8 Buffer[UART_REVBUFFER_SIZE];
OS_EVENT *Uart_Rev_mbox; //Uart0 receive mail b