1 /*
2  * Copyright (c) 2023, Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef _NRF_HW_MODEL_EGU_H
8 #define _NRF_HW_MODEL_EGU_H
9 
10 #include "bs_types.h"
11 #include "NHW_config.h"
12 
13 #ifdef __cplusplus
14 extern "C"{
15 #endif
16 
17 void nhw_egu_regw_sideeffects_TASK_TRIGGER(uint inst, uint task_nbr);
18 void nhw_egu_regw_sideeffect_EVENTS_TRIGGERED(uint inst, uint event_nbr);
19 void nhw_egu_regw_sideeffect_INTENSET(uint inst);
20 void nhw_egu_regw_sideeffect_INTENCLR(uint inst);
21 void nhw_egu_regw_sideeffect_INTEN(uint inst);
22 void nhw_egu_regw_sideeffects_SUBSCRIBE_TRIGGER(uint inst, uint n);
23 
24 #if (NHW_HAS_PPI)
25 /*
26  * Trampolines to automatically call from the PPI
27  */
28 void nhw_egu_0_TASK_TRIGGER_0(void);
29 void nhw_egu_0_TASK_TRIGGER_1(void);
30 void nhw_egu_0_TASK_TRIGGER_2(void);
31 void nhw_egu_0_TASK_TRIGGER_3(void);
32 void nhw_egu_0_TASK_TRIGGER_4(void);
33 void nhw_egu_0_TASK_TRIGGER_5(void);
34 void nhw_egu_0_TASK_TRIGGER_6(void);
35 void nhw_egu_0_TASK_TRIGGER_7(void);
36 void nhw_egu_0_TASK_TRIGGER_8(void);
37 void nhw_egu_0_TASK_TRIGGER_9(void);
38 void nhw_egu_0_TASK_TRIGGER_10(void);
39 void nhw_egu_0_TASK_TRIGGER_11(void);
40 void nhw_egu_0_TASK_TRIGGER_12(void);
41 void nhw_egu_0_TASK_TRIGGER_13(void);
42 void nhw_egu_0_TASK_TRIGGER_14(void);
43 void nhw_egu_0_TASK_TRIGGER_15(void);
44 void nhw_egu_1_TASK_TRIGGER_0(void);
45 void nhw_egu_1_TASK_TRIGGER_1(void);
46 void nhw_egu_1_TASK_TRIGGER_2(void);
47 void nhw_egu_1_TASK_TRIGGER_3(void);
48 void nhw_egu_1_TASK_TRIGGER_4(void);
49 void nhw_egu_1_TASK_TRIGGER_5(void);
50 void nhw_egu_1_TASK_TRIGGER_6(void);
51 void nhw_egu_1_TASK_TRIGGER_7(void);
52 void nhw_egu_1_TASK_TRIGGER_8(void);
53 void nhw_egu_1_TASK_TRIGGER_9(void);
54 void nhw_egu_1_TASK_TRIGGER_10(void);
55 void nhw_egu_1_TASK_TRIGGER_11(void);
56 void nhw_egu_1_TASK_TRIGGER_12(void);
57 void nhw_egu_1_TASK_TRIGGER_13(void);
58 void nhw_egu_1_TASK_TRIGGER_14(void);
59 void nhw_egu_1_TASK_TRIGGER_15(void);
60 void nhw_egu_2_TASK_TRIGGER_0(void);
61 void nhw_egu_2_TASK_TRIGGER_1(void);
62 void nhw_egu_2_TASK_TRIGGER_2(void);
63 void nhw_egu_2_TASK_TRIGGER_3(void);
64 void nhw_egu_2_TASK_TRIGGER_4(void);
65 void nhw_egu_2_TASK_TRIGGER_5(void);
66 void nhw_egu_2_TASK_TRIGGER_6(void);
67 void nhw_egu_2_TASK_TRIGGER_7(void);
68 void nhw_egu_2_TASK_TRIGGER_8(void);
69 void nhw_egu_2_TASK_TRIGGER_9(void);
70 void nhw_egu_2_TASK_TRIGGER_10(void);
71 void nhw_egu_2_TASK_TRIGGER_11(void);
72 void nhw_egu_2_TASK_TRIGGER_12(void);
73 void nhw_egu_2_TASK_TRIGGER_13(void);
74 void nhw_egu_2_TASK_TRIGGER_14(void);
75 void nhw_egu_2_TASK_TRIGGER_15(void);
76 void nhw_egu_3_TASK_TRIGGER_0(void);
77 void nhw_egu_3_TASK_TRIGGER_1(void);
78 void nhw_egu_3_TASK_TRIGGER_2(void);
79 void nhw_egu_3_TASK_TRIGGER_3(void);
80 void nhw_egu_3_TASK_TRIGGER_4(void);
81 void nhw_egu_3_TASK_TRIGGER_5(void);
82 void nhw_egu_3_TASK_TRIGGER_6(void);
83 void nhw_egu_3_TASK_TRIGGER_7(void);
84 void nhw_egu_3_TASK_TRIGGER_8(void);
85 void nhw_egu_3_TASK_TRIGGER_9(void);
86 void nhw_egu_3_TASK_TRIGGER_10(void);
87 void nhw_egu_3_TASK_TRIGGER_11(void);
88 void nhw_egu_3_TASK_TRIGGER_12(void);
89 void nhw_egu_3_TASK_TRIGGER_13(void);
90 void nhw_egu_3_TASK_TRIGGER_14(void);
91 void nhw_egu_3_TASK_TRIGGER_15(void);
92 void nhw_egu_4_TASK_TRIGGER_0(void);
93 void nhw_egu_4_TASK_TRIGGER_1(void);
94 void nhw_egu_4_TASK_TRIGGER_2(void);
95 void nhw_egu_4_TASK_TRIGGER_3(void);
96 void nhw_egu_4_TASK_TRIGGER_4(void);
97 void nhw_egu_4_TASK_TRIGGER_5(void);
98 void nhw_egu_4_TASK_TRIGGER_6(void);
99 void nhw_egu_4_TASK_TRIGGER_7(void);
100 void nhw_egu_4_TASK_TRIGGER_8(void);
101 void nhw_egu_4_TASK_TRIGGER_9(void);
102 void nhw_egu_4_TASK_TRIGGER_10(void);
103 void nhw_egu_4_TASK_TRIGGER_11(void);
104 void nhw_egu_4_TASK_TRIGGER_12(void);
105 void nhw_egu_4_TASK_TRIGGER_13(void);
106 void nhw_egu_4_TASK_TRIGGER_14(void);
107 void nhw_egu_4_TASK_TRIGGER_15(void);
108 void nhw_egu_5_TASK_TRIGGER_0(void);
109 void nhw_egu_5_TASK_TRIGGER_1(void);
110 void nhw_egu_5_TASK_TRIGGER_2(void);
111 void nhw_egu_5_TASK_TRIGGER_3(void);
112 void nhw_egu_5_TASK_TRIGGER_4(void);
113 void nhw_egu_5_TASK_TRIGGER_5(void);
114 void nhw_egu_5_TASK_TRIGGER_6(void);
115 void nhw_egu_5_TASK_TRIGGER_7(void);
116 void nhw_egu_5_TASK_TRIGGER_8(void);
117 void nhw_egu_5_TASK_TRIGGER_9(void);
118 void nhw_egu_5_TASK_TRIGGER_10(void);
119 void nhw_egu_5_TASK_TRIGGER_11(void);
120 void nhw_egu_5_TASK_TRIGGER_12(void);
121 void nhw_egu_5_TASK_TRIGGER_13(void);
122 void nhw_egu_5_TASK_TRIGGER_14(void);
123 void nhw_egu_5_TASK_TRIGGER_15(void);
124 #endif /* (NHW_HAS_PPI) */
125 
126 #ifdef __cplusplus
127 }
128 #endif
129 
130 #endif
131 
132