代码搜索结果
找到约 10,000 项符合
UART 的代码
uart.c
/**************************************/
#include "hal.h"
uint8 Byte;
uint8 RFSendFlg;
uint8 RXOTFlg; //串口接收数据超时标志
uint8 RXOTCnt; //串口接收数据超时计数器
uint8 UartReceiveLen;
byt
uart.d
.\rvmdk\uart.o: DRIVER\UART.c
.\rvmdk\uart.o: .\config.h
.\rvmdk\uart.o: .\Includes.h
.\rvmdk\uart.o: .\..\arm\os_cpu.h
.\rvmdk\uart.o: .\os_cfg.h
.\rvmdk\uart.o: .\..\source\ucos_ii.h
.\rvmdk\u
uart.txt
; generated by ARM/Thumb C/C++ Compiler with , RVCT3.1 [Build 934] for uVision
; commandline ArmCC [--debug -c --asm --interleave -o.\rvmdk\uart.o --depend=.\rvmdk\uart.d --device=DARMP --apcs=interw
uart.h
#ifndef IN_UART
#define IN_UART
#define IER_RBR 0x01
#define IER_THRE 0x02
#define IER_RLS 0x04
#define IIR_PEND 0x01
#define IIR_RLS 0x03
#define IIR_RDA 0x02
#define IIR_CTI 0x06
#
uart.c
#include "config.h"
void UartInit(int uartnum,int baud)
{
uint16 Fdiv;
if(uartnum==0)
{
PINSEL0 = (PINSEL0 & 0xfffffff0) | 0x05; /* 选择管脚为UART0 */
U0LCR = 0x80;
uart.h
#ifndef _UART_H
#define _UART_H
void UartSetBaud(U32 ch, U32 baud);
char UartGetch(U32 ch);
char UartGetkey(U32 ch);
void UartPutch(U32 ch, U32 data);
void UartPuts(U32 ch, char *pt);
void Ua
uart.lst
C51 COMPILER V8.02 UART 10/01/2007 00:33:27 PAGE 1
C51 COMPILER V8.02, COMPILATION OF MODULE UART
OBJECT MODULE PLACED IN .\