代码搜索:UART 有哪些应用?
找到约 10,000 项符合「UART 有哪些应用?」的源代码
代码结果 10,000
www.eeworm.com/read/389095/8548351
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/389095/8548356
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/389095/8548360
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/389095/8548362
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/389095/8548449
h uart.h
void Init_CLK(void);
void Init_UART0(void);
void Init_UART1(void);
www.eeworm.com/read/389095/8548467
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/389095/8548548
h uart.h
void Init_CLK(void);
void Init_UART0(void);
void Init_UART1(void);
www.eeworm.com/read/389095/8548553
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/389075/8549231
h uart.h
#ifndef UART_H
#define UART_H
#ifdef __cplusplus
extern "C" {
#endif
#include "define.h"
#include "int0.h"
#include "timer0.h"
extern int UART_BASE;
extern int uart_get;
extern void ua
www.eeworm.com/read/389075/8549267
c uart.c
#include "uart.h"
int UART_BASE;
int uart_get;
void irq_handler(void);
void uart_init(unsigned channel, unsigned long baud)
{
unsigned instruction;
/* ARM irq exception vector addr is