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

📄 cpconfig_h.html

📁 Controller Area Network Programming Interface Environment Ver0.8。 CanPie版本0.8. CAN总线通讯编程接口源代码。
💻 HTML
字号:
<HTML><HEAD><TITLE>cpconfig.h File 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>cpconfig.h File Reference</h1>CANpie configuration file. <a href="#_details">More...</a><p><p><a href="cpconfig_h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0><tr><td colspan=2><br><h2>Defines</h2></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="cpconfig_h.html#a0">CP_MSG_TIME</a>&nbsp;&nbsp;&nbsp;1</td></tr><tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="struct_CpStruct_CAN.html">CpStruct_CAN</a> configuration.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="cpconfig_h.html#a1">CP_USR_DATA</a>&nbsp;&nbsp;&nbsp;1</td></tr><tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="struct_CpStruct_CAN.html">CpStruct_CAN</a> configuration.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="cpconfig_h.html#a2">CP_SW_FILTER</a>&nbsp;&nbsp;&nbsp;2</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Identifier filter for CANpie.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="cpconfig_h.html#a3">CP_FULL_CAN</a>&nbsp;&nbsp;&nbsp;1</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Enable FullCAN function support.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="cpconfig_h.html#a4">CP_INT_HANDLER</a>&nbsp;&nbsp;&nbsp;1</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Interrupt handler support.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="cpconfig_h.html#a5">CP_CHANNEL_MAX</a>&nbsp;&nbsp;&nbsp;1</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Number of CAN channels.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="cpconfig_h.html#a6">CP_CAN_BASE_ADR</a>&nbsp;&nbsp;&nbsp;0</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>CAN controller base address.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="cpconfig_h.html#a7">CP_DEFAULT_BAUDRATE</a>&nbsp;&nbsp;&nbsp;CP_BAUD_20K</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Default baudrate for <a class="el" href="cpuser_h.html#a0">CpUserAppInit</a>().</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>CANpie configuration file.<p><p><p> Please set the definitions in this file for a specific CANpie behaviour. For detailed information please refer to the CANpie documentation (canpie.pdf).<p><hr><h2>Define Documentation</h2><a name="a6" doxytag="cpconfig.h::CP_CAN_BASE_ADR"></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> #define CP_CAN_BASE_ADR&nbsp;&nbsp;&nbsp;0      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>CAN controller base address.<p><p> Base address of the CAN controller in the address space.     </td>  </tr></table><a name="a5" doxytag="cpconfig.h::CP_CHANNEL_MAX"></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> #define CP_CHANNEL_MAX&nbsp;&nbsp;&nbsp;1      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Number of CAN channels.<p><p> This symbol defines the highest support CAN channel for CANpie. Counting starts from 1, e.g. a value of 2 means the driver supports two CAN channels. However, in the functions the parameter 磚bChannelV

⌨️ 快捷键说明

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