ThelatestUARTdrivermodelforportingserialdevicesas.docxVIP

  • 15
  • 0
  • 约1.01万字
  • 约 29页
  • 2017-03-24 发布于湖北
  • 举报

ThelatestUARTdrivermodelforportingserialdevicesas.docx

ThelatestUARTdrivermodelforportingserialdevicesas

The latest UART driver model for porting serial devices as standard Linux serial ports Jim Chen ( jim.chen@hytec-electronics.co.uk ) 14/06/2011 Hytec Electronics Ltd Contents Hytec Electronics Ltd 14/06/2011 Overview of the hardware and software TTY device driver New UART device driver An example in brief Summary We all familiar with 14/06/2011 Hytec Electronics Ltd drvAsynSerialPortConfigure(“port1,/dev/ttyS0,0,0,0) asynSetOption( port1 , -1, baud, 9600) asynSetOption( port1 , -1, bits, 8) asynSetOption( port1 , -1, parity, none) asynSetOption( port1 , -1, stop, 1) asynSetOption(

文档评论(0)

1亿VIP精品文档

相关文档