代码搜索:UART 有哪些应用?
找到约 10,000 项符合「UART 有哪些应用?」的源代码
代码结果 10,000
www.eeworm.com/read/392515/8338410
o uart.o
www.eeworm.com/read/392515/8338414
h uart.h
//uart header file
#ifdef UART_G
#define uart_ext
#else
#define uart_ext extern
#endif
#define printf UartPrintf
#define Uart_Printf UartPrintf
#define Uart_SendByte UartSen
www.eeworm.com/read/392515/8338429
c uart.c
/*---------------------------------------------------------------------------------
Project : Test for 2410
Author : Kreal@163.net
Creation Date : 04-04-15
Revision
www.eeworm.com/read/292710/8339405
h 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
www.eeworm.com/read/292710/8339417
c 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
www.eeworm.com/read/174435/9587620
o uart.o
www.eeworm.com/read/174435/9587636
lst uart.lst
1 .file "Uart.c"
2 .arch atmega8
3 __SREG__ = 0x3f
4 __SP_H__ = 0x3e
5 __SP_L__ = 0x3d
6
www.eeworm.com/read/174435/9587638
c uart.c
#include
#include "Uart.h"
/*
1.USART数据寄存器-UDR
7 6 5 4 3 2 1 0 ??
2.USART控制和状态寄存器A - UCSRA
7 RXC USART接收完成
6 TXC USART发送完成
5 UDRE USART数据寄存器空
4 FE 接收帧出错
3 DOR 接收数据溢出
www.eeworm.com/read/174435/9587639
h uart.h
#ifndef _UART_H_
#define _UART_H_
#include
//初始化
void Uart_Init(unsigned int ucBaudRate); //9600 :25/4m 38/6m
//输出一个字符
int Uart_PutChar(char c);
//输入一个字符
int Uart_GetChar(void
www.eeworm.com/read/174232/9601498
c uart.c
////////////////////////////////////////uart.c//////////////////////////////
/////////////////////////////////file name :okiml674000////////////////////
////////////////////////////////data:2005nia\