AutosarOS
Types.h
Go to the documentation of this file.
1 
15 #ifndef TYPES_H_
16 #define TYPES_H_
17 
18 #define OS_CONFIG_GEN_ENUM
19 #include "AppCfg.h"
20 #undef OS_CONFIG_GEN_ENUM
21 
22 #include "Types/TaskTypes.h"
23 #include "Types/ResourceTypes.h"
24 #include "Types/EventTypes.h"
25 #include "Types/CounterTypes.h"
26 #include "Types/AlarmTypes.h"
27 #include "Types/ErrorTypes.h"
29 
30 #undef ISR
31 
34 #define ISR(Name) extern void Func ## Name(void)
35 
39 typedef enum StatusType_e {
40  E_OK = 0,
53 
57 typedef enum ProtectionReturnType_e {
64 
68 typedef enum applicationMode_e {
71 
72 #endif /* TYPES_H_ */
ProtectionReturnType
enum ProtectionReturnType_e ProtectionReturnType
Return type for protection hook.
PRO_TERMINATETASKISR
@ PRO_TERMINATETASKISR
Terminate faulty task or ISR.
Definition: Types.h:59
StatusType
enum StatusType_e StatusType
Type for status.
ProtectionReturnType_e
ProtectionReturnType_e
Return type for protection hook.
Definition: Types.h:57
StatusType_e
StatusType_e
Type for status.
Definition: Types.h:39
AlarmTypes.h
Types used for alarm management.
E_OS_NOFUNC
@ E_OS_NOFUNC
Definition: Types.h:45
PRO_IGNORE
@ PRO_IGNORE
Ignore protection error.
Definition: Types.h:58
EventTypes.h
Types used for events.
PRO_TERMINATEAPPL
@ PRO_TERMINATEAPPL
Terminate faulty OS application.
Definition: Types.h:60
E_OS_RESOURCE
@ E_OS_RESOURCE
Definition: Types.h:46
CounterTypes.h
Types used for counter management.
PRO_TERMINATEAPPL_RESTART
@ PRO_TERMINATEAPPL_RESTART
Terminate and restart faulty OS application.
Definition: Types.h:61
E_OS_LIMIT
@ E_OS_LIMIT
Definition: Types.h:44
E_OS_PROTECTION_ARRIVAL
@ E_OS_PROTECTION_ARRIVAL
Definition: Types.h:51
E_OK
@ E_OK
Definition: Types.h:40
applicationMode_e
applicationMode_e
Type for application mode.
Definition: Types.h:68
E_OS_CALLLEVEL
@ E_OS_CALLLEVEL
Definition: Types.h:42
E_OS_ACCESS
@ E_OS_ACCESS
Definition: Types.h:41
ResourceTypes.h
Types used for resources.
ScheduleTableTypes.h
Types for schedule tables.
OSDEFAULTAPPMODE
@ OSDEFAULTAPPMODE
Definition: Types.h:69
E_OS_STATE
@ E_OS_STATE
Definition: Types.h:47
E_OS_ID
@ E_OS_ID
Definition: Types.h:43
E_OS_STACKFAULT
@ E_OS_STACKFAULT
Definition: Types.h:49
TaskTypes.h
Types used for tasks.
PRO_SHUTDOWN
@ PRO_SHUTDOWN
Shutdown system.
Definition: Types.h:62
E_OS_PARAM_POINTER
@ E_OS_PARAM_POINTER
Definition: Types.h:50
ErrorTypes.h
Types and macros for error handling.
AppModeType
enum applicationMode_e AppModeType
Type for application mode.
E_OS_VALUE
@ E_OS_VALUE
Definition: Types.h:48