Elisa3
usart.h
Go to the documentation of this file.
00001 
00002 #ifndef USART_H
00003 #define USART_H
00004 
00005 
00020 #include "variables.h"
00021 #include <avr\io.h>
00022 #include <avr\interrupt.h>
00023 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027 
00033 void initUsart0();
00034 
00040 void initUsart1();
00041 
00047 void usart0Transmit(unsigned char data, unsigned char isBlocking);
00048 
00054 void usart1Transmit(unsigned char data, unsigned char isBlocking);
00055 
00060 void closeUsart();
00061 
00067 char usart0InputBufferEmpty();
00068 
00073 unsigned char usart0Receive();
00074 
00075 #ifdef __cplusplus
00076 } // extern "C"
00077 #endif
00078 
00079 #endif
 All Files Functions Variables Defines