代码搜索结果
找到约 5,134 项符合
USART 的代码
usart.h
/***************************************************************************
* Atmel AVR USART Library for GCC
* Version: 1.0
*
* Works with AVR MCUs equiped with USART hardware (ATmega series).
usart.c
/***************************************************************************
* Atmel AVR USART Library for GCC
* Version: 1.0
*
* Works with AVR MCUs equiped with USART hardware (ATmega series).
usart.h
/*****************************************************
* 功能: USART串口接收传送功能模块
* 版本: V0.0
* 设计时间: 2007/12/25
* 设计人: cht
* 修改时间: 2007/12/25
* 修改人:
* 说明:
*****************************************
usart.c
/*
********************************************************
* 文件: usart.c
* 功能: 用于单片机与计算机串口通讯
* 工具: (WINAVR-GCC)
* 作者: cht
* 日期: 2/5/2007
* 版本: 0.1
* 声明:
**
usart.eww
$WS_DIR$\usart.ewp
usart.ini
[Desktop-Workspace]
Wnd0=_ "TextEditor" "open" 44 0 1 -1 -1 -1 -1 344 2 991 530 "G:\008 machao\IAR应用\proteus仿真应用\usart\cfile\main.c" 1 1 0 12 699 699
Maximized=_ 0
Count=_ 3
Wnd1=_ "Workspace2" "o
usart.h
//Usart.h
//Catinux 040811
#ifndef __USART_H
#define __USART_H
#define COM0 0
#define COM1 1
#define COM2 2
void ResetTxBuffer(char UsartNo);
void ResetRxBuffer(char UsartNo);
int Us_Send
usart.c
#define USART_C
#include "includes.h"
void usart_putchar(char c)
{
if (c == '\n')
usart_putchar('\r');
while(UCSRA & (1
usart.eww
$WS_DIR$\usart.ewp