uart  1.4
Serial stream for Xmega/Wrapper for UART-driver Xmega
 All Files Functions Variables Macros
stream.h
Go to the documentation of this file.
1 
19 #include <stdio.h>
20 #define BAUD 115200
21 #define CLK2X 0
22 
23 
26 #define clear_screen() printf("\e[H\e[2J\e[3J");
27 
28 void init_stream(uint32_t fcpu);
29 
void init_stream(uint32_t fcpu)
Initialize a standard in/out stream It uses USART0 of port F, the baud rate is BAUD, doubleclockspeed is CLK2X and the interruptlevel is low The global interrupt is not yet set.
Definition: stream.c:74