代码搜索结果

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

uart.h

#define _REC_COMMAND 0 #define _REC_DATA_FROM_HOST 1 #define _REC_I2C_DATA_FROM_HOST 2 #define _REC_CommandX_FROM_HOST 3 #define _REC_OSDX_DATA_FROM_HOST 4 #define _REC_OSDXR_DATA_FROM_HOST 5

uart.h

/*---------------------------------------------------------------------------------- File: uart.h Author: Qiu Peng [roc98@163.ne] Note: header of UART driver Create Date: 2004.7.2

uart.c

/*---------------------------------------------------------------------------------- File: uart.c Author: Qiu Peng [roc98@163.ne] Note: UART driver for S3C44B0X Create Date: 2004.

uart.h

//UART 相关函数------------------------ /*---------------------------------------------- 函数名:UART_Init() 功能: 串口初始化 通讯有关参数初始化 将串口波特率设定为9600bps(TC35i专用波特率) 作者: 于振南 --------------

uart.h

extern void UART_Ini(void); extern void RS232_SendByte(uint8 data); extern void RS232_SendStr(uint8 const *str); extern void IRQ_RS232_fn(void); extern void RS232GPS_SendByte(uint8 data);

uart.h

#define COMPLEX_PRINTF void Uart_Init(int pclk,int baud); void Uart_SendByte(int data); char Uart_Getch(void); void Uart_SendString(char *pt); void Uart_SendUWord32(unsigned int value); #ifd

uart.c

#include "2410addr.h" #include "clock.h" #include "UART.h" #include #include // 这里只设置UART0 /* 功能: 0. port init 1. FIFO control register,不使用FIFO方式 2. MODEM contr

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

/******************************************************************************/ /******************************************************************************/ /* UART.H - TLC16C550C UART driver