1 /* -------------------------------- Arctic Core ------------------------------
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
6 * This source code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by the
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * -------------------------------- Arctic Core ------------------------------*/
24 * Module vendor: Autocore
25 * Module version: 1.0.0
26 * Specification: Autosar v3.0.1, Final
31 #include "Com_PbCfg.h"
\r
36 * Group signal definitions
\r
38 ComGroupSignal_type ComGroupSignal[] = {
\r
46 * Signal definitions
\r
48 ComSignal_type ComSignal[] = {
\r
50 .ComHandleId = SetLedLevelTx,
\r
51 .ComFirstTimeoutFactor = 0,
\r
52 .ComNotification = NULL,
\r
53 .ComTimeoutFactor = 0,
\r
54 .ComTimeoutNotification = NULL,
\r
55 .ComTransferProperty = TRIGGERED,
\r
58 .ComSignalInitValue = 0,
\r
59 .ComBitPosition = 0,
\r
61 .ComSignalEndianess = BIG_ENDIAN,
\r
62 .ComSignalType = UINT16,
63 .ComEcoreIsSignalGroup = 0,
\r
73 * I-PDU group definitions
\r
75 ComIPduGroup_type ComIPduGroup[] = {
\r
77 .ComIPduGroupHandleId = TxGroup
\r
89 ComIPdu_type ComIPdu[] = {
\r
92 .ComIPduRxHandleId = LedCommandTx,
\r
93 .ComIPduCallout = NULL,
\r
94 .ComIPduSignalProcessing = IMMEDIATE,
\r
96 .ComIPduDirection = SEND,
\r
97 .ComIPduGroupRef = TxGroup,
\r
100 .ComTxIPduMinimumDelayFactor = 0,
\r
101 .ComTxIPduUnusedAreasDefault = 0,
\r
103 .ComTxModeMode = DIRECT,
\r
104 .ComTxModeNumberOfRepetitions = 0,
\r
105 .ComTxModeRepetitionPeriodFactor = 0,
\r
106 .ComTxModeTimeOffsetFactor = 0,
\r
107 .ComTxModeTimePeriodFactor = 0,
\r
111 .ComIPduSignalRef = {
\r
113 &ComSignal[ SetLedLevelTx ],
\r
123 const Com_ConfigType ComConfiguration = {
\r
124 .ComConfigurationId = 1,
\r
125 .ComIPdu = ComIPdu,
\r
126 .ComIPduGroup = ComIPduGroup,
\r
127 .ComSignal = ComSignal,
\r
128 .ComGroupSignal = ComGroupSignal
\r