代码搜索:UART 有哪些应用?
找到约 10,000 项符合「UART 有哪些应用?」的源代码
代码结果 10,000
www.eeworm.com/read/373717/2760123
lst uart.lst
A51 MACRO ASSEMBLER UART 11/23/2003 09:24:52 PAGE 1
MACRO ASSEMBLER A51 V6.12
OBJECT MODULE PLACED IN UART.OBJ
ASSEMBLER INV
www.eeworm.com/read/371432/2779892
h uart.h
#ifndef _UART_H
#define _UART_H
//设置主时钟和波特率
#define MCLK 11059200L
#define BAUD_RATE 9600L
void UartInit();
#endif
www.eeworm.com/read/371432/2779900
c uart.c
#include "config.h"
void UartInit()
{
//串行口设置:8位UART,允许接收,TI置位
SCON = 0x52;
//波特率加倍
PCON |= 0x80;
//设置T1为8位自动重装定时器(T1的溢出率即串行口波特率)
TMOD &= 0x0F;
TMOD |= 0x20;
//设置定时器T1的初值
TH1 = 256
www.eeworm.com/read/371432/2779906
lst uart.lst
C51 COMPILER V7.02a UART 09/24/2008 21:36:21 PAGE 1
C51 COMPILER V7.02a, COMPILATION OF MODULE UART
OBJECT MODULE PLACED IN u
www.eeworm.com/read/368758/2808193
h uart.h
/*
* uart.h -- ColdFire internal UART support defines.
*
* Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
*
* See file CREDITS for list of p
www.eeworm.com/read/368758/2808486
h uart.h
/*
* UART Masks
*/
#ifndef __BFIN_PERIPHERAL_UART__
#define __BFIN_PERIPHERAL_UART__
/* UARTx_LCR Masks */
#define WLS 0x03 /* Word Length Select */
#define WLS_5 0x00 /* 5 bit word */
#define
www.eeworm.com/read/368758/2808934
c uart.c
/*
* (C) Copyright 2004, Freescale, Inc
* TsiChung Liew, Tsi-Chung.Liew@freescale.com.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free softwa
www.eeworm.com/read/368758/2811966
c uart.c
/*
* (C) Copyright 2002
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you