summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/lm32/shared/milkymist_console/uart.h
blob: 5dbb8cd859e100588845edb890b4a9571db8dd91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * @file
 * @ingroup lm32_uart lm32_milkymist_shared
 * @brief Milkymist UART definitions
 */

/*
 *  This file contains definitions for the Milkymist UART
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 */

#ifndef _BSPUART_H
#define _BSPUART_H

void BSP_uart_init(int baud);
void BSP_uart_polled_write(char ch);
int BSP_uart_polled_read(void);

#endif /* _BSPUART_H */