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
17 #include "Rte_EcuM.h"
\r
20 #include "EcuM_Generated_Types.h"
\r
21 #include "EcuM_Internals.h"
\r
24 Std_ReturnType EcuM_ShutdownTarget_GetLastShutdownTarget(EcuM_StateType* target, UInt8* mode) {
\r
28 Std_ReturnType EcuM_ShutdownTarget_GetShutdownTarget(EcuM_StateType* target, UInt8* mode) {
\r
29 return EcuM_GetShutdownTarget(target, (uint8*)mode);
\r
32 Std_ReturnType EcuM_ShutdownTarget_SelectShutdowntarget(EcuM_StateType target, UInt8 mode) {
\r
33 return EcuM_SelectShutdownTarget(target, (uint8)mode);
\r
36 Std_ReturnType EcuM_StateRequest_RequestRUN(EcuM_UserType user) {
\r
37 return EcuM_RequestRUN(user);
\r
40 Std_ReturnType EcuM_StateRequest_ReleaseRUN(EcuM_UserType user) {
\r
41 return EcuM_ReleaseRUN(user);
\r
44 Std_ReturnType EcuM_StateRequest_RequestPOSTRUN(EcuM_UserType user) {
\r
45 return EcuM_RequestPOST_RUN(user);
\r
48 Std_ReturnType EcuM_StateRequest_ReleasePOSTRUN(EcuM_UserType user) {
\r
49 return EcuM_ReleasePOST_RUN(user);
\r
52 Std_ReturnType EcuM_BootTarget_GetBootTarget(EcuM_BootTargetType* target) {
\r
53 return EcuM_GetBootTarget(target);
\r
56 Std_ReturnType EcuM_BootTarget_SelectBootTarget(EcuM_BootTargetType target) {
\r
57 return EcuM_SelectBootTarget(target);
\r