]> rtime.felk.cvut.cz Git - arc.git/blob - include/EcuM_Cbk.h
Changed include order for EcuM.h
[arc.git] / include / EcuM_Cbk.h
1 /* -------------------------------- Arctic Core ------------------------------\r
2  * Arctic Core - the open source AUTOSAR platform http://arccore.com\r
3  *\r
4  * Copyright (C) 2009  ArcCore AB <contact@arccore.com>\r
5  *\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
9  *\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
13  * for more details.\r
14  * -------------------------------- Arctic Core ------------------------------*/\r
15 \r
16 \r
17 \r
18 \r
19 \r
20 \r
21 \r
22 \r
23 #ifndef ECUM_CBK_H_\r
24 #define ECUM_CBK_H_\r
25 \r
26 #include "EcuM.h"\r
27 \r
28 //void EcuM_CB_NfyNvMJobEnd(uint8 ServiceId, NvM_RequestResultType JobResult);\r
29 \r
30 void EcuM_ValidateWakeupEvent(EcuM_WakeupSourceType sources);\r
31 \r
32 void EcuM_ErrorHook(Std_ReturnType reason);\r
33 \r
34 void EcuM_AL_DriverInitZero(void);\r
35 EcuM_ConfigType* EcuM_DeterminePbConfiguration(void);\r
36 void EcuM_AL_DriverInitOne(const EcuM_ConfigType* ConfigPtr);\r
37 void EcuM_AL_DriverInitTwo(const EcuM_ConfigType* ConfigPtr);\r
38 void EcuM_AL_DriverInitThree(const EcuM_ConfigType* ConfigPtr);\r
39 \r
40 void EcuM_OnRTEStartup(void);\r
41 \r
42 void EcuM_OnEnterRUN(void);\r
43 void EcuM_OnExitRun(void);\r
44 void EcuM_OnExitPostRun(void);\r
45 \r
46 void EcuM_OnPrepShutdown(void);\r
47 void EcuM_OnGoSleep(void);\r
48 void EcuM_OnGoOffOne(void);\r
49 void EcuM_OnGoOffTwo(void);\r
50 \r
51 void EcuM_EnableWakeupSources(EcuM_WakeupSourceType wakeupSource);\r
52 void Ecum_DisableWakeupSources(EcuM_WakeupSourceType wakeupSource);\r
53 \r
54 void EcuM_GenerateRamHash(void);\r
55 uint8 EcuM_CheckRamHash(void);\r
56 \r
57 void EcuM_AL_SwitchOff(void);\r
58 void Ecum_AL_DriverRestart(void);\r
59 \r
60 void EcuM_StartWakeupSources(EcuM_WakeupSourceType wakeupSource);\r
61 void EcuM_CheckValidation(EcuM_WakeupSourceType wakeupSource);\r
62 void EcuM_StopWakeupSources(EcuM_WakeupSourceType wakeupSource);\r
63 \r
64 EcuM_WakeupReactionType EcuM_OnWakeupReaction(EcuM_WakeupReactionType wact);\r
65 \r
66 void EcuM_CheckWakeup(EcuM_WakeupSourceType wakeupSource);\r
67 void EcuM_SleepActivity(void);\r
68 \r
69 #endif /*ECUM_CBK_H_*/\r