PanFLUte
usart.h
1 #ifndef USART_H
2 #define USART_H
3 
4 #include <stdio.h>
5 #include <stdlib.h>
6 #include <avr/io.h>
7 #define FOCS 2000000
8 #define BAUD 9600
9 #define MYUBRR FOCS/16/BAUD-1
10 void usartInit(unsigned int ubrr);
11 void usartTransmit(unsigned char data);
12 unsigned char usartReceive(void);
13 int print(char c, FILE *stream);
14 
15 #endif // USART_H
void usartTransmit(unsigned char data)
Definition: usart.c:21
unsigned char usartReceive(void)
Definition: usart.c:29
void usartInit(unsigned int ubrr)
Definition: usart.c:9