*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Mon Dec 06 14:04:02 CET 2010\r
+ * on Wed Jan 12 13:11:04 CET 2011\r
*/\r
\r
\r
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Mon Dec 06 14:04:02 CET 2010\r
+ * on Wed Jan 12 13:11:04 CET 2011\r
*/\r
\r
-#if (OS_SW_MAJOR_VERSION != 2)
+#if ((OS_SW_MAJOR_VERSION != 2))
#error "Os: Configuration file version differs from BSW version."
#endif
* Configured for (MCU): MPC551x\r
*\r
* Module vendor: ArcCore\r
- * Module version: 2.0.3\r
+ * Module version: 2.0.4\r
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:04 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
\r
.WakeupSupport = CANIF_WAKEUP_SUPPORT_NO_WAKEUP,\r
.CanIfControllerIdRef = CANIF_CHANNEL_0,\r
.CanIfDriverNameRef = "FLEXCAN", // Not used\r
- .CanIfInitControllerRef = &CanControllerConfigData[0],\r
+ .CanIfInitControllerRef = &CanControllerConfigData[1],\r
},\r
\r
};\r
* Configured for (MCU): MPC551x\r
*\r
* Module vendor: ArcCore\r
- * Module version: 2.0.3\r
+ * Module version: 2.0.4\r
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:03 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
-#if (CANIF_SW_MAJOR_VERSION != 1 && CANIF_SW_MINOR_VERSION != 1)
+#if ((CANIF_SW_MAJOR_VERSION != 1) && (CANIF_SW_MINOR_VERSION != 1))
#error "CanIf: Configuration file version differs from BSW version."
#endif
CANIF_SOFTFILTER_TYPE_INDEX, // Not supported\r
CANIF_SOFTFILTER_TYPE_LINEAR, // Not supported\r
CANIF_SOFTFILTER_TYPE_TABLE, // Not supported\r
- CANIF_SOFTFILTER_TYPE_MASK, // CanIfCanRxPduCanIdMask in RxPduConfig is used for filtering\r
+ CANIF_SOFTFILTER_TYPE_MASK // CanIfCanRxPduCanIdMask in RxPduConfig is used for filtering\r
} CanIf_SoftwareFilterTypeType;\r
\r
typedef enum {\r
CANIF_USER_TYPE_CAN_NM,\r
CANIF_USER_TYPE_CAN_TP,\r
CANIF_USER_TYPE_CAN_PDUR,\r
- CANIF_USER_TYPE_CAN_SPECIAL,\r
+ CANIF_USER_TYPE_CAN_SPECIAL\r
} CanIf_UserTypeType;\r
\r
\r
typedef enum {\r
CANIF_WAKEUP_SUPPORT_CONTROLLER,\r
CANIF_WAKEUP_SUPPORT_NO_WAKEUP,\r
- CANIF_WAKEUP_SUPPORT_TRANSCEIVER,\r
+ CANIF_WAKEUP_SUPPORT_TRANSCEIVER\r
} CanIf_WakeupSupportType;\r
\r
\r
// CanIf-specific id of the controller\r
CanIf_Arc_ChannelIdType CanIfControllerIdRef;\r
\r
- const char CanIfDriverNameRef[8]; // Not used\r
+ const uint8 CanIfDriverNameRef[8]; // Not used\r
\r
const Can_ControllerConfigType *CanIfInitControllerRef;\r
} CanIf_ControllerConfigType;\r
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:03 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
-#if (CAN_SW_MAJOR_VERSION != 1)
+#if ((CAN_SW_MAJOR_VERSION != 1))
#error "Can: Configuration file version differs from BSW version."
#endif
typedef enum {\r
CAN_ID_TYPE_EXTENDED,\r
CAN_ID_TYPE_MIXED,\r
- CAN_ID_TYPE_STANDARD,\r
+ CAN_ID_TYPE_STANDARD\r
} Can_IdTypeType;\r
\r
typedef enum {\r
CAN_OBJECT_TYPE_RECEIVE,\r
- CAN_OBJECT_TYPE_TRANSMIT,\r
+ CAN_OBJECT_TYPE_TRANSMIT\r
} Can_ObjectTypeType;\r
\r
\r
typedef struct {\r
// Specifies the InstanceId of this module instance. If only one instance is\r
// present it shall have the Id 0\r
- int CanIndex;\r
+ uint8 CanIndex;\r
} Can_GeneralType;\r
\r
// Start mc9s12 unique\r
\r
typedef enum {\r
CAN_ARC_PROCESS_TYPE_INTERRUPT,\r
- CAN_ARC_PROCESS_TYPE_POLLING,\r
+ CAN_ARC_PROCESS_TYPE_POLLING\r
} Can_Arc_ProcessType;\r
\r
typedef struct {\r
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:03 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
\r
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:04 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
-#if (COM_SW_MAJOR_VERSION != 1)
+#if ((COM_SW_MAJOR_VERSION != 1))
#error "Com: Configuration file version differs from BSW version."
#endif
\r
-#ifndef COM_CFG_H_\r
-#define COM_CFG_H_\r
+#ifndef COM_CFG_H\r
+#define COM_CFG_H\r
\r
#define COM_MODULE_ID 20\r
#define COM_INSTANCE_ID 1\r
#define ComConfigurationTimeBase 0.0\r
#define ComVersionInfoApi\r
\r
-#endif /*COM_CFG_H_*/\r
+#endif /*COM_CFG_H*/\r
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:04 CET 2010\r
+ * on Wed Jan 12 13:58:51 CET 2011\r
*/\r
\r
\r
#include "Com.h"\r
-#include "stdlib.h"\r
+#include "Com_Internal.h"\r
+#include <stdlib.h>\r
#if defined(USE_PDUR)\r
#include "PduR.h"\r
#endif\r
.ComNotification = NULL,\r
.ComTimeoutFactor = 0,\r
.ComTimeoutNotification = NULL,\r
+ .ComErrorNotification = NULL,\r
.ComTransferProperty = TRIGGERED,\r
\r
+ .ComUpdateBitPosition = 0,\r
+ .ComSignalArcUseUpdateBit = 0,\r
+ \r
\r
.ComSignalInitValue = &Com_SignalInitValue_SetLedLevelRx,\r
.ComBitPosition = 7,\r
.ComBitSize = 16,\r
.ComSignalEndianess = COM_BIG_ENDIAN,\r
.ComSignalType = UINT16,\r
+ .Com_Arc_IsSignalGroup = 0,\r
.ComGroupSignal = NULL,\r
\r
+ .ComRxDataTimeoutAction = COM_TIMEOUT_DATA_ACTION_NONE,\r
+ .Com_Arc_EOL = 0\r
},\r
{\r
.Com_Arc_EOL = 1\r
*/\r
const ComIPduGroup_type ComIPduGroup[] = {\r
{\r
- .ComIPduGroupHandleId = RxGroup\r
+ .ComIPduGroupHandleId = RxGroup,\r
+ .Com_Arc_EOL = 0\r
},\r
\r
{\r
.ComIPduDirection = RECEIVE,\r
.ComIPduGroupRef = RxGroup,\r
\r
+ .ComTxIPdu = {\r
+ .ComTxIPduMinimumDelayFactor = 0,\r
+ .ComTxIPduUnusedAreasDefault = 0,\r
+ .ComTxModeTrue = {\r
+ .ComTxModeMode = NONE,\r
+ .ComTxModeNumberOfRepetitions = 0,\r
+ .ComTxModeRepetitionPeriodFactor = 0,\r
+ .ComTxModeTimeOffsetFactor = 0,\r
+ .ComTxModeTimePeriodFactor = 0,\r
+ },\r
+ },\r
+ \r
.ComIPduSignalRef = ComIPduSignalRefs_LedCommandRx,\r
+ .Com_Arc_EOL = 0\r
}, \r
{\r
.Com_Arc_EOL = 1\r
.ComGroupSignal = ComGroupSignal\r
};\r
\r
+/* IPdu buffers and signal group buffers */\r
+uint8 ComArcIPduBuffer_LedCommandRx[8];\r
+ \r
+\r
+Com_Arc_IPdu_type Com_Arc_IPdu[] = {\r
+ { // LedCommandRx\r
+ .Com_Arc_TxIPduTimers = {\r
+ .ComTxIPduNumberOfRepetitionsLeft = 0,\r
+ .ComTxModeRepetitionPeriodTimer = 0,\r
+ .ComTxIPduMinimumDelayTimer = 0,\r
+ .ComTxModeTimePeriodTimer = 0\r
+ },\r
+ .ComIPduDataPtr = ComArcIPduBuffer_LedCommandRx,\r
+ .Com_Arc_IpduStarted = 0 \r
+ },\r
+};\r
+\r
+Com_Arc_Signal_type Com_Arc_Signal[] = {\r
+ { // SetLedLevelRx\r
+ .Com_Arc_DeadlineCounter = 0,\r
+ .ComTimeoutFactor = 0,\r
+ .ComIPduHandleId = 0,\r
+ .ComSignalUpdated = 0,\r
+ .ComIPduDataPtr = NULL,\r
+ \r
+ .Com_Arc_ShadowBuffer = NULL\r
+ \r
+ },\r
+ \r
+};\r
+\r
+Com_Arc_GroupSignal_type Com_Arc_GroupSignal[COM_N_GROUP_SIGNALS];\r
+\r
+uint8 outgoingSduPtr[8];\r
+\r
+Com_Arc_Config_type Com_Arc_Config = {\r
+ .ComIPdu = Com_Arc_IPdu,\r
+ .ComSignal = Com_Arc_Signal,\r
+ .ComGroupSignal = Com_Arc_GroupSignal,\r
+ .OutgoingPdu = {\r
+ .SduDataPtr = outgoingSduPtr,\r
+ .SduLength = 0\r
+ }\r
+};\r
\r
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:04 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
-#if (COM_SW_MAJOR_VERSION != 1)
+#if ((COM_SW_MAJOR_VERSION != 1))
#error "Com: Configuration file version differs from BSW version."
#endif
-#ifndef COM_PBCFG_H_\r
-#define COM_PBCFG_H_\r
+#ifndef COM_PBCFG_H\r
+#define COM_PBCFG_H\r
\r
#include "Com_Types.h"\r
\r
\r
\r
// PDU group definitions\r
-enum {\r
- RxGroup = 0,\r
-};\r
+#define RxGroup 0\r
+\r
\r
// Signal definitions\r
-enum {\r
- SetLedLevelRx = 0,\r
-};\r
+#define SetLedLevelRx 0\r
\r
\r
\r
\r
-#endif /* COM_PBCFG_H_ */\r
+#endif /* COM_PBCFG_H */\r
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:04 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
-#if (ECUM_SW_MAJOR_VERSION != 2 && ECUM_SW_MINOR_VERSION != 0)
+#if ((ECUM_SW_MAJOR_VERSION != 2) && (ECUM_SW_MINOR_VERSION != 0))
#error "EcuM: Configuration file version differs from BSW version."
#endif
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:04 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
\r
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:04 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
-#if (OS_SW_MAJOR_VERSION != 2)
+#if ((OS_SW_MAJOR_VERSION != 2))
#error "Os: Configuration file version differs from BSW version."
#endif
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:04 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
-#if (PDUR_SW_MAJOR_VERSION != 1)
+#if ((PDUR_SW_MAJOR_VERSION != 1))
#error "PduR: Configuration file version differs from BSW version."
#endif
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:04 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
\r
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:04 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
-#if (PDUR_SW_MAJOR_VERSION != 1)
+#if ((PDUR_SW_MAJOR_VERSION != 1))
#error "PduR: Configuration file version differs from BSW version."
#endif
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 09:38:31 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
\r
-// File generated on Fri Dec 03 09:38:31 CET 2010\r
+// File generated on Wed Jan 12 14:00:32 CET 2011\r
// File generated by com.arccore.bswbuilder.modules.port.mpc5516\r
\r
#include "Port.h"\r
#include "Port_Cfg.h"\r
-#include "stdlib.h"\r
+#include <stdlib.h>\r
\r
const uint16_t PortPadConfigData[] = {\r
PORT_PCR_RESET, /* PCR 0 */\r
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 09:38:31 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
-#if (PORT_SW_MAJOR_VERSION != 1)
+#if ((PORT_SW_MAJOR_VERSION != 1))
#error "Port: Configuration file version differs from BSW version."
#endif
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:04 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
/*\r
},\r
#if PWM_NOTIFICATION_SUPPORTED==ON\r
.NotificationHandlers = {\r
- // Notification routine for PWM_CHANNEL_1\r
- ,\r
- \r
+// Notification routine for PWM_CHANNEL_1\r
+ NULL, \r
}\r
#endif\r
};\r
-
\ No newline at end of file
*\r
* \r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Fri Dec 03 08:32:04 CET 2010\r
+ * on Wed Jan 12 14:00:32 CET 2011\r
*/\r
\r
-#if (PWM_SW_MAJOR_VERSION != 1)
+#if ((PWM_SW_MAJOR_VERSION != 1))
#error "Pwm: Configuration file version differs from BSW version."
#endif
}\r
\r
#endif /* PWM_CFG_H_ */\r
-
\ No newline at end of file
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Mon Dec 06 14:44:20 CET 2010\r
+ * on Wed Jan 12 15:04:43 CET 2011\r
*/\r
\r
\r
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Mon Dec 06 14:44:20 CET 2010\r
+ * on Wed Jan 12 15:04:43 CET 2011\r
*/\r
\r
-#if (OS_SW_MAJOR_VERSION != 2)
+#if ((OS_SW_MAJOR_VERSION != 2))
#error "Os: Configuration file version differs from BSW version."
#endif
* Configured for (MCU): MPC551x\r
*\r
* Module vendor: ArcCore\r
- * Module version: 2.0.3\r
+ * Module version: 2.0.4\r
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:14 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
\r
* Configured for (MCU): MPC551x\r
*\r
* Module vendor: ArcCore\r
- * Module version: 2.0.3\r
+ * Module version: 2.0.4\r
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:14 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
-#if (CANIF_SW_MAJOR_VERSION != 1 && CANIF_SW_MINOR_VERSION != 1)
+#if ((CANIF_SW_MAJOR_VERSION != 1) && (CANIF_SW_MINOR_VERSION != 1))
#error "CanIf: Configuration file version differs from BSW version."
#endif
CANIF_SOFTFILTER_TYPE_INDEX, // Not supported\r
CANIF_SOFTFILTER_TYPE_LINEAR, // Not supported\r
CANIF_SOFTFILTER_TYPE_TABLE, // Not supported\r
- CANIF_SOFTFILTER_TYPE_MASK, // CanIfCanRxPduCanIdMask in RxPduConfig is used for filtering\r
+ CANIF_SOFTFILTER_TYPE_MASK // CanIfCanRxPduCanIdMask in RxPduConfig is used for filtering\r
} CanIf_SoftwareFilterTypeType;\r
\r
typedef enum {\r
CANIF_USER_TYPE_CAN_NM,\r
CANIF_USER_TYPE_CAN_TP,\r
CANIF_USER_TYPE_CAN_PDUR,\r
- CANIF_USER_TYPE_CAN_SPECIAL,\r
+ CANIF_USER_TYPE_CAN_SPECIAL\r
} CanIf_UserTypeType;\r
\r
\r
typedef enum {\r
CANIF_WAKEUP_SUPPORT_CONTROLLER,\r
CANIF_WAKEUP_SUPPORT_NO_WAKEUP,\r
- CANIF_WAKEUP_SUPPORT_TRANSCEIVER,\r
+ CANIF_WAKEUP_SUPPORT_TRANSCEIVER\r
} CanIf_WakeupSupportType;\r
\r
\r
// CanIf-specific id of the controller\r
CanIf_Arc_ChannelIdType CanIfControllerIdRef;\r
\r
- const char CanIfDriverNameRef[8]; // Not used\r
+ const uint8 CanIfDriverNameRef[8]; // Not used\r
\r
const Can_ControllerConfigType *CanIfInitControllerRef;\r
} CanIf_ControllerConfigType;\r
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:14 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
-#if (CAN_SW_MAJOR_VERSION != 1)
+#if ((CAN_SW_MAJOR_VERSION != 1))
#error "Can: Configuration file version differs from BSW version."
#endif
typedef enum {\r
CAN_ID_TYPE_EXTENDED,\r
CAN_ID_TYPE_MIXED,\r
- CAN_ID_TYPE_STANDARD,\r
+ CAN_ID_TYPE_STANDARD\r
} Can_IdTypeType;\r
\r
typedef enum {\r
CAN_OBJECT_TYPE_RECEIVE,\r
- CAN_OBJECT_TYPE_TRANSMIT,\r
+ CAN_OBJECT_TYPE_TRANSMIT\r
} Can_ObjectTypeType;\r
\r
\r
typedef struct {\r
// Specifies the InstanceId of this module instance. If only one instance is\r
// present it shall have the Id 0\r
- int CanIndex;\r
+ uint8 CanIndex;\r
} Can_GeneralType;\r
\r
// Start mc9s12 unique\r
\r
typedef enum {\r
CAN_ARC_PROCESS_TYPE_INTERRUPT,\r
- CAN_ARC_PROCESS_TYPE_POLLING,\r
+ CAN_ARC_PROCESS_TYPE_POLLING\r
} Can_Arc_ProcessType;\r
\r
typedef struct {\r
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:14 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
\r
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:14 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
-#if (COM_SW_MAJOR_VERSION != 1)
+#if ((COM_SW_MAJOR_VERSION != 1))
#error "Com: Configuration file version differs from BSW version."
#endif
\r
-#ifndef COM_CFG_H_\r
-#define COM_CFG_H_\r
+#ifndef COM_CFG_H\r
+#define COM_CFG_H\r
\r
#define COM_MODULE_ID 20\r
#define COM_INSTANCE_ID 1\r
#define ComConfigurationTimeBase 0.0\r
#define ComVersionInfoApi\r
\r
-#endif /*COM_CFG_H_*/\r
+#endif /*COM_CFG_H*/\r
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:14 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
\r
#include "Com.h"\r
-#include "stdlib.h"\r
+#include "Com_Internal.h"\r
+#include <stdlib.h>\r
#if defined(USE_PDUR)\r
#include "PduR.h"\r
#endif\r
.ComNotification = NULL,\r
.ComTimeoutFactor = 0,\r
.ComTimeoutNotification = NULL,\r
+ .ComErrorNotification = NULL,\r
.ComTransferProperty = TRIGGERED,\r
\r
+ .ComUpdateBitPosition = 0,\r
+ .ComSignalArcUseUpdateBit = 0,\r
+ \r
\r
.ComSignalInitValue = &Com_SignalInitValue_SetLedLevelTx,\r
.ComBitPosition = 7,\r
.ComBitSize = 16,\r
.ComSignalEndianess = COM_BIG_ENDIAN,\r
.ComSignalType = UINT16,\r
+ .Com_Arc_IsSignalGroup = 0,\r
.ComGroupSignal = NULL,\r
\r
+ .ComRxDataTimeoutAction = COM_TIMEOUT_DATA_ACTION_NONE,\r
+ .Com_Arc_EOL = 0\r
},\r
{\r
.Com_Arc_EOL = 1\r
*/\r
const ComIPduGroup_type ComIPduGroup[] = {\r
{\r
- .ComIPduGroupHandleId = TxGroup\r
+ .ComIPduGroupHandleId = TxGroup,\r
+ .Com_Arc_EOL = 0\r
},\r
\r
{\r
},\r
\r
.ComIPduSignalRef = ComIPduSignalRefs_LedCommandTx,\r
+ .Com_Arc_EOL = 0\r
}, \r
{\r
.Com_Arc_EOL = 1\r
.ComGroupSignal = ComGroupSignal\r
};\r
\r
+/* IPdu buffers and signal group buffers */\r
+uint8 ComArcIPduBuffer_LedCommandTx[8];\r
+ \r
+\r
+Com_Arc_IPdu_type Com_Arc_IPdu[] = {\r
+ { // LedCommandTx\r
+ .Com_Arc_TxIPduTimers = {\r
+ .ComTxIPduNumberOfRepetitionsLeft = 0,\r
+ .ComTxModeRepetitionPeriodTimer = 0,\r
+ .ComTxIPduMinimumDelayTimer = 0,\r
+ .ComTxModeTimePeriodTimer = 0\r
+ },\r
+ .ComIPduDataPtr = ComArcIPduBuffer_LedCommandTx,\r
+ .Com_Arc_IpduStarted = 0 \r
+ },\r
+};\r
+\r
+Com_Arc_Signal_type Com_Arc_Signal[] = {\r
+ { // SetLedLevelTx\r
+ .Com_Arc_DeadlineCounter = 0,\r
+ .ComTimeoutFactor = 0,\r
+ .ComIPduHandleId = 0,\r
+ .ComSignalUpdated = 0,\r
+ .ComIPduDataPtr = NULL,\r
+ \r
+ .Com_Arc_ShadowBuffer = NULL\r
+ \r
+ },\r
+ \r
+};\r
+\r
+Com_Arc_GroupSignal_type Com_Arc_GroupSignal[COM_N_GROUP_SIGNALS];\r
+\r
+uint8 outgoingSduPtr[8];\r
+\r
+Com_Arc_Config_type Com_Arc_Config = {\r
+ .ComIPdu = Com_Arc_IPdu,\r
+ .ComSignal = Com_Arc_Signal,\r
+ .ComGroupSignal = Com_Arc_GroupSignal,\r
+ .OutgoingPdu = {\r
+ .SduDataPtr = outgoingSduPtr,\r
+ .SduLength = 0\r
+ }\r
+};\r
\r
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:14 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
-#if (COM_SW_MAJOR_VERSION != 1)
+#if ((COM_SW_MAJOR_VERSION != 1))
#error "Com: Configuration file version differs from BSW version."
#endif
-#ifndef COM_PBCFG_H_\r
-#define COM_PBCFG_H_\r
+#ifndef COM_PBCFG_H\r
+#define COM_PBCFG_H\r
\r
#include "Com_Types.h"\r
\r
\r
\r
// PDU group definitions\r
-enum {\r
- TxGroup = 0,\r
-};\r
+#define TxGroup 0\r
+\r
\r
// Signal definitions\r
-enum {\r
- SetLedLevelTx = 0,\r
-};\r
+#define SetLedLevelTx 0\r
\r
\r
\r
\r
-#endif /* COM_PBCFG_H_ */\r
+#endif /* COM_PBCFG_H */\r
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:15 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
-#if (ECUM_SW_MAJOR_VERSION != 2 && ECUM_SW_MINOR_VERSION != 0)
+#if ((ECUM_SW_MAJOR_VERSION != 2) && (ECUM_SW_MINOR_VERSION != 0))
#error "EcuM: Configuration file version differs from BSW version."
#endif
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:14 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
\r
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:14 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
-#if (OS_SW_MAJOR_VERSION != 2)
+#if ((OS_SW_MAJOR_VERSION != 2))
#error "Os: Configuration file version differs from BSW version."
#endif
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:14 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
-#if (PDUR_SW_MAJOR_VERSION != 1)
+#if ((PDUR_SW_MAJOR_VERSION != 1))
#error "PduR: Configuration file version differs from BSW version."
#endif
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:14 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
\r
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:14 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
-#if (PDUR_SW_MAJOR_VERSION != 1)
+#if ((PDUR_SW_MAJOR_VERSION != 1))
#error "PduR: Configuration file version differs from BSW version."
#endif
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:15 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
\r
-// File generated on Wed Dec 01 20:18:15 CET 2010\r
+// File generated on Wed Jan 12 15:12:11 CET 2011\r
// File generated by com.arccore.bswbuilder.modules.port.mpc5516\r
\r
#include "Port.h"\r
#include "Port_Cfg.h"\r
-#include "stdlib.h"\r
+#include <stdlib.h>\r
\r
const uint16_t PortPadConfigData[] = {\r
PORT_PCR_RESET, /* PCR 0 */\r
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Wed Dec 01 20:18:15 CET 2010\r
+ * on Wed Jan 12 15:12:11 CET 2011\r
*/\r
\r
-#if (PORT_SW_MAJOR_VERSION != 1)
+#if ((PORT_SW_MAJOR_VERSION != 1))
#error "Port: Configuration file version differs from BSW version."
#endif
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Thu Dec 02 15:48:34 CET 2010\r
+ * on Thu Jan 13 08:17:23 CET 2011\r
*/\r
\r
\r
*\r
* Copyright ArcCore AB 2010\r
* Generated by Arctic Studio (http://arccore.com) \r
- * on Thu Dec 02 15:48:34 CET 2010\r
+ * on Thu Jan 13 08:17:23 CET 2011\r
*/\r
\r
-#if (OS_SW_MAJOR_VERSION != 2)
+#if ((OS_SW_MAJOR_VERSION != 2))
#error "Os: Configuration file version differs from BSW version."
#endif