o add mmc poc

This commit is contained in:
david
2009-02-12 23:14:24 +01:00
parent fce86ed33e
commit 1a59fe0036
9 changed files with 1702 additions and 0 deletions

23
poc/poc_mmc/uart.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef _UART_H_
#define _UART_H_
#define SUART_TXD
#define SUART_RXD
#include <avr/io.h>
#include <stdio.h>
void uart_init();
#ifdef SUART_TXD
void uart_putc(uint8_t byte);
void uart_puts(uint8_t *buf);
#endif // SUART_RXD
#ifdef SUART_RXD
uint8_t uart_getc_wait();
uint8_t uart_getc_nowait();
#endif // SUART_RXD
#endif /* _UART_H_ */