代码搜索:如何学习 UART?
找到约 10,000 项符合「如何学习 UART?」的源代码
代码结果 10,000
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
**
www.eeworm.com/read/473366/6851547
mcp uart.mcp
www.eeworm.com/read/473366/6851551
c uart.c
#include "2410addr.h"
void Main(void){
char buffer[256];
ChangeClockDivider(1,1); // 1:2:4
ChangeMPllValue(0xa1,0x3,0x1); // FCLK=202.8MHz
Port_Init();
Ua
www.eeworm.com/read/473366/6851558