📄 cpconfig_h.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"> </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 </td><td valign=bottom><a class="el" href="cpconfig_h.html#a0">CP_MSG_TIME</a> 1</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="cpconfig_h.html#a1">CP_USR_DATA</a> 1</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="cpconfig_h.html#a2">CP_SW_FILTER</a> 2</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="cpconfig_h.html#a3">CP_FULL_CAN</a> 1</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="cpconfig_h.html#a4">CP_INT_HANDLER</a> 1</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="cpconfig_h.html#a5">CP_CHANNEL_MAX</a> 1</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="cpconfig_h.html#a6">CP_CAN_BASE_ADR</a> 0</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="cpconfig_h.html#a7">CP_DEFAULT_BAUDRATE</a> CP_BAUD_20K</td></tr><tr><td> </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 0 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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 1 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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 + -