RTEMS
5.0.0
|
The generic libchip serial driver interface. More...
Go to the source code of this file.
Data Structures | |
struct | _console_fns |
struct | _console_flow |
struct | _console_tbl |
struct | _console_data |
Typedefs | |
typedef uint8_t(* | getRegister_f) (uintptr_t port, uint8_t reg) |
typedef void(* | setRegister_f) (uintptr_t port, uint8_t reg, uint8_t value) |
typedef uint8_t(* | getData_f) (uintptr_t port) |
typedef void(* | setData_f) (uintptr_t port, uint8_t value) |
typedef struct _console_fns | console_fns |
typedef struct _console_flow | console_flow |
typedef struct _console_tbl | console_tbl |
typedef struct _console_data | console_data |
Enumerations | |
enum | console_devs { SERIAL_MC68681, SERIAL_NS16550, SERIAL_NS16550_WITH_FDR, SERIAL_Z85C30, SERIAL_CUSTOM } |
Functions | |
void | bsp_console_select (void) |
Selects the minor number of the console device. More... | |
Variables | |
console_tbl ** | Console_Port_Tbl |
unsigned long | Console_Port_Count |
console_tbl | Console_Configuration_Ports [] |
unsigned long | Console_Configuration_Count |
console_data * | Console_Port_Data |
rtems_device_minor_number | Console_Port_Minor |
The generic libchip serial driver interface.
typedef struct _console_data console_data |
This type defination provides data for the console port.
typedef struct _console_tbl console_tbl |
This type defination provides an structure that is used to uniquely identify a specific serial port.
getData_f |
This type function provides a hook for the bsp specific method that gets data from the specified port.
setData_f |
This type function provides a hook for the bsp specific method that sets register data from the given port and register to the given value.
This type function provides a hook for the bsp specific method that writes value to the specified port.
enum console_devs |
This type defination provides an enumerated type of all supported libchip console drivers.
void bsp_console_select | ( | void | ) |
Selects the minor number of the console device.
unsigned long Console_Configuration_Count |
The number of serial ports defined in Console_Configuration_Ports
console_tbl Console_Configuration_Ports[] |
The statically configured serial port information tables which are used to initially populate the dynamic tables.
unsigned long Console_Port_Count |
This is the number of serial ports defined in the Console_Port_Tbl.
console_data* Console_Port_Data |
This is an array of per port information.
console_tbl** Console_Port_Tbl |
This is a dynamically sized set of tables containing the serial port information.