代码搜索结果
找到约 10,000 项符合
USART 的代码
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
#define USART_C
#include "includes.h"
int usart_putchar(char c)
{
if (c == '\n')
usart_putchar('\r');
while(UCSRA&(1
usart.dep
2
1078212586
Debug
usart.eww
$WS_DIR$\usart.ewp
usart.fmt
[struct types]
Count=_ 0
[watch formats]
Count=_ 0
usart.wsdt
usart/Debug
usart.dbgdt
20
910
usart.dni
[DisAssemblyWindow]
NumStates=_ 1
State 1=_ 1
[Profiling]
Enabled=0
[StackPlugin]
Enabled=1
OverflowWarningsEnabled=1
WarningThreshold=90
SpWarningsEnabled=1
WarnHow=0
UseTrigger=1
Trigger
usart.ewd
1
Debug
AVR
usart.c
#define USART_C
#include "includes.h"
void UsartInit(void)
{
// 晶振频率 : 4.0MHz
// 通信参数: 8 Data, 1 Stop, No Parity
// 波特率:
// UBRRL= 0x0C 19200;
// UBRRL= 0x19 9600;