Chapter 6 Using Configurator
- 120 -
75
wait_queue = TA_TFIFO;
76
clear_attribute = NO;
77
wait_multi = TA_WMUL;
78
};
79
flag[2]{
80
name = ID_flg3;
81
initial_pattern = 0x0000ffff;
82
wait_queue = TA_TPRI;
83
clear_attribute = YES;
84
wait_multi = TA_WMUL;
85
};
86
flag[]{
87
name = ID_flg4;
88
initial_pattern = 0x00000008;
89
wait_queue = TA_TPRI;
90
clear_attribute = YES;
91
wait_multi = TA_WSGL;
92
};
93
94
semaphore[]{
95
name = ID_sem1;
96
wait_queue = TA_TFIFO;
97
initial_count = 0;
98
max_count = 10;
99
};
100
semaphore[2]{
101
name = ID_sem2;
102
wait_queue = TA_TFIFO;
103
initial_count = 5;
104
max_count = 10;
105
};
106
semaphore[]{
107
name = ID_sem3;
108
wait_queue = TA_TPRI;
109
initial_count = 255;
110
max_count = 255;
111
};
112
113
dataqueue[]{
114
name = ID_dtq1;
115
wait_queue = TA_TFIFO;
116
buffer_size = 10;
117
};
118
dataqueue[2]{
119
name = ID_dtq2;
120
wait_queue = TA_TPRI;
121
buffer_size = 5;
122
};
123
dataqueue[3]{
124
name = ID_dtq3;
125
wait_queue = TA_TFIFO;
126
buffer_size = 256;
127
};
128
129
mailbox[]{
130
name = ID_mbx1;
131
wait_queue = TA_TFIFO;
132
message_queue = TA_MFIFO;
133
max_pri = 4;
134
};
135
mailbox[]{
136
name = ID_mbx2;
137
wait_queue = TA_TPRI;
138
message_queue = TA_MPRI;
139
max_pri = 64;
140
};
141
mailbox[]{
142
name = ID_mbx3;
143
wait_queue = TA_TFIFO;
144
message_queue = TA_MPRI;
145
max_pri = 5;
146
};
147
mailbox[4]{
148
name = ID_mbx4;
149
wait_queue = TA_TPRI;
150
message_queue = TA_MFIFO;
151
max_pri = 6;
152
};
153
154
memorypool[]{