代码搜索结果
找到约 10,000 项符合
USART 的代码
usart._h
/***************************************************/
/***********串口操作头文件**************************/
/***************************************************/
//----------------------------------------
usart.c
#include "includes.h"
//-------------------------------------------------------------
//字符输出函数
void Usart_Tx(unsigned char data)
{
while (!(UCSRA&(1
usart.h
/***********************************************************************/
/* This file is part of the uVision/ARM development tools */
/* Copyright KEIL ELEKTRONIK GmbH 2002-2003
usart.c
// Compiler : IAR EWAVR
// Target : M8
// Crystal: 8Mhz
//USART section
uchar uart_ping_data[4] = {0x00,0x00,0x00,0x00}; //the ping data buffer
__flash uchar uart
usart.h
/* Prototypes */
void USART0_Init( unsigned int baudrate );
unsigned char USART0_Receive( void );
unsigned char DataInReceiveBuffer( void );
void USART0_Transmit( unsigned char data );
/*******
usart.c
/****************************************Copyright (c)**************************************************
**
** JiangXing Auto
**
usart.pbi
This is an internal working file generated by the Source Browser.
09:15 07s
E:\hexen\Program\烟度计\测量部分\Program\uSART.c
E:\hexen\Program\烟度计\测量部分\Program\uSART.c
--cpu=m128
-ms
-o
E:\hexen\Progra
usart.asm
;
; Software License Agreement
;
; The software supplied herewith by Microchip Technology Incorporated
; (the 揅ompany
usart.h
//*----------------------------------------------------------------------------------
//* ATMEL Microcontroller Software Support - ROUSSET -
//*----------------------------------------------
usart.c
#define USART_C
#include "includes.h"
int usart_putchar(char c)
{
if (c == '\n')
usart_putchar('\r');
while(UCSRA&(1