代码搜索结果
找到约 10,000 项符合
UART 的代码
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
uart.c
/******************************************************************************
**Name: 串口驱动程序
**note: ATmega8@1.0Mhz
**compiler: IccAVR
**Verson: v1.0
**Date: 2008.08.31
**By: Eason
**
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
uart.h
/* Name: uart.h
* Project: AVR USB driver for CDC interface on Low-Speed USB
* Author: Osamu Tamura
* Creation Date: 2006-06-18
* Tabsize: 4
* Copyright: (c) 2006 by Recursion Co., Ltd.
* Licen
uart.c
/* Name: uart.c
* Project: AVR USB driver for CDC interface on Low-Speed USB
* Author: Osamu Tamura
* Creation Date: 2006-06-18
* Tabsize: 4
* Copyright: (c) 2006 by Recursion Co., Ltd.
* Licens
uart.vhd
-- File Name: uart.vhd
-- Version: 1.1
-- Date: January 22, 2000
-- Model: Uart Chip
-- Dependencies: txmit.hd, rcvr.vhd
--
-- Company: Xilinx
--
--
-- Disclaimer:
uart.h
/******************************************************************************/
/* uart.h */
/*