Initial Commit

This commit is contained in:
Allen Hill
2015-07-18 15:45:42 -07:00
commit 9091a232ab
16 changed files with 6320 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
/*--------------------------------------------------------------------------------------------------
Name : USART.h
Description : Header file for USART functions.
History : 2004-10-22 - Created by Louis Frigon.
--------------------------------------------------------------------------------------------------*/
#ifndef _USART_H_
#define _USART_H_
#include <avr/pgmspace.h>
#include "GlobalDef.h"
#define USART_BUFFER_SIZE 80
extern char UsartMsgBuffer[ USART_BUFFER_SIZE ];
/*--------------------------------------------------------------------------------------------------
Function prototypes
--------------------------------------------------------------------------------------------------*/
// Function prototypes are mandatory otherwise the compiler generates unreliable code.
void InitUSART ( void );
bool UsartIsChr ( void );
char UsartGetChr ( void );
void UsartPutChr ( char c );
void UsartPutStr ( char *str );
void UsartPutCStr ( const char *str );
#endif // _USART_H_
/*--------------------------------------------------------------------------------------------------
End of file.
--------------------------------------------------------------------------------------------------*/