BSP and Device Driver Development Guide
The console_write
is invoked when the serial device is to be written to.
This entry point corresponds to the device driver write entry point.
This routine is responsible for adding the requested characters to the Termios
output queue for this device. This is done by calling the routine
rtems_termios_write
to add the characters at the end of the Termios
output buffer.
rtems_device_driver console_write( rtems_device_major_number major, rtems_device_minor_number minor, void *arg ) { return rtems_termios_write(arg); }
BSP and Device Driver Development Guide
Copyright © 1988-2008 OAR Corporation