Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2f406e75cfd36e98e43ddd48c0a994a71b93fec9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
 * @author generated by eTrice
 *
 * Source File of SubSystemClass SubSys
 * 
 */

#include "SubSys.h"

#include "etLogger.h"

/* data for SubSysten SubSys */
typedef struct SubSys {
	char *name;
} SubSys;

static SubSys SubSysInst = {"SubSys"};

void SubSys_init(void){
	etLogger_logInfoF("%s_init", SubSysInst.name);
}

void SubSys_start(void){
	etLogger_logInfoF("%s_start", SubSysInst.name);
}

void SubSys_run(void){
	int32 i;
	for (i=0; i<100; i++){
		etLogger_logInfoF("%s Scheduler tick %d", SubSysInst.name, i);
	}
}

void SubSys_stop(void){
	etLogger_logInfoF("%s_stop", SubSysInst.name);
}

void SubSys_destroy(void){
	etLogger_logInfoF("%s_destroy", SubSysInst.name);
}


Back to the top