BSP and Device Driver Development Guide
This chapter describes the operation of a console driver using the RTEMS POSIX Termios support. Traditionally RTEMS has referred to all serial device drivers as console device drivers. A console driver can be used to do raw data processing in addition to the "normal" standard input and output device functions required of a console.
The serial driver may be called as the consequence of a C Library
call such as printf
or scanf
or directly via the
read
or write
system calls.
There are two main functioning modes:
One may think that two serial drivers are needed to handle these two types of data, but Termios permits having only one driver.
BSP and Device Driver Development Guide
Copyright © 1988-2007OAR Corporation