RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Data Structures | Typedefs | Functions | Variables
ns16550.h File Reference
#include <rtems/termiostypes.h>
#include <libchip/serial.h>

Go to the source code of this file.

Data Structures

struct  ns16550_context
 

Typedefs

typedef uint8_t(* ns16550_get_reg) (uintptr_t port, uint8_t reg)
 
typedef void(* ns16550_set_reg) (uintptr_t port, uint8_t reg, uint8_t value)
 
typedef struct ns16550_context ns16550_context
 
typedef uint32_t(* ns16550_calculate_baud_divisor) (ns16550_context *ctx, uint32_t baud)
 

Functions

void ns16550_outch_polled (console_tbl *c, char out)
 Polled write for NS16550.
 
int ns16550_inch_polled (console_tbl *c)
 
void ns16550_polled_putchar (rtems_termios_device_context *base, char out)
 Polled write for NS16550.
 
int ns16550_polled_getchar (rtems_termios_device_context *base)
 
bool ns16550_probe (rtems_termios_device_context *base)
 

Variables

const console_fns ns16550_fns
 
const console_fns ns16550_fns_polled
 
const console_flow ns16550_flow_RTSCTS
 
const console_flow ns16550_flow_DTRCTS
 
const rtems_termios_device_handler ns16550_handler_interrupt
 
const rtems_termios_device_handler ns16550_handler_polled
 
const rtems_termios_device_handler ns16550_handler_task
 
const rtems_termios_device_flow ns16550_flow_rtscts
 
const rtems_termios_device_flow ns16550_flow_dtrcts