1 /*
2  * Copyright 2023 NXP
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef EMIOS_ICU_IP_CFG_H
8 #define EMIOS_ICU_IP_CFG_H
9 
10 /**
11  *   @file    Emios_Icu_Ip_Cfg.h
12  *   @version 3.0.0
13  *
14  *   @brief   AUTOSAR Icu - contains the data exported by the ICU module.
15  *   @details Contains the information that will be exported by the module, as requested by AUTOSAR.
16  *
17  *   @addtogroup emios_icu_ip EMIOS IPL
18  *   @{
19  */
20 
21 #ifdef __cplusplus
22 extern "C"{
23 #endif
24 
25 /*==================================================================================================
26 *                                          INCLUDE FILES
27 * 1) system and project includes
28 * 2) needed interfaces from external units
29 * 3) internal and external interfaces from this unit
30 ==================================================================================================*/
31 /* Include all variants header files. */
32 #include "Emios_Icu_Ip_SA_Init_PBcfg.h"
33 
34 /*==================================================================================================
35 *                                 SOURCE FILE VERSION INFORMATION
36 ==================================================================================================*/
37 #define EMIOS_ICU_IP_CFG_VENDOR_ID                    43
38 #define EMIOS_ICU_IP_CFG_AR_RELEASE_MAJOR_VERSION     4
39 #define EMIOS_ICU_IP_CFG_AR_RELEASE_MINOR_VERSION     7
40 #define EMIOS_ICU_IP_CFG_AR_RELEASE_REVISION_VERSION  0
41 #define EMIOS_ICU_IP_CFG_SW_MAJOR_VERSION             3
42 #define EMIOS_ICU_IP_CFG_SW_MINOR_VERSION             0
43 #define EMIOS_ICU_IP_CFG_SW_PATCH_VERSION             0
44 
45 /*==================================================================================================
46 *                                       FILE VERSION CHECKS
47 ==================================================================================================*/
48 #if (STD_ON == EMIOS_ICU_IP_USED)
49 #if (EMIOS_ICU_IP_CFG_VENDOR_ID != EMIOS_ICU_IP_SA_INIT_PBCFG_VENDOR_ID)
50     #error "Emios_Icu_Ip_Cfg.h and Emios_Icu_Ip_SA_INIT_PBcfg.h have different vendor IDs"
51 #endif
52 
53 /* Check if  header file and Emios_Icu_Ip_SA_Init_PBcfg.h file are of the same Autosar version */
54 #if ((EMIOS_ICU_IP_CFG_AR_RELEASE_MAJOR_VERSION != EMIOS_ICU_IP_SA_INIT_PBCFG_AR_RELEASE_MAJOR_VERSION) || \
55      (EMIOS_ICU_IP_CFG_AR_RELEASE_MINOR_VERSION != EMIOS_ICU_IP_SA_INIT_PBCFG_AR_RELEASE_MINOR_VERSION) || \
56      (EMIOS_ICU_IP_CFG_AR_RELEASE_REVISION_VERSION != EMIOS_ICU_IP_SA_INIT_PBCFG_AR_RELEASE_REVISION_VERSION))
57     #error "AutoSar Version Numbers of Emios_Icu_Ip_Cfg.h and Emios_Icu_Ip_SA_Init_PBcfg.h are different"
58 #endif
59 
60 /* Check if header file and Emios_Icu_Ip_SA_Init_PBcfg.h file are of the same Software version */
61 #if ((EMIOS_ICU_IP_CFG_SW_MAJOR_VERSION != EMIOS_ICU_IP_SA_INIT_PBCFG_SW_MAJOR_VERSION) || \
62      (EMIOS_ICU_IP_CFG_SW_MINOR_VERSION != EMIOS_ICU_IP_SA_INIT_PBCFG_SW_MINOR_VERSION) || \
63      (EMIOS_ICU_IP_CFG_SW_PATCH_VERSION != EMIOS_ICU_IP_SA_INIT_PBCFG_SW_PATCH_VERSION))
64     #error "Software Version Numbers of Emios_Icu_Ip_Cfg.h and Emios_Icu_Ip_SA_Init_PBcfg.h are different"
65 #endif
66 
67 /*==================================================================================================
68 *                                            CONSTANTS
69 ==================================================================================================*/
70 
71 /*==================================================================================================
72 *                                       DEFINES AND MACROS
73 ==================================================================================================*/
74 /** @brief Macros for indicate EMIOS interrupts used by ICU. */
75 #ifndef EMIOS_0_CH_0_USED
76     #define EMIOS_0_CH_0_USED
77 #else
78     #error "EMIOS_0_CH_0 channel cannot be used by ICU. Instance locked by another driver!"
79 #endif
80     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
81 #ifndef EMIOS_0_CH_1_USED
82     #define EMIOS_0_CH_1_USED
83 #else
84     #error "EMIOS_0_CH_1 channel cannot be used by ICU. Instance locked by another driver!"
85 #endif
86     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
87 #ifndef EMIOS_0_CH_2_USED
88     #define EMIOS_0_CH_2_USED
89 #else
90     #error "EMIOS_0_CH_2 channel cannot be used by ICU. Instance locked by another driver!"
91 #endif
92     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
93 #ifndef EMIOS_0_CH_3_USED
94     #define EMIOS_0_CH_3_USED
95 #else
96     #error "EMIOS_0_CH_3 channel cannot be used by ICU. Instance locked by another driver!"
97 #endif
98     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
99 #ifndef EMIOS_0_CH_4_USED
100     #define EMIOS_0_CH_4_USED
101 #else
102     #error "EMIOS_0_CH_4 channel cannot be used by ICU. Instance locked by another driver!"
103 #endif
104     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
105 #ifndef EMIOS_0_CH_5_USED
106     #define EMIOS_0_CH_5_USED
107 #else
108     #error "EMIOS_0_CH_5 channel cannot be used by ICU. Instance locked by another driver!"
109 #endif
110     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
111 #ifndef EMIOS_0_CH_6_USED
112     #define EMIOS_0_CH_6_USED
113 #else
114     #error "EMIOS_0_CH_6 channel cannot be used by ICU. Instance locked by another driver!"
115 #endif
116     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
117 #ifndef EMIOS_0_CH_7_USED
118     #define EMIOS_0_CH_7_USED
119 #else
120     #error "EMIOS_0_CH_7 channel cannot be used by ICU. Instance locked by another driver!"
121 #endif
122     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
123 #ifndef EMIOS_0_CH_8_USED
124     #define EMIOS_0_CH_8_USED
125 #else
126     #error "EMIOS_0_CH_8 channel cannot be used by ICU. Instance locked by another driver!"
127 #endif
128     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
129 #ifndef EMIOS_0_CH_9_USED
130     #define EMIOS_0_CH_9_USED
131 #else
132     #error "EMIOS_0_CH_9 channel cannot be used by ICU. Instance locked by another driver!"
133 #endif
134     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
135 #ifndef EMIOS_0_CH_10_USED
136     #define EMIOS_0_CH_10_USED
137 #else
138     #error "EMIOS_0_CH_10 channel cannot be used by ICU. Instance locked by another driver!"
139 #endif
140     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
141 #ifndef EMIOS_0_CH_11_USED
142     #define EMIOS_0_CH_11_USED
143 #else
144     #error "EMIOS_0_CH_11 channel cannot be used by ICU. Instance locked by another driver!"
145 #endif
146     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
147 #ifndef EMIOS_0_CH_12_USED
148     #define EMIOS_0_CH_12_USED
149 #else
150     #error "EMIOS_0_CH_12 channel cannot be used by ICU. Instance locked by another driver!"
151 #endif
152     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
153 #ifndef EMIOS_0_CH_13_USED
154     #define EMIOS_0_CH_13_USED
155 #else
156     #error "EMIOS_0_CH_13 channel cannot be used by ICU. Instance locked by another driver!"
157 #endif
158     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
159 #ifndef EMIOS_0_CH_14_USED
160     #define EMIOS_0_CH_14_USED
161 #else
162     #error "EMIOS_0_CH_14 channel cannot be used by ICU. Instance locked by another driver!"
163 #endif
164     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
165 #ifndef EMIOS_0_CH_15_USED
166     #define EMIOS_0_CH_15_USED
167 #else
168     #error "EMIOS_0_CH_15 channel cannot be used by ICU. Instance locked by another driver!"
169 #endif
170     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
171 #ifndef EMIOS_0_CH_16_USED
172     #define EMIOS_0_CH_16_USED
173 #else
174     #error "EMIOS_0_CH_16 channel cannot be used by ICU. Instance locked by another driver!"
175 #endif
176     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
177 #ifndef EMIOS_0_CH_17_USED
178     #define EMIOS_0_CH_17_USED
179 #else
180     #error "EMIOS_0_CH_17 channel cannot be used by ICU. Instance locked by another driver!"
181 #endif
182     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
183 #ifndef EMIOS_0_CH_18_USED
184     #define EMIOS_0_CH_18_USED
185 #else
186     #error "EMIOS_0_CH_18 channel cannot be used by ICU. Instance locked by another driver!"
187 #endif
188     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
189 #ifndef EMIOS_0_CH_19_USED
190     #define EMIOS_0_CH_19_USED
191 #else
192     #error "EMIOS_0_CH_19 channel cannot be used by ICU. Instance locked by another driver!"
193 #endif
194     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
195 #ifndef EMIOS_0_CH_20_USED
196     #define EMIOS_0_CH_20_USED
197 #else
198     #error "EMIOS_0_CH_20 channel cannot be used by ICU. Instance locked by another driver!"
199 #endif
200     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
201 #ifndef EMIOS_0_CH_21_USED
202     #define EMIOS_0_CH_21_USED
203 #else
204     #error "EMIOS_0_CH_21 channel cannot be used by ICU. Instance locked by another driver!"
205 #endif
206     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
207 #ifndef EMIOS_0_CH_22_USED
208     #define EMIOS_0_CH_22_USED
209 #else
210     #error "EMIOS_0_CH_22 channel cannot be used by ICU. Instance locked by another driver!"
211 #endif
212     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
213 #ifndef EMIOS_1_CH_0_USED
214     #define EMIOS_1_CH_0_USED
215 #else
216     #error "EMIOS_1_CH_0 channel cannot be used by ICU. Instance locked by another driver!"
217 #endif
218     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
219 #ifndef EMIOS_1_CH_1_USED
220     #define EMIOS_1_CH_1_USED
221 #else
222     #error "EMIOS_1_CH_1 channel cannot be used by ICU. Instance locked by another driver!"
223 #endif
224     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
225 #ifndef EMIOS_1_CH_2_USED
226     #define EMIOS_1_CH_2_USED
227 #else
228     #error "EMIOS_1_CH_2 channel cannot be used by ICU. Instance locked by another driver!"
229 #endif
230     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
231 #ifndef EMIOS_1_CH_3_USED
232     #define EMIOS_1_CH_3_USED
233 #else
234     #error "EMIOS_1_CH_3 channel cannot be used by ICU. Instance locked by another driver!"
235 #endif
236     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
237 #ifndef EMIOS_1_CH_4_USED
238     #define EMIOS_1_CH_4_USED
239 #else
240     #error "EMIOS_1_CH_4 channel cannot be used by ICU. Instance locked by another driver!"
241 #endif
242     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
243 #ifndef EMIOS_1_CH_5_USED
244     #define EMIOS_1_CH_5_USED
245 #else
246     #error "EMIOS_1_CH_5 channel cannot be used by ICU. Instance locked by another driver!"
247 #endif
248     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
249 #ifndef EMIOS_1_CH_6_USED
250     #define EMIOS_1_CH_6_USED
251 #else
252     #error "EMIOS_1_CH_6 channel cannot be used by ICU. Instance locked by another driver!"
253 #endif
254     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
255 #ifndef EMIOS_1_CH_7_USED
256     #define EMIOS_1_CH_7_USED
257 #else
258     #error "EMIOS_1_CH_7 channel cannot be used by ICU. Instance locked by another driver!"
259 #endif
260     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
261 #ifndef EMIOS_1_CH_8_USED
262     #define EMIOS_1_CH_8_USED
263 #else
264     #error "EMIOS_1_CH_8 channel cannot be used by ICU. Instance locked by another driver!"
265 #endif
266     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
267 #ifndef EMIOS_1_CH_9_USED
268     #define EMIOS_1_CH_9_USED
269 #else
270     #error "EMIOS_1_CH_9 channel cannot be used by ICU. Instance locked by another driver!"
271 #endif
272     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
273 #ifndef EMIOS_1_CH_10_USED
274     #define EMIOS_1_CH_10_USED
275 #else
276     #error "EMIOS_1_CH_10 channel cannot be used by ICU. Instance locked by another driver!"
277 #endif
278     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
279 #ifndef EMIOS_1_CH_11_USED
280     #define EMIOS_1_CH_11_USED
281 #else
282     #error "EMIOS_1_CH_11 channel cannot be used by ICU. Instance locked by another driver!"
283 #endif
284     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
285 #ifndef EMIOS_1_CH_12_USED
286     #define EMIOS_1_CH_12_USED
287 #else
288     #error "EMIOS_1_CH_12 channel cannot be used by ICU. Instance locked by another driver!"
289 #endif
290     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
291 #ifndef EMIOS_1_CH_13_USED
292     #define EMIOS_1_CH_13_USED
293 #else
294     #error "EMIOS_1_CH_13 channel cannot be used by ICU. Instance locked by another driver!"
295 #endif
296     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
297 #ifndef EMIOS_1_CH_14_USED
298     #define EMIOS_1_CH_14_USED
299 #else
300     #error "EMIOS_1_CH_14 channel cannot be used by ICU. Instance locked by another driver!"
301 #endif
302     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
303 #ifndef EMIOS_1_CH_15_USED
304     #define EMIOS_1_CH_15_USED
305 #else
306     #error "EMIOS_1_CH_15 channel cannot be used by ICU. Instance locked by another driver!"
307 #endif
308     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
309 #ifndef EMIOS_1_CH_16_USED
310     #define EMIOS_1_CH_16_USED
311 #else
312     #error "EMIOS_1_CH_16 channel cannot be used by ICU. Instance locked by another driver!"
313 #endif
314     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
315 #ifndef EMIOS_1_CH_17_USED
316     #define EMIOS_1_CH_17_USED
317 #else
318     #error "EMIOS_1_CH_17 channel cannot be used by ICU. Instance locked by another driver!"
319 #endif
320     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
321 #ifndef EMIOS_1_CH_18_USED
322     #define EMIOS_1_CH_18_USED
323 #else
324     #error "EMIOS_1_CH_18 channel cannot be used by ICU. Instance locked by another driver!"
325 #endif
326     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
327 #ifndef EMIOS_1_CH_19_USED
328     #define EMIOS_1_CH_19_USED
329 #else
330     #error "EMIOS_1_CH_19 channel cannot be used by ICU. Instance locked by another driver!"
331 #endif
332     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
333 #ifndef EMIOS_1_CH_20_USED
334     #define EMIOS_1_CH_20_USED
335 #else
336     #error "EMIOS_1_CH_20 channel cannot be used by ICU. Instance locked by another driver!"
337 #endif
338     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
339 #ifndef EMIOS_1_CH_21_USED
340     #define EMIOS_1_CH_21_USED
341 #else
342     #error "EMIOS_1_CH_21 channel cannot be used by ICU. Instance locked by another driver!"
343 #endif
344     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
345 #ifndef EMIOS_1_CH_22_USED
346     #define EMIOS_1_CH_22_USED
347 #else
348     #error "EMIOS_1_CH_22 channel cannot be used by ICU. Instance locked by another driver!"
349 #endif
350     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
351 #ifndef EMIOS_2_CH_0_USED
352     #define EMIOS_2_CH_0_USED
353 #else
354     #error "EMIOS_2_CH_0 channel cannot be used by ICU. Instance locked by another driver!"
355 #endif
356     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
357 #ifndef EMIOS_2_CH_1_USED
358     #define EMIOS_2_CH_1_USED
359 #else
360     #error "EMIOS_2_CH_1 channel cannot be used by ICU. Instance locked by another driver!"
361 #endif
362     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
363 #ifndef EMIOS_2_CH_2_USED
364     #define EMIOS_2_CH_2_USED
365 #else
366     #error "EMIOS_2_CH_2 channel cannot be used by ICU. Instance locked by another driver!"
367 #endif
368     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
369 #ifndef EMIOS_2_CH_3_USED
370     #define EMIOS_2_CH_3_USED
371 #else
372     #error "EMIOS_2_CH_3 channel cannot be used by ICU. Instance locked by another driver!"
373 #endif
374     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
375 #ifndef EMIOS_2_CH_4_USED
376     #define EMIOS_2_CH_4_USED
377 #else
378     #error "EMIOS_2_CH_4 channel cannot be used by ICU. Instance locked by another driver!"
379 #endif
380     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
381 #ifndef EMIOS_2_CH_5_USED
382     #define EMIOS_2_CH_5_USED
383 #else
384     #error "EMIOS_2_CH_5 channel cannot be used by ICU. Instance locked by another driver!"
385 #endif
386     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
387 #ifndef EMIOS_2_CH_6_USED
388     #define EMIOS_2_CH_6_USED
389 #else
390     #error "EMIOS_2_CH_6 channel cannot be used by ICU. Instance locked by another driver!"
391 #endif
392     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
393 #ifndef EMIOS_2_CH_7_USED
394     #define EMIOS_2_CH_7_USED
395 #else
396     #error "EMIOS_2_CH_7 channel cannot be used by ICU. Instance locked by another driver!"
397 #endif
398     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
399 #ifndef EMIOS_2_CH_8_USED
400     #define EMIOS_2_CH_8_USED
401 #else
402     #error "EMIOS_2_CH_8 channel cannot be used by ICU. Instance locked by another driver!"
403 #endif
404     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
405 #ifndef EMIOS_2_CH_9_USED
406     #define EMIOS_2_CH_9_USED
407 #else
408     #error "EMIOS_2_CH_9 channel cannot be used by ICU. Instance locked by another driver!"
409 #endif
410     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
411 #ifndef EMIOS_2_CH_10_USED
412     #define EMIOS_2_CH_10_USED
413 #else
414     #error "EMIOS_2_CH_10 channel cannot be used by ICU. Instance locked by another driver!"
415 #endif
416     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
417 #ifndef EMIOS_2_CH_11_USED
418     #define EMIOS_2_CH_11_USED
419 #else
420     #error "EMIOS_2_CH_11 channel cannot be used by ICU. Instance locked by another driver!"
421 #endif
422     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
423 #ifndef EMIOS_2_CH_12_USED
424     #define EMIOS_2_CH_12_USED
425 #else
426     #error "EMIOS_2_CH_12 channel cannot be used by ICU. Instance locked by another driver!"
427 #endif
428     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
429 #ifndef EMIOS_2_CH_13_USED
430     #define EMIOS_2_CH_13_USED
431 #else
432     #error "EMIOS_2_CH_13 channel cannot be used by ICU. Instance locked by another driver!"
433 #endif
434     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
435 #ifndef EMIOS_2_CH_14_USED
436     #define EMIOS_2_CH_14_USED
437 #else
438     #error "EMIOS_2_CH_14 channel cannot be used by ICU. Instance locked by another driver!"
439 #endif
440     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
441 #ifndef EMIOS_2_CH_15_USED
442     #define EMIOS_2_CH_15_USED
443 #else
444     #error "EMIOS_2_CH_15 channel cannot be used by ICU. Instance locked by another driver!"
445 #endif
446     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
447 #ifndef EMIOS_2_CH_16_USED
448     #define EMIOS_2_CH_16_USED
449 #else
450     #error "EMIOS_2_CH_16 channel cannot be used by ICU. Instance locked by another driver!"
451 #endif
452     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
453 #ifndef EMIOS_2_CH_17_USED
454     #define EMIOS_2_CH_17_USED
455 #else
456     #error "EMIOS_2_CH_17 channel cannot be used by ICU. Instance locked by another driver!"
457 #endif
458     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
459 #ifndef EMIOS_2_CH_18_USED
460     #define EMIOS_2_CH_18_USED
461 #else
462     #error "EMIOS_2_CH_18 channel cannot be used by ICU. Instance locked by another driver!"
463 #endif
464     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
465 #ifndef EMIOS_2_CH_19_USED
466     #define EMIOS_2_CH_19_USED
467 #else
468     #error "EMIOS_2_CH_19 channel cannot be used by ICU. Instance locked by another driver!"
469 #endif
470     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
471 #ifndef EMIOS_2_CH_20_USED
472     #define EMIOS_2_CH_20_USED
473 #else
474     #error "EMIOS_2_CH_20 channel cannot be used by ICU. Instance locked by another driver!"
475 #endif
476     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
477 #ifndef EMIOS_2_CH_21_USED
478     #define EMIOS_2_CH_21_USED
479 #else
480     #error "EMIOS_2_CH_21 channel cannot be used by ICU. Instance locked by another driver!"
481 #endif
482     /** @brief Macros for indicate EMIOS interrupts used by ICU. */
483 #ifndef EMIOS_2_CH_22_USED
484     #define EMIOS_2_CH_22_USED
485 #else
486     #error "EMIOS_2_CH_22 channel cannot be used by ICU. Instance locked by another driver!"
487 #endif
488 
489 #define EMIOS_ICU_CONFIG_EXT \
490         EMIOS_ICU_CONFIG_SA_INIT_PB \
491 
492 #endif  /* EMIOS_ICU_IP_USED */
493 
494 #ifdef __cplusplus
495 }
496 #endif
497 
498 /** @} */
499 
500 #endif /* EMIOS_ICU_IP_CFG_H */
501 
502