/************************** Copyright (c) **********************************
|
** FUZHOU FUGUANG ELECTRONICS Co.,LTD.
|
** ¸£Öݸ£¹âµç×ÓÓÐÏÞ¹«Ë¾
|
** http://www.fuguang.com
|
**
|
**-------------- File Info -------------------------------------------------
|
** File name: M64USART_Driver.h
|
** Last modified Date: 2008-11-16
|
** Last Version: 1.0
|
** Descriptions: M64USART Drivers lib
|
**
|
**--------------------------------------------------------------------------
|
** Created by: mxpopstar
|
** Created date: 2008-11-16
|
** Version: 1.0
|
** Descriptions: The original version
|
**
|
**--------------------------------------------------------------------------
|
** Modified by: mxpopstar
|
** Modified date: 2008-11-20
|
** Version:
|
** Descriptions: M64USART Drivers lib
|
**
|
***************************************************************************/
|
//
|
#ifndef M64USART_Dri_H
|
#define M64USART_Dri_H
|
|
#include <avr/io.h>
|
#include <util/delay.h>
|
|
void InitIO_M64USART0(void);
|
void Config_M64USART0(const unsigned int baud);
|
void ClearUSART0RXBuffer(void);
|
void SendByte_M64USART0(const unsigned char data);
|
unsigned char ReceiveByte_M64USART0(void);
|
unsigned char ReceiveStr_M64USART0(void *buf, const unsigned char len);
|
void SendSTR_M64USART0(volatile const void *data, const unsigned int count);
|
|
#endif
|
//
|