代码搜索:UART 有哪些应用?
找到约 10,000 项符合「UART 有哪些应用?」的源代码
代码结果 10,000
www.eeworm.com/read/474008/6828571
h uart.h
void Init_UART1(void);
void Init_Port(void);
void Init_CLK(void);
int ProcessCMD(char pBuf[],int nLen);
www.eeworm.com/read/474008/6828572
c uart.c
#include
#include "uart.h"
//定义串口操作变量
// 串口 1 的接收标志
char nRev_UART1;
// 串口 1 的发送缓冲区
char UART1_TX_BUF[60];
// 串口 1 的接收缓冲区
char UART1_RX_BUF[60];
int nSend_TX1;
int nTX
www.eeworm.com/read/474008/6828574
h uart.h
void Init_UART1(void);
void Init_Port(void);
void Init_CLK(void);
int ProcessCMD(char pBuf[],int nLen);
www.eeworm.com/read/474008/6828576
c uart.c
#include
#include "uart.h"
#include "flash.h"
//定义串口操作变量
// 串口 1 的接收标志
char nRev_UART1;
// 串口 1 的发送缓冲区
char UART1_TX_BUF[60];
// 串口 1 的接收缓冲区
char UART1_RX_BUF[100];
in
www.eeworm.com/read/474008/6828600
h uart.h
void Init_CLK(void);
void Init_UART0(void);
void Init_UART1(void);
www.eeworm.com/read/474008/6828606
c uart.c
#include
#include "UART.h"
void Init_CLK(void)
{
unsigned int i;
BCSCTL1 = 0X00; //将寄存器的内容清零
//XT2震荡器开启
//LFTX1工作在低频模式
//ACLK的分频因子为1
do
www.eeworm.com/read/474008/6828627
h uart.h
void Init_CLK(void);
void Init_UART0(void);
void Init_UART1(void);
www.eeworm.com/read/474008/6828629
c uart.c
#include
#include "UART.h"
#include "common.h"
void Init_CLK(void)
{
unsigned int i;
//将寄存器的内容清零
//XT2震荡器开启
//LFTX1工作在低频模式
//ACLK的分频因子为1
BCSCTL1 = 0X
www.eeworm.com/read/473245/6849678
h uart.h
#ifndef _Uart_h_
#define _Uart_h_
void uart0_init(void);
void uart_send_char(char data);
void uart_send_string(char * s); // \arg pointer to a string ending by \0
#endif
www.eeworm.com/read/473245/6849683
c uart.c
/******************************************************************************
**Name: 串口驱动程序
**note: ATmega8@1.0Mhz
**compiler: IccAVR
**Verson: v1.0
**Date: 2008.08.31
**By: Eason
**