2013-11-27 16:28:31 +01:00
|
|
|
|
|
|
|
/**
|
2013-11-27 17:54:30 +01:00
|
|
|
* @defgroup sys_uart0 UART0
|
|
|
|
* @ingroup sys
|
|
|
|
* @brief UART0 interface abstraction
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file board_uart0.h
|
|
|
|
* @brief Interface definitions for the UART0 abstraction
|
2013-11-27 16:28:31 +01:00
|
|
|
*/
|
|
|
|
|
2010-09-30 15:10:39 +02:00
|
|
|
#ifndef __BOARD_UART0_H
|
2013-06-22 05:11:53 +02:00
|
|
|
#define __BOARD_UART0_H
|
2010-09-30 15:10:39 +02:00
|
|
|
|
2013-12-19 16:48:31 +01:00
|
|
|
#include "cpu-conf.h" /* To give user access to UART0_BUFSIZE */
|
|
|
|
|
2010-09-30 15:10:39 +02:00
|
|
|
extern int uart0_handler_pid;
|
|
|
|
|
2010-11-18 17:33:25 +01:00
|
|
|
void board_uart0_init(void);
|
2010-09-30 16:07:31 +02:00
|
|
|
void uart0_handle_incoming(int c);
|
2010-11-18 17:33:25 +01:00
|
|
|
void uart0_notify_thread(void);
|
|
|
|
|
|
|
|
int uart0_readc(void);
|
|
|
|
void uart0_putc(int c);
|
2010-09-30 15:10:39 +02:00
|
|
|
|
2013-11-27 17:54:30 +01:00
|
|
|
/** @} */
|
2010-09-30 15:10:39 +02:00
|
|
|
#endif /* __BOARD_UART0_H */
|