Line 51... |
Line 51... |
|
|
// compatibility wrappers (mapping to primary UART -> UART0)
|
// compatibility wrappers (mapping to primary UART -> UART0)
|
int neorv32_uart_available(void);
|
int neorv32_uart_available(void);
|
void neorv32_uart_setup(uint32_t baudrate, uint8_t parity, uint8_t flow_con);
|
void neorv32_uart_setup(uint32_t baudrate, uint8_t parity, uint8_t flow_con);
|
void neorv32_uart_disable(void);
|
void neorv32_uart_disable(void);
|
|
void neorv32_uart_enable(void);
|
void neorv32_uart_putc(char c);
|
void neorv32_uart_putc(char c);
|
int neorv32_uart_tx_busy(void);
|
int neorv32_uart_tx_busy(void);
|
char neorv32_uart_getc(void);
|
char neorv32_uart_getc(void);
|
int neorv32_uart_char_received(void);
|
int neorv32_uart_char_received(void);
|
int neorv32_uart_getc_safe(char *data);
|
int neorv32_uart_getc_safe(char *data);
|
Line 65... |
Line 66... |
|
|
// prototypes for UART0 (primary UART)
|
// prototypes for UART0 (primary UART)
|
int neorv32_uart0_available(void);
|
int neorv32_uart0_available(void);
|
void neorv32_uart0_setup(uint32_t baudrate, uint8_t parity, uint8_t flow_con);
|
void neorv32_uart0_setup(uint32_t baudrate, uint8_t parity, uint8_t flow_con);
|
void neorv32_uart0_disable(void);
|
void neorv32_uart0_disable(void);
|
|
void neorv32_uart0_enable(void);
|
void neorv32_uart0_putc(char c);
|
void neorv32_uart0_putc(char c);
|
int neorv32_uart0_tx_busy(void);
|
int neorv32_uart0_tx_busy(void);
|
char neorv32_uart0_getc(void);
|
char neorv32_uart0_getc(void);
|
int neorv32_uart0_char_received(void);
|
int neorv32_uart0_char_received(void);
|
int neorv32_uart0_getc_safe(char *data);
|
int neorv32_uart0_getc_safe(char *data);
|
Line 79... |
Line 81... |
|
|
// prototypes for UART1 (secondary UART)
|
// prototypes for UART1 (secondary UART)
|
int neorv32_uart1_available(void);
|
int neorv32_uart1_available(void);
|
void neorv32_uart1_setup(uint32_t baudrate, uint8_t parity, uint8_t flow_con);
|
void neorv32_uart1_setup(uint32_t baudrate, uint8_t parity, uint8_t flow_con);
|
void neorv32_uart1_disable(void);
|
void neorv32_uart1_disable(void);
|
|
void neorv32_uart1_enable(void);
|
void neorv32_uart1_putc(char c);
|
void neorv32_uart1_putc(char c);
|
int neorv32_uart1_tx_busy(void);
|
int neorv32_uart1_tx_busy(void);
|
char neorv32_uart1_getc(void);
|
char neorv32_uart1_getc(void);
|
int neorv32_uart1_char_received(void);
|
int neorv32_uart1_char_received(void);
|
int neorv32_uart1_getc_safe(char *data);
|
int neorv32_uart1_getc_safe(char *data);
|