URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
[/] [neorv32/] [trunk/] [sw/] [lib/] [include/] [neorv32_uart.h] - Diff between revs 23 and 42
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 23 |
Rev 42 |
Line 47... |
Line 47... |
// Libs required by functions
|
// Libs required by functions
|
#include <stdarg.h>
|
#include <stdarg.h>
|
|
|
// prototypes
|
// prototypes
|
int neorv32_uart_available(void);
|
int neorv32_uart_available(void);
|
void neorv32_uart_setup(uint32_t baudrate, uint8_t rx_irq, uint8_t tx_irq);
|
void neorv32_uart_setup(uint32_t baudrate, uint8_t parity, uint8_t rx_irq, uint8_t tx_irq);
|
void neorv32_uart_disable(void);
|
void neorv32_uart_disable(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_secure(char *data);
|
char neorv32_uart_char_received_get(void);
|
char neorv32_uart_char_received_get(void);
|
void neorv32_uart_print(const char *s);
|
void neorv32_uart_print(const char *s);
|
void neorv32_uart_printf(const char *format, ...);
|
void neorv32_uart_printf(const char *format, ...);
|
int neorv32_uart_scan(char *buffer, int max_size, int echo);
|
int neorv32_uart_scan(char *buffer, int max_size, int echo);
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.