o add sram poc test

This commit is contained in:
optixx
2009-01-12 23:14:40 +01:00
parent 263e091e92
commit 05838c9b76
14 changed files with 951 additions and 0 deletions

18
poc/sram_m32/uart.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef _UART_H_
#define _UART_H_
#define CR "\r\n"
#include <avr/io.h>
#include <avr/pgmspace.h>
#include <stdio.h>
void uart_init(void);
void uart_putc(const uint8_t);
void uart_puts(const char *s);
void uart_puts_P(PGM_P s);
static int uart_stream(char c, FILE *stream);
#endif /* _UART_H_ */