X-Git-Url: http://rtime.felk.cvut.cz/gitweb/arc.git/blobdiff_plain/07bbcb79799c461e4dc58be060a0c3e01f466c97..60966c493db6916acb0f8d9beaa9c1e77c206ef2:/boards/ti_tms570ls/examples/tms570_hdk_can/config/Com_PbCfg.h diff --git a/boards/ti_tms570ls/examples/tms570_hdk_can/config/Com_PbCfg.h b/boards/ti_tms570ls/examples/tms570_hdk_can/config/Com_PbCfg.h new file mode 100644 index 00000000..8dad3fe0 --- /dev/null +++ b/boards/ti_tms570ls/examples/tms570_hdk_can/config/Com_PbCfg.h @@ -0,0 +1,57 @@ +/* +* Configuration of module: Com (Com_PbCfg.h) +* +* Created by: ArcCore +* Copyright: +* +* Configured for (MCU): TMS570 +* +* Module vendor: ArcCore +* Generator version: 2.1.1 +* +* Generated by Arctic Studio (http://arccore.com) +*/ + + +#if !(((COM_SW_MAJOR_VERSION == 1) && (COM_SW_MINOR_VERSION == 2)) ) +#error Com: Configuration file expected BSW module version to be 1.2.* +#endif + +#ifndef COM_PBCFG_H +#define COM_PBCFG_H + +#include "Com_Types.h" + +extern const Com_ConfigType ComConfiguration; + +// COM Polite Defines. +#define COM_PDU_ID_FreqInd 0 +#define COM_PDU_ID_FreqReq 1 +#define COM_PDU_ID_RX_PDU 2 +#define COM_PDU_ID_TX_PDU 3 + +// PDU group definitions +#define ComPduGroup 0 +//#define CanDbImportedPdus 1 + + +// Signal definitions +#define Arg1 0 +#define ResultSig 1 +#define Arg2 2 +#define FreqIndSig 3 +#define FreqReqSig 4 + +/* #define TxData 0 +#define RxData 1 */ + + + +// Notifications +void Rte_COMCbk_FreqReqSig(void); + + +// Callouts + + +#endif /* COM_PBCFG_H */