1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/include/board_uart0.h
Oleg Hahm 983d056c75 core: harmonizes the data type for the process ID
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00

29 lines
576 B
C

/**
* @defgroup sys_uart0 UART0
* @ingroup sys
* @brief UART0 interface abstraction
* @{
*
* @file board_uart0.h
* @brief Interface definitions for the UART0 abstraction
*/
#ifndef __BOARD_UART0_H
#define __BOARD_UART0_H
#include "kernel_types.h"
#include "cpu-conf.h" /* To give user access to UART0_BUFSIZE */
extern kernel_pid_t uart0_handler_pid;
void board_uart0_init(void);
void uart0_handle_incoming(int c);
void uart0_notify_thread(void);
int uart0_readc(void);
void uart0_putc(int c);
/** @} */
#endif /* __BOARD_UART0_H */