代码搜索结果
找到约 10,000 项符合
UART 的代码
uart.h
// uart.h
#ifndef __UART_H__
#define __UART_H__
/* UART Baud rate calculation */
#define UART_CPU 4000000 /* 4Mhz */
#define UART_BAUD_RATE 19200 /* baud ra
uart.c
// uart.c
#include "types.h"
#include
#include
#include
#include "uart.h"
/* UART global variables */
volatile u08 UART_Ready;
volatile u08 UART_Recei
uart.h
/*****************************************************************************
* uart.h: Header file for NXP LPC23xx Family Microprocessors
*
* Copyright(C) 2006, NXP Semiconductor
* Al
uart.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
uart.h
void Init_CLK(void);
void Init_UART0(void)
void Init_UART1(void);
int SetOK(char UART1_TX_BUF[]);
int SetError(char UART1_TX_BUF[]);
int SetPhone(char recv[],char phone[],int nLen);
uart.c
#include
#include "UART.h"
void Init_CLK(void)
{
unsigned int i;
BCSCTL1 = 0X00; //将寄存器的内容清零
//XT2震荡器开启
//LFTX1工作在低频模式
//ACLK的分频因子为1
do
uart.c
/*****************************************************************************
* uart.c: UART API file for NXP LPC23xx/24xx Family Microprocessors
*
* *********** DEVELOPED BY RAVINDRANAT
uart.d
.\Obj\uart.o: uart.c
.\Obj\uart.o: ..\Common\inc\LPC23xx.h
.\Obj\uart.o: ..\Common\inc\type.h
.\Obj\uart.o: ..\Common\inc\target.h
.\Obj\uart.o: ..\Common\inc\irq.h
.\Obj\uart.o: uart.h
uart.c
extern void my_Delay(unsigned long int dly_ms);
/*------------------------------------------------------------------------------*/
/* Project Name: Multiplexer of MPEG-II