📄 evbns16550sio.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/evbNs16550Sio.html - generated by refgen from evbNs16550Sio.c --> <title> evbNs16550Sio </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>evbNs16550Sio</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>evbNs16550Sio</strong> - NS16550 serial driver for the IBM PPC403GA evaluation </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./evbNs16550Sio.html#evbNs16550HrdInit">evbNs16550HrdInit</a></i>( )</b> - initialize the NS 16550 chip<br><b><i><a href="./evbNs16550Sio.html#evbNs16550Int">evbNs16550Int</a></i>( )</b> - handle a receiver/transmitter interrupt for the NS 16550 chip<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This is the driver for the National NS 16550 UART Chip used on the IBM PPC403GA evaluation board.It uses the SCCs in asynchronous mode only.<p></blockquote><h4>USAGE</h4><blockquote><p>An <b>EVBNS16550_CHAN</b> structure is used to describe the chip.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 register values in the <b>EVBNS16550_CHAN</b> structure(except the <b>SIO_DRV_FUNCS</b>) before calling <b><i><a href="./evbNs16550Sio.html#evbNs16550HrdInit">evbNs16550HrdInit</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 chip interrupt handler <b><i><a href="./evbNs16550Sio.html#evbNs16550Int">evbNs16550Int</a></i>( )</b> via <b><i><a href="./intArchLib.html#intConnect">intConnect</a></i>( )</b>.<p></blockquote><h4>IOCTL FUNCTIONS</h4><blockquote><p>This driver responds to the same <b><i><a href="./ioLib.html#ioctl">ioctl</a></i>( )</b> codes as other serial drivers;for more information, see <b>sioLib.h</b>.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>drv/sio/evbNs16550Sio.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./evbNs16550Sio.html#top">evbNs16550Sio</a></b><hr><a name="evbNs16550HrdInit"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>evbNs16550HrdInit</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>evbNs16550HrdInit</i>( )</strong> - initialize the NS 16550 chip</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void evbNs16550HrdInit ( EVBNS16550_CHAN * pChan )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine is called to reset the NS 16550 chip to a quiescent state.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./evbNs16550Sio.html#top">evbNs16550Sio</a></b><hr><a name="evbNs16550Int"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>evbNs16550Int</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>evbNs16550Int</i>( )</strong> - handle a receiver/transmitter interrupt for the NS 16550 chip</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void evbNs16550Int ( EVBNS16550_CHAN * pChan )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine is called to handle interrupts.If there is another character to be transmitted, it sends it. Ifthe interrupt handler is called erroneously (for example, if a devicehas never been created for the channel), itdisables the interrupt.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./evbNs16550Sio.html#top">evbNs16550Sio</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -