代码搜索结果

找到约 10,000 项符合 UART 的代码

uart.h

/* ************************************************************************* * Copyright (c) 2003, The Lab of Embedded System and Net Security,WHUT.. * All rights reserved. * * Filename:

uart.c

/* ************************************************************************* * Copyright (c) 2003, The Lab of Embedded System and Net Security,WHUT.. * All rights reserved. * * Filename:

uart.c

#define _Uart_ #include "..\Inc\includes.h" Uint8 const CID20[CID2_NUM0]={0x83,0x85,0x87}; Uint8 const CID21[CID2_NUM1]={0x42,0x43,0x44,0x45,0x47,0x49,0x4b,0x4c,0x4d,0x4e,0x4f,0x51}; /*--------

uart.h

#define CID2_NUM0 3 #define CID2_NUM1 12 #define SOI 0x7E #define VER 0x20 #define ADR 0x00 #define CID10 0x00 #define EOI 0x0D #define ADRC 0x00 //上位机的地址 #define CID11

uart.h

#ifndef __UART_h #define __UART_h #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

uart.c

//头文件包含 #include "config.h" #if UART0_EN #if UART_INTERRUPT_FLAG /***************************************************************************** ** 函数名 : UART0Handler ** ** 功能描述:

uart.c

/************************************************************************************ * * 文件名称: Uart.c * 文件标识: none * 适用器件: C8051F020 * * 摘 要: 本文件是串口0、1子程序;使用外部22.1184MHz晶振. Uart驱动程序,包括初始化、

uart.h

/************************************************************************************ * * 文件名称: Uart.c * 文件标识: none * 适用器件: C8051F020 * * 摘 要: 本文件是串口0、1子程序头文件;使用外部22.1184MHz晶振. Uart驱动程序,包括初始化

uart.h

#ifndef _uart_h_ #define _uart_h_ void Putch (char ch) ; char Getch(void) ; void puts (const char *Name2) ; void UART_Init(char baud); char * itoa(int i); char * uitoa(unsigned int i); char

uart.c

#include #include #include #include char szBuf[8]={0}; int recid; int tyRecv( int fd ) /*read has the function of waiting for data*/ { FO