RTEMS
5.0.0
|
Declaration of serial's driver inner structure. More...
Go to the source code of this file.
Data Structures | |
struct | tms570_sci_context |
Functions | |
void | tms570_sci_initialize (tms570_sci_context *ctx) |
bool | tms570_sci_set_attributes (rtems_termios_device_context *base, const struct termios *term) |
Set attributes of the HW peripheral. More... | |
Variables | |
const rtems_termios_device_handler | tms570_sci_handler_polled |
Struct containing definitions of polled driver functions. More... | |
const rtems_termios_device_handler | tms570_sci_handler_interrupt |
Struct containing definitions of interrupt driven driver functions. More... | |
tms570_sci_context | driver_context_table [] |
Table including all serial drivers. More... | |
Declaration of serial's driver inner structure.
bool tms570_sci_set_attributes | ( | rtems_termios_device_context * | base, |
const struct termios * | t | ||
) |
Set attributes of the HW peripheral.
Sets attributes of the HW peripheral (parity, baud rate, etc.)
[in] | base | context of the driver |
[in] | t | termios driver |
true | peripheral setting is changed |
tms570_sci_context driver_context_table[] |
Table including all serial drivers.
Definitions of all serial drivers
const rtems_termios_device_handler tms570_sci_handler_interrupt |
Struct containing definitions of interrupt driven driver functions.
Encapsulates interrupt driven driver functions. Use of this table is determited by defining TMS570_USE_INTERRUPTS
const rtems_termios_device_handler tms570_sci_handler_polled |
Struct containing definitions of polled driver functions.
Encapsulates polled driver functions. Use of this table is determited by not defining TMS570_USE_INTERRUPTS