代码搜索结果
找到约 10,000 项符合
UART 的代码
uart.c
//--------------------------------------------------------------------
//
// FIFO 发 超时收
//
//
//--------------------------------------------------------------------
#include "system.h"
uart.h
#ifndef __Uart__H__
#define __Uart__H__
//#define F_CPU 11059200
#define baud 9600
#define UBRR (F_CPU/16/baud-1)
#define OutLEN 255 //串口发送缓冲大小
#define InLEN 40 //串口接收缓冲大小
exter
uart.aps
21-Jan-2009 02:29:1509-Mar-2009 16:30:25021-Jan-2009 02:29:1544,
uart.c
//--------------------------------------------------------------------
//
// FIFO 发 超时收
//
//
//--------------------------------------------------------------------
#include "system.h"
uart.h
#ifndef __Uart__H__
#define __Uart__H__
//#define F_CPU 11059200
#define baud 9600
#define UBRR (F_CPU/16/baud-1)
#define OutLEN 255 //串口发送缓冲大小
#define InLEN 40 //串口接收缓冲大小
exter
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