OSEK OSEK {

OS	ExampleOS {
	STATUS = CT_STATUS;
	PRETASKHOOK = FALSE;
	POSTTASKHOOK = FALSE;
   STARTUPHOOK = FALSE;
   ERRORHOOK = FALSE;
   SHUTDOWNHOOK = FALSE;
	MEMMAP = FALSE;
	USERESSCHEDULER = FALSE;
};

TASK Task1 {
   PRIORITY = 2;
   SCHEDULE = FULL;
   ACTIVATION = 1;
   AUTOSTART = TRUE {
		APPMODE = AppMode1;
	};
	STACK = 256;
	TYPE = BASIC;
};

TASK Task2 {
	PRIORITY = 3;
	SCHEDULE = NON;
   AUTOSTART = TRUE {
		APPMODE = AppMode1;
	};
	ACTIVATION = 1;
	STACK = 256;
	TYPE = EXTENDED;
	EVENT = Event1;
	EVENT = Event2;
}

TASK Task3 {
	PRIORITY = 1;
	SCHEDULE = FULL;
   AUTOSTART = FALSE;
	ACTIVATION = 1;
	STACK = 256;
	TYPE = EXTENDED;
	EVENT = Event3;
}

TASK Task4 {
	PRIORITY = 4;
	SCHEDULE = FULL;
   AUTOSTART = FALSE;
	ACTIVATION = 1;
	STACK = 256;
	TYPE = BASIC;
}

TASK Task5 {
	PRIORITY = 5;
	SCHEDULE = CT_SCHEDULING_TASK5;
   AUTOSTART = FALSE;
	ACTIVATION = 1;
	STACK = 256;
	TYPE = BASIC;
}

EVENT Event1;

EVENT Event2;

EVENT Event3;

APPMODE AppMode1;

};
