1 /* -------------------------------- Arctic Core ------------------------------
\r
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
\r
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
\r
6 * This source code is free software; you can redistribute it and/or modify it
\r
7 * under the terms of the GNU General Public License version 2 as published by the
\r
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
\r
10 * This program is distributed in the hope that it will be useful, but
\r
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
\r
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
\r
14 * -------------------------------- Arctic Core ------------------------------*/
\r
23 #warning "This default file may only be used as an example!"
\r
25 #ifndef LINSM_CFG_H_
\r
26 #define LINSM_CFG_H_
\r
28 #include "Std_Types.h"
\r
29 #include "LinIf_Cfg.h"
\r
31 // Own timeout configs in ticks
\r
32 #define LINSM_SCHEDULE_REQUEST_TIMEOUT 1
\r
33 #define LINSM_GOTO_SLEEP_TIMEOUT 2
\r
34 #define LINSM_WAKEUP_TIMEOUT 1
\r
36 /* Switches the Development Error Detection and Notification
\r
38 #define LINSM_DEV_ERROR_DETECT STD_ON
\r
40 /* Switches the LINSM_GetVersionInfo function ON or OFF. */
\r
41 #define LINSM_VERSION_INFO_API STD_ON
\r
44 uint32 LinSMRxPduGroupRef;//ComIPduGroup
\r
45 uint32 LinSMTxPduGroupRef;
\r
46 const LinIf_ScheduleTableType *LinSMScheduleIndexRef;
\r
47 }LinSM_ScheduleType;
\r
50 float LinSMConfirmationTimeout;
\r
51 boolean LinSMSleepSupport;
\r
52 uint16 LinSMChannelIndex;
\r
53 const LinSM_ScheduleType *LinSMSchedule;
\r
56 extern const LinSM_ChannelType LinSMChannelType[];
\r
58 #endif /*LINSM_CFG_H_*/
\r