📄 mb86940sio.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/mb86940Sio.html - generated by refgen from mb86940Sio.c --> <title> mb86940Sio </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>mb86940Sio</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>mb86940Sio</strong> - MB 86940 UART tty driver </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./mb86940Sio.html#mb86940DevInit">mb86940DevInit</a></i>( )</b> - install the driver function table<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This is the driver for the SPARClite MB86930 on-board serial ports.<p></blockquote><h4>USAGE</h4><blockquote><p>A <b>MB86940_CHAN</b> structure is used to describe the chip. <p>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>MB86940_CHAN</b> structure (exceptthe <b>SIO_DRV_FUNCS</b>) before calling <b><i><a href="./mb86940Sio.html#mb86940DevInit">mb86940DevInit</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 via <b><i><a href="./intArchLib.html#intConnect">intConnect</a></i>( )</b>. <p></blockquote><h4>IOCTL FUNCTIONS</h4><blockquote><p>The UARTs use timer 3 output to generate the following baud rates:110, 150, 300, 600, 1200, 2400, 4800, 9600, and 19200.Note that the UARTs will operate at the same baud rate.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>drv/sio/mb86940Sio.h</b> <p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./mb86940Sio.html#top">mb86940Sio</a></b><hr><a name="mb86940DevInit"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>mb86940DevInit</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>mb86940DevInit</i>( )</strong> - install the driver function table</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void mb86940DevInit ( MB86940_CHAN * pChan )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine installs the driver function table. It alsoprevents the serial channel from functioning by disabling the interrupt.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./mb86940Sio.html#top">mb86940Sio</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -