代码搜索结果
找到约 10,000 项符合
USART 的代码
usart.c
#define USART_C
#include "includes.h"
int usart_putchar(char c)
{
if (c == '\n')
usart_putchar('\r');
while(UCSRA&(1
usart.c
#define USART_C
#include "includes.h"
void put_char(unsigned char ch)
{
/* if(ch == '\n')
{
usart_putchar('\r');
} */
while(!(UCSRA&(1
usart.h
#ifndef USART_H
#define USART_H
#ifdef USART_C
void put_char(unsigned char ch);
void InitSerial(void);
void put_string(unsigned char *sting);
#else
extern void put_char(unsigned char ch);
exte
usart.c
#include "includes.h"
#define USART_C
int usart_putchar(char c)
{
if (c == '\n')
usart_putchar('\r');
while(UCSRA & (1
usart.h
#if !defined(USART_H)
#define USART_H
#if defined UCART_C
int usart_putchar(char c);
void init_usart(void);
#else
extern int usart_putchar(char c);
extern void init_usart(void);
#endif
#endif
usart.c
//-----------------------------------------------------------------
// 名称: 串口程序
//-----------------------------------------------------------------
#define F_CPU 4000000UL
#include
#i
usart.c
//-----------------------------------------------------------------
// 名称: 串口程序
//-----------------------------------------------------------------
#define F_CPU 4000000UL //4M晶振
#include
usart.c
//-----------------------------------------------------------------
// 名称: 串口程序
//-----------------------------------------------------------------
#define F_CPU 4000000UL //4M晶振
#include
usart.hex
:040000000C94450017
:04002C000C94B2017D
:140054000000000000000000526563697665206973203A00E4
:1400680055736172742054657374210054657374204F6B0A10
:14007C000055736172742054657374210A00CFE5D4E0CDBF82