BSP and Device Driver Development Guide
The console_read
is invoked when the serial device is to be read from.
This entry point corresponds to the device driver read entry point.
This routine is responsible for returning the content of the Termios input
buffer. This is done by invoking the rtems_termios_read
routine.
rtems_device_driver console_read( rtems_device_major_number major, rtems_device_minor_number minor, void *arg ) { return rtems_termios_read(arg); }
BSP and Device Driver Development Guide
Copyright © 1988-2008 OAR Corporation