📄 ppc860sio.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/ppc860Sio.html - generated by refgen from ppc860Sio.c --> <title> ppc860Sio </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>ppc860Sio</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>ppc860Sio</strong> - Motorola MPC800 SMC UART serial driver </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./ppc860Sio.html#ppc860DevInit">ppc860DevInit</a></i>( )</b> - initialize the SMC<br><b><i><a href="./ppc860Sio.html#ppc860Int">ppc860Int</a></i>( )</b> - handle an SMC interrupt<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This is the driver for the SMCs in the internal Communications Processor (CP)of the Motorola MPC68860/68821. This driver only supports the SMCs in asynchronous UART mode.<p></blockquote><h4>USAGE</h4><blockquote><p>A <b>PPC800SMC_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 values in the <b>PPC860SMC_CHAN</b> structure (exceptthe <b>SIO_DRV_FUNCS</b>) before calling <b><i><a href="./ppc860Sio.html#ppc860DevInit">ppc860DevInit</a></i>( )</b>.<p>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's interrupts via <b><i><a href="./intArchLib.html#intConnect">intConnect</a></i>( )</b>.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>drv/sio/ppc860Sio.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ppc860Sio.html#top">ppc860Sio</a></b><hr><a name="ppc860DevInit"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>ppc860DevInit</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>ppc860DevInit</i>( )</strong> - initialize the SMC</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void ppc860DevInit ( PPC860SMC_CHAN * pChan )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine is called to initialize the chip to a quiescent state.Note that the <b>smcNum</b> field of <b>PPC860SMC_CHAN</b> must be either 1 or 2.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ppc860Sio.html#top">ppc860Sio</a></b><hr><a name="ppc860Int"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>ppc860Int</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>ppc860Int</i>( )</strong> - handle an SMC interrupt</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void ppc860Int ( PPC860SMC_CHAN * pChan )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine is called to handle SMC interrupts.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ppc860Sio.html#top">ppc860Sio</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -