代码搜索:如何学习 UART?
找到约 10,000 项符合「如何学习 UART?」的源代码
代码结果 10,000
www.eeworm.com/read/155551/5621019
h uart.h
//*****************************************************************************
//
// uart.h - Defines and Macros for the UART.
//
// Copyright (c) 2005,2006 Luminary Micro, Inc. All rights reser
www.eeworm.com/read/155397/5623080
nc uart.nc
// $Id: UART.nc,v 1.1.14.4 2003/08/26 09:08:17 cssharp Exp $
/* tab:4
* "Copyright (c) 2000-2003 The Regents of the University of California.
* All rights reserved.
*
* Permission to u
www.eeworm.com/read/154801/5634347
c uart.c
/******************** (C) COPYRIGHT 2003 STMicroelectronics ********************
* File Name : uart.c
* Author : MCD Application Team
* Date First Issued : 06/08/2003
* Descr
www.eeworm.com/read/154801/5634349
h uart.h
/******************** (C) COPYRIGHT 2003 STMicroelectronics ********************
* File Name : uart.h
* Author : MCD Application Team
* Date First Issued : 16/05/2003
* Descr
www.eeworm.com/read/154705/5634941
c uart.c
/**************************************************************************************************
*
* Copyright (c) 2001
www.eeworm.com/read/154705/5634954
c uart.c
/**************************************************************************************************
* FILENAME
* uart.c
*
* VERSION
* 1.0
*
* DESCRIPTION
* This file contai
www.eeworm.com/read/154022/5643563
h uart.h
void InitUART(void);
void InitUART(void)
{
SCON = 0x50; // SCON: mode 1, 8-bit UART, enable rcvr
BDRCON = 0x1e; //BRR=1,TBCK=1,RBCK=1,SPD=1,M0SRC=0
BRL = 223; // bound rate 38400
www.eeworm.com/read/153434/5650243
h uart.h
#ifdef UART_GLOBALS
#define UART_EXT
#else
#define UART_EXT extern
#endif
#define BAUD_CNT 9
#define BAUD_57600 57600
#define BAUD_28800 28800
#define BAUD_19200 19200
#def
www.eeworm.com/read/153434/5650246
c uart.c
#define UART_GLOBALS
#include "config.h"
static uint8 SerLen,ExtData;
static uint8 LenSend; //已发送的有效数据长度
/*
*********************************************************************************
www.eeworm.com/read/475737/6776796
h uart.h
#ifndef __DEMO_UART_MAIN_H__
#define __DEMO_UART_MAIN_H__
#include
#include
#include
#define fosc 16000000 // 16 MHz
#define baudrate 57600