You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
545 B

#ifndef __UART_H__
#define __UART_H__
#include <avr/pgmspace.h>
/* *********************************************************************** */
void uart_init (void);
void uart_putc (uint8_t data);
uint8_t uart_getc (void);
uint8_t uart_rx_count (void);
void uart_putstr (const char *str);
void uart_putstr_p (const char *str);
void uart_put_hex (uint8_t data);
uint8_t uart_get_hex (void);
/* *********************************************************************** */
#endif /* __UART_H__ */