-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefaultAppName.c
83 lines (53 loc) · 1.41 KB
/
defaultAppName.c
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/**
* This is a template of C code generated by OILGenerator by Joost Mertens
* Generated on: 2018-06-25 17:29:39.357000
* Directions are given concerning which code should be executed on which locations
* The final mapping is still user dependent.
**/
/* Includes are placed here, commonly used includes are already listed */
#include "Arduino.h"
#include <stddef.h>
#include <stdio.h>
#include <avr/io.h
/* Include Matlab includes here */
#undef ISR //Remove AVR-GCC ISR version
extern "C"{
#include "tpl_app_config.h"
#include "tpl_os.h"
}
void setup(void){
/* Include all initialisations here */
}
TASK(Task1){
/* Insert Input mapping code here */
/* Step the code executed by this TASK here */
/* Insert Output mapping here */
}
TASK(Task2){
/* Insert Input mapping code here */
/* Step the code executed by this TASK here */
/* Insert Output mapping here */
}
TASK(Task3_Trig){
/* Insert Input mapping code here */
/* Step the code executed by this TASK here */
/* Insert Output mapping here */
}
TASK(Task4_Trig){
/* Insert Input mapping code here */
/* Step the code executed by this TASK here */
/* Insert Output mapping here */
}
ISR(ISR1){
/* Insert Input mapping code here */
/* Step the code executed by this ISR here */
/* Insert Output mapping here */
}
ISR(ISR2){
/* Insert Input mapping code here */
/* Step the code executed by this ISR here */
/* Insert Output mapping here */
}
/*
EOF
*/