mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
20 lines
255 B
C
20 lines
255 B
C
#ifndef __UART_H
|
|
#define __UART_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void uart_init(void);
|
|
void uart_isr(void);
|
|
void uart_sync(void);
|
|
|
|
void uart_write(char c);
|
|
char uart_read(void);
|
|
int uart_read_nonblock(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|