AutosarOS
Types.h File Reference

Type definitions. More...

#include "AppCfg.h"
#include "Types/TaskTypes.h"
#include "Types/ResourceTypes.h"
#include "Types/EventTypes.h"
#include "Types/CounterTypes.h"
#include "Types/AlarmTypes.h"
#include "Types/ErrorTypes.h"
#include "Types/ScheduleTableTypes.h"
Include dependency graph for Types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OS_CONFIG_GEN_ENUM
 
#define ISR(Name)   extern void Func ## Name(void)
 Define implementation for interrupt service routine. More...
 

Typedefs

typedef enum StatusType_e StatusType
 Type for status. More...
 
typedef enum ProtectionReturnType_e ProtectionReturnType
 Return type for protection hook. More...
 
typedef enum applicationMode_e AppModeType
 Type for application mode. More...
 

Enumerations

enum  StatusType_e {
  E_OK = 0, E_OS_ACCESS, E_OS_CALLLEVEL, E_OS_ID,
  E_OS_LIMIT, E_OS_NOFUNC, E_OS_RESOURCE, E_OS_STATE,
  E_OS_VALUE, E_OS_STACKFAULT, E_OS_PARAM_POINTER, E_OS_PROTECTION_ARRIVAL
}
 Type for status. More...
 
enum  ProtectionReturnType_e {
  PRO_IGNORE, PRO_TERMINATETASKISR, PRO_TERMINATEAPPL, PRO_TERMINATEAPPL_RESTART,
  PRO_SHUTDOWN
}
 Return type for protection hook. More...
 
enum  applicationMode_e { OSDEFAULTAPPMODE }
 Type for application mode. More...
 

Detailed Description

Type definitions.

Date
2019-09-10
Author
Pascal Romahn

Definition in file Types.h.

Macro Definition Documentation

◆ ISR

#define ISR (   Name)    extern void Func ## Name(void)

Define implementation for interrupt service routine.

Definition at line 34 of file Types.h.

◆ OS_CONFIG_GEN_ENUM

#define OS_CONFIG_GEN_ENUM

Definition at line 18 of file Types.h.

Typedef Documentation

◆ AppModeType

Type for application mode.

◆ ProtectionReturnType

Return type for protection hook.

◆ StatusType

typedef enum StatusType_e StatusType

Type for status.

Enumeration Type Documentation

◆ applicationMode_e

Type for application mode.

Enumerator
OSDEFAULTAPPMODE 

Definition at line 68 of file Types.h.

◆ ProtectionReturnType_e

Return type for protection hook.

Enumerator
PRO_IGNORE 

Ignore protection error.

PRO_TERMINATETASKISR 

Terminate faulty task or ISR.

PRO_TERMINATEAPPL 

Terminate faulty OS application.

PRO_TERMINATEAPPL_RESTART 

Terminate and restart faulty OS application.

PRO_SHUTDOWN 

Shutdown system.

Definition at line 57 of file Types.h.

◆ StatusType_e

Type for status.

Enumerator
E_OK 
E_OS_ACCESS 
E_OS_CALLLEVEL 
E_OS_ID 
E_OS_LIMIT 
E_OS_NOFUNC 
E_OS_RESOURCE 
E_OS_STATE 
E_OS_VALUE 
E_OS_STACKFAULT 
E_OS_PARAM_POINTER 
E_OS_PROTECTION_ARRIVAL 

Definition at line 39 of file Types.h.