代码搜索结果
找到约 10,000 项符合
UART 的代码
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
/******************** (C) COPYRIGHT 2003 STMicroelectronics ********************
* File Name : uart.h
* Author : MCD Application Team
* Date First Issued : 16/05/2003
* Descr
uart.c
/******************** (C) COPYRIGHT 2003 STMicroelectronics ********************
* File Name : uart.c
* Author : MCD Application Team
* Date First Issued : 06/08/2003
* Descr
uart.h
void UARTInit(void);
void UARTSendByte(uchar i);
//uchar UARTGetByte(void);
void UARTTest(void);
uart.c
#include "Include.h"
extern uchar xdata CommBuf[MAX_BUF_NUMBER];//串口缓冲
extern uchar xdata SCC;//串口接收和校验
extern uchar Timer;
uchar Rx_Cnt=0;//串口接收计数器
bit ReceiveOK = 0;//数据包接收完成标志位
//UART初始化
//
uart.lst
C51 COMPILER V8.02 UART 12/04/2008 06:31:20 PAGE 1
C51 COMPILER V8.02, COMPILATION OF MODULE UART
OBJECT MODULE PLACED IN UA
uart.h
void UARTInit(void);
void UARTSendByte(unsigned char i);
//unsigned char UARTGetByte(void);
void UARTTest(void);
uart.c
#include "Include.h"
extern unsigned char xdata CommBuf[MAX_BUF_NUMBER]; //串口缓冲
extern unsigned char xdata SCC; //串口接收和校验
extern unsigned char Timer;
unsigned char Rx_Cnt=0; //串口接收计数器