![]() |
RTEMS 7.0-rc1
|
console driver for S3C2400 UARTs More...
#include <bsp.h>#include <rtems/libio.h>#include <termios.h>#include <rtems/bspIo.h>#include <s3c24xx.h>#include <libchip/serial.h>#include <libchip/sersupp.h>Macros | |
| #define | NUM_DEVS 1 |
Functions | |
| int | uart_poll_read (int minor) |
Variables | |
| int | dbg_dly |
| unsigned long | Console_Configuration_Count = NUM_DEVS |
| const console_fns | uart_fns |
| console_tbl | Console_Configuration_Ports [] |
| BSP_output_char_function_type | BSP_output_char = _BSP_put_char |
| This function pointer references the kernel character output implementation. | |
| BSP_polling_getchar_function_type | BSP_poll_char = _BSP_get_char |
| This function pointer may reference the kernel character input implementation. | |
console driver for S3C2400 UARTs
This driver uses the shared console driver in bsps/shared/dev/serial/legacy-console.c
If you want the driver to be interrupt driven, you need to write the ISR, and in the ISR insert the chars into termios's queue.
| unsigned long Console_Configuration_Count = NUM_DEVS |
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.
| const console_fns uart_fns |