代码搜索:如何学习 UART?
找到约 10,000 项符合「如何学习 UART?」的源代码
代码结果 10,000
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\
www.eeworm.com/read/370394/9602114
qpf uart.qpf
# Copyright (C) 1991-2005 Altera Corporation
# Your use of Altera Corporation's design tools, logic functions
# and other software and tools, and its AMPP partner logic
# functions, and any
www.eeworm.com/read/370394/9602119
pin uart.pin
-- Copyright (C) 1991-2005 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions,