⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pccardlib.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/pccardLib.html - generated by refgen from pccardLib.c --> <title> pccardLib </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>pccardLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>pccardLib</strong> - PC CARD enabler library </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./pccardLib.html#pccardMount">pccardMount</a></i>(&nbsp;)</b>  -  mount a DOS file system<br><b><i><a href="./pccardLib.html#pccardMkfs">pccardMkfs</a></i>(&nbsp;)</b>  -  initialize a device and mount a DOS file system<br><b><i><a href="./pccardLib.html#pccardAtaEnabler">pccardAtaEnabler</a></i>(&nbsp;)</b>  -  enable the PCMCIA-ATA device<br><b><i><a href="./pccardLib.html#pccardSramEnabler">pccardSramEnabler</a></i>(&nbsp;)</b>  -  enable the PCMCIA-SRAM driver<br><b><i><a href="./pccardLib.html#pccardEltEnabler">pccardEltEnabler</a></i>(&nbsp;)</b>  -  enable the PCMCIA Etherlink III card<br><b><i><a href="./pccardLib.html#pccardTffsEnabler">pccardTffsEnabler</a></i>(&nbsp;)</b>  -  enable the PCMCIA-TFFS driver<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides generic facilities for enabling PC CARD.Each PC card device driver needs to provide an enabler routine anda CSC interrupt handler.  The enabler routine must be in the<b>pccardEnabler</b> structure.Each PC card driver has its own resource structure, <b>xxResources</b>.  TheATA PC card driver resource structure is <b>ataResources</b> in<b><a href="./sysLib.html#top">sysLib</a></b>, which also supports a local IDE disk.The resource structure has a PC card common resource structure inthe first member.  Other members are device-driver dependent resources.<p>The PCMCIA chip initialization routines <b><i><a href="./tcic.html#tcicInit">tcicInit</a></i>(&nbsp;)</b> and <b><i><a href="./pcic.html#pcicInit">pcicInit</a></i>(&nbsp;)</b> are included in the PCMCIA chip table <b>pcmciaAdapter</b>.This table is scanned when the PCMCIA library is initialized.  If theinitialization routine finds the PCMCIA chip, it registers all functionpointers of the <b>PCMCIA_CHIP</b> structure.<p>A memory window defined in <b>pcmciaMemwin</b> is used to accessthe CIS of a PC card through the routines in cisLib.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pccardLib.html#top">pccardLib</a></b>, <b><a href="./pcmciaLib.html#top">pcmciaLib</a></b>, <b><a href="./cisLib.html#top">cisLib</a></b>, tcic, pcic<hr><a name="pccardMount"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>pccardMount</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pccardMount</i>(&nbsp;)</strong> - mount a DOS file system</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pccardMount    (    int    sock, /* socket number */    char * pName /* name of a device */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine mounts a DOS file system.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK or ERROR.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pccardLib.html#top">pccardLib</a></b><hr><a name="pccardMkfs"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>pccardMkfs</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pccardMkfs</i>(&nbsp;)</strong> - initialize a device and mount a DOS file system</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pccardMkfs    (    int    sock, /* socket number */    char * pName /* name of a device */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine initializes a device and mounts a DOS file system.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK or ERROR.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pccardLib.html#top">pccardLib</a></b><hr><a name="pccardAtaEnabler"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>pccardAtaEnabler</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pccardAtaEnabler</i>(&nbsp;)</strong> - enable the PCMCIA-ATA device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pccardAtaEnabler    (    int            sock,         /* socket no. */    ATA_RESOURCE * pAtaResource, /* pointer to ATA resources */    int            numEnt,       /* number of ATA resource entries */    FUNCPTR        showRtn       /* ATA show routine */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine enables the PCMCIA-ATA device.<p></blockquote><h4>RETURNS</h4><blockquote><p><p>OK, <b>ERROR_FIND</b> if there is no ATA card, or ERROR if another error occurs.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pccardLib.html#top">pccardLib</a></b><hr><a name="pccardSramEnabler"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>pccardSramEnabler</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pccardSramEnabler</i>(&nbsp;)</strong> - enable the PCMCIA-SRAM driver</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pccardSramEnabler    (    int             sock,          /* socket no. */    SRAM_RESOURCE * pSramResource, /* pointer to SRAM resources */    int             numEnt,        /* number of SRAM resource entries */    FUNCPTR         showRtn        /* SRAM show routine */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine enables the PCMCIA-SRAM driver.<p></blockquote><h4>RETURNS</h4><blockquote><p><p>OK, <b>ERROR_FIND</b> if there is no SRAM card, or ERROR if another error occurs.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pccardLib.html#top">pccardLib</a></b><hr><a name="pccardEltEnabler"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>pccardEltEnabler</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pccardEltEnabler</i>(&nbsp;)</strong> - enable the PCMCIA Etherlink III card</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pccardEltEnabler    (    int            sock,         /* socket no. */    ELT_RESOURCE * pEltResource, /* pointer to ELT resources */    int            numEnt,       /* number of ELT resource entries */    FUNCPTR        showRtn       /* show routine */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine enables the PCMCIA Etherlink III (ELT) card.<p></blockquote><h4>RETURNS</h4><blockquote><p><p>OK, <b>ERROR_FIND</b> if there is no ELT card, or ERROR if another error occurs.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pccardLib.html#top">pccardLib</a></b><hr><a name="pccardTffsEnabler"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>pccardTffsEnabler</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pccardTffsEnabler</i>(&nbsp;)</strong> - enable the PCMCIA-TFFS driver</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pccardTffsEnabler    (    int             sock,          /* socket no. */    TFFS_RESOURCE * pTffsResource, /* pointer to TFFS resources */    int             numEnt,        /* number of SRAM resource entries */    FUNCPTR         showRtn        /* TFFS show routine */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine enables the PCMCIA-TFFS driver.<p></blockquote><h4>RETURNS</h4><blockquote><p><p>OK, <b>ERROR_FIND</b> if there is no TFFS(Flash) card, or ERROR if another error occurs.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pccardLib.html#top">pccardLib</a></b></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -