m68562sio.html
来自「vxworks相关论文」· HTML 代码 · 共 140 行
HTML
140 行
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/m68562Sio.html - generated by refgen from m68562Sio.c --> <title> m68562Sio </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>VxWorks Reference Manual : Libraries</i></a></p></blockquote><h1>m68562Sio</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>m68562Sio</strong> - MC68562 DUSCC serial driver </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./m68562Sio.html#m68562HrdInit">m68562HrdInit</a></i>( )</b> - initialize the DUSCC<br><b><i><a href="./m68562Sio.html#m68562RxTxErrInt">m68562RxTxErrInt</a></i>( )</b> - handle a receiver/transmitter error interrupt<br><b><i><a href="./m68562Sio.html#m68562RxInt">m68562RxInt</a></i>( )</b> - handle a receiver interrupt<br><b><i><a href="./m68562Sio.html#m68562TxInt">m68562TxInt</a></i>( )</b> - handle a transmitter interrupt<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This is the driver for the MC68562 DUSCC serial chip.It uses the DUSCC in asynchronous mode only.<p></blockquote><h4>USAGE</h4><blockquote><p>A <b>M68562_QUSART</b> structure is used to describe the chip. This data structurecontains <b>M68562_CHAN</b> structures which describe the chip's serial channels.The BSP's <b><i><a href="./sysLib.html#sysHwInit">sysHwInit</a></i>( )</b> routine typically calls <b><i><a href="./sysLib.html#sysSerialHwInit">sysSerialHwInit</a></i>( )</b>which initializes all the values in the <b>M68562_QUSART</b> structure (exceptthe <b>SIO_DRV_FUNCS</b>) before calling <b><i><a href="./m68562Sio.html#m68562HrdInit">m68562HrdInit</a></i>( )</b>.The BSP's <b><i><a href="../bsp/ads360/sysLib.html#sysHwInit2" >sysHwInit2</a></i>( )</b> routine typically calls <b><i><a href="./sysLib.html#sysSerialHwInit2">sysSerialHwInit2</a></i>( )</b> whichconnects the chips interrupts (m68562RxTxErrInt, m68562RxInt, andm68562TxInt) via <b><i><a href="./intArchLib.html#intConnect">intConnect</a></i>( )</b>.<p></blockquote><h4>IOCTL</h4><blockquote><p>This driver responds to the same <b><i><a href="./ioLib.html#ioctl">ioctl</a></i>( )</b> codes as a normal serial driver.See the file <b>sioLib.h</b> for more information.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>drv/sio/m68562Sio.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./m68562Sio.html#top">m68562Sio</a></b><hr><a name="m68562HrdInit"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>m68562HrdInit</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>m68562HrdInit</i>( )</strong> - initialize the DUSCC</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void m68562HrdInit ( M68562_QUSART * pQusart )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>The BSP must have already initialized all the device addresses, etc in<b>M68562_DUSART</b> structure. This routine resets the chip in a quiescent state.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./m68562Sio.html#top">m68562Sio</a></b><hr><a name="m68562RxTxErrInt"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>m68562RxTxErrInt</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>m68562RxTxErrInt</i>( )</strong> - handle a receiver/transmitter error interrupt</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void m68562RxTxErrInt ( M68562_CHAN * pChan )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>Only the receive overrun condition is handled.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./m68562Sio.html#top">m68562Sio</a></b><hr><a name="m68562RxInt"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>m68562RxInt</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>m68562RxInt</i>( )</strong> - handle a receiver interrupt</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void m68562RxInt ( M68562_CHAN * pChan )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./m68562Sio.html#top">m68562Sio</a></b><hr><a name="m68562TxInt"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>m68562TxInt</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>m68562TxInt</i>( )</strong> - handle a transmitter interrupt</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void m68562TxInt ( M68562_CHAN * pChan )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>If there is another character to be transmitted, it sends it. Ifnot, or if a device has never been created for this channel,disable the interrupt.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./m68562Sio.html#top">m68562Sio</a></b></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?