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

📄 struct_cpstruct_hdi.html

📁 Controller Area Network Programming Interface Environment Ver0.8。 CanPie版本0.8. CAN总线通讯编程接口源代码。
💻 HTML
字号:
<HTML><HEAD><TITLE>CpStruct_HDI struct Reference</TITLE><LINK HREF="micro.css" REL="stylesheet" TYPE="text/css"></HEAD><BODY BGCOLOR="#FFFFFF"><a name="PageTop"></a><!------ Document Header -------------------------------------------><table border="0" cellspacing="0" cellpadding="0"><tr><td valign="bottom"><img src="pictures/maphead.gif" vspace="0" border="0" height="20"></td></tr></table><table border="0" cellspacing="0" cellpadding="0"><tr><td valign="bottom"><a href="index.html"><img src="pictures/button_index.gif" vspace="0" border="0" height="25"></a></td><td valign="bottom"><a href="files.html"><img src="pictures/button_files.gif" vspace="0" border="0" height="25"></a></td><td valign="bottom"><a href="globals.html"><img src="pictures/button_funcs.gif" vspace="0" border="0" height="25"></a></td><td valign="bottom" width="80">&nbsp;</td><td valign="bottom"><a href="annotated.html"><img src="pictures/button_structs.gif" vspace="0" border="0" height="25"></a></td><td valign="bottom"><a href="functions.html"><img src="pictures/button_members.gif" vspace="0" border="0" height="25"></a></td></tr></table><hr noshade width=680 size=1 align=left><!------ Document Start --------------------------------------------><table width=680><tr><td><!-- Generated by Doxygen 1.2.6 --><h1>CpStruct_HDI  Struct Reference</h1>Hardware description interface. <a href="#_details">More...</a><p><code>#include &lt;<a class="el" href="cpconst_h-source.html">cpconst.h</a>&gt;</code><p><table border=0 cellpadding=0 cellspacing=0><tr><td colspan=2><br><h2>Data Fields</h2></td></tr><tr><td nowrap align=right valign=top>_U08&nbsp;</td><td valign=bottom><a class="el" href="struct_CpStruct_HDI.html#m0">v_SupportFlags</a></td></tr><tr><td nowrap align=right valign=top>_U08&nbsp;</td><td valign=bottom><a class="el" href="struct_CpStruct_HDI.html#m1">v_ControllerType</a></td></tr><tr><td nowrap align=right valign=top>_U08&nbsp;</td><td valign=bottom><a class="el" href="struct_CpStruct_HDI.html#m2">v_IRQNumber</a></td></tr><tr><td nowrap align=right valign=top>_U08&nbsp;</td><td valign=bottom><a class="el" href="struct_CpStruct_HDI.html#m3">v_VersionMajor</a></td></tr><tr><td nowrap align=right valign=top>_U08&nbsp;</td><td valign=bottom><a class="el" href="struct_CpStruct_HDI.html#m4">v_VersionMinor</a></td></tr><tr><td nowrap align=right valign=top>char*&nbsp;</td><td valign=bottom><a class="el" href="struct_CpStruct_HDI.html#m5">v_DriverName</a></td></tr><tr><td nowrap align=right valign=top>char*&nbsp;</td><td valign=bottom><a class="el" href="struct_CpStruct_HDI.html#m6">v_VersionNumber</a></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Hardware description interface.<p><p> The Hardware Description Interface provides a method to gather information about the CAN hardware and the functionality of the driver. All items in the structure CpStruct_HDI are constant and must be supplied by the designer of the CAN driver. The hardware description structure is available for every physical CAN channel. <p><hr><h2>Field Documentation</h2><a name="m1" doxytag="CpStruct_HDI::v_ControllerType"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td nowrap valign="top"><b> _U08 CpStruct_HDI::v_ControllerType          </b></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Constant value that identifies the used CAN controller chip. Possible values for this member are listed in the header file <a class="el" href="cpconst_h.html">cpconst.h</a>     </td>  </tr></table><a name="m5" doxytag="CpStruct_HDI::v_DriverName"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td nowrap valign="top"><b> char * CpStruct_HDI::v_DriverName          </b></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>A null terminated string which holds the name of the specific CAN driver. The string can be used to distinguish between different vendors.     </td>  </tr></table><a name="m2" doxytag="CpStruct_HDI::v_IRQNumber"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td nowrap valign="top"><b> _U08 CpStruct_HDI::v_IRQNumber          </b></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Defines the number of the interrupt which is used. If the flag IRQHandler is set to 0, the value of IRQNumber will be undefined.     </td>  </tr></table><a name="m0" doxytag="CpStruct_HDI::v_SupportFlags"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td nowrap valign="top"><b> _U08 CpStruct_HDI::v_SupportFlags          </b></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Bit coded value that decribes the features of the CAN driver. <ul> <li>Bit 0/1: 0 = Standard Frame, 1 = Extended Frame passive, 2 = Extended Frame active <li>Bit 2: 0 = BasicCAN, 1 = FullCAN <li>Bit 3: 0 = No IRQ Handler, 1 = Has IRQ Handler <li>Bit 4: 0 = No identifier filter, 1 = software identifier filter <li>Bit 5: 0 = No timestamp, 1 = has timestamp <li>Bit 6: 0 = No user data field, 1 = has user data field <li>Bit 7: reserved </ul>     </td>  </tr></table><a name="m3" doxytag="CpStruct_HDI::v_VersionMajor"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td nowrap valign="top"><b> _U08 CpStruct_HDI::v_VersionMajor          </b></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Holds the major version number of the CANpie driver release (current value = 0).     </td>  </tr></table><a name="m4" doxytag="CpStruct_HDI::v_VersionMinor"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td nowrap valign="top"><b> _U08 CpStruct_HDI::v_VersionMinor          </b></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Holds the minor version number of the CANpie driver release (current value = 4).     </td>  </tr></table><a name="m6" doxytag="CpStruct_HDI::v_VersionNumber"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td nowrap valign="top"><b> char * CpStruct_HDI::v_VersionNumber          </b></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>A null terminated string which holds the version of the specific CAN driver (e.g. DLL version, firmware version).     </td>  </tr></table><hr>The documentation for this struct was generated from the following file:<ul><li><a class="el" href="cpconst_h-source.html">cpconst.h</a></ul></td></tr></table><!------ Document footer -------------------------------------------><p><br><map name="FooterMap"><area shape=rect coords="  1, 1, 100, 20" href="#PageTop"><area shape=rect coords="400, 1, 500, 20" href="mailto:koppe@microcontrol.net?Subject=CANpie"></map><table width="600" border="0" bgcolor="#FFFFFF" cellspacing="0"><tr><td><IMG src="pictures/mapfoot.gif" border="0" usemap="#FooterMap"></td></tr><!------ print modification date -----------------------------------><tr><td align="right"><h4>Last modified: 10 Jul 2001</h4></td></tr></table>	</body></html>

⌨️ 快捷键说明

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