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.
19 lines
475 B
19 lines
475 B
#ifndef __UART_H__
|
|
#define __UART_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_put_hex (uint8_t data);
|
|
uint8_t uart_get_hex (void);
|
|
|
|
/* *********************************************************************** */
|
|
|
|
#endif /* __UART_H__ */
|