OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [OpenRISC_SIM_GCC/] [drivers/] [uart.h] - Diff between revs 621 and 622

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 621 Rev 622
Line 116... Line 116...
#define UART_EFR_CTS    0x80    /* CTS flow control */
#define UART_EFR_CTS    0x80    /* CTS flow control */
#define UART_EFR_RTS    0x40    /* RTS flow control */
#define UART_EFR_RTS    0x40    /* RTS flow control */
#define UART_EFR_SCD    0x20    /* Special character detect */
#define UART_EFR_SCD    0x20    /* Special character detect */
#define UART_EFR_ENI    0x10    /* Enhanced Interrupt */
#define UART_EFR_ENI    0x10    /* Enhanced Interrupt */
 
 
void uart_init(void);
void uart_init(int core);
void uart_putc(char);
void uart_putc(int core, char c);
char uart_getc(void);
void uart_putc_noblock(int core, char c);
 
char uart_getc(int core);
 
int uart_check_for_char(int core);
 
char uart_getc_noblock(int core);
 
void uart_rxint_enable(int core);
 
void uart_rxint_disable(int core);
 
void uart_txint_enable(int core);
 
void uart_txint_disable(int core);
 
char uart_get_iir(int core);
 
char uart_get_lsr(int core);
 
char uart_get_msr(int core);
 
 
void uart_print_str(char *p);
void uart_print_str(char *p);
void uart_print_int(int n);
void uart_print_int(int n);
 
 
#endif
#endif
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.