59 #if (defined(PDL_PERIPHERAL_DSTC_ACTIVE))
143 #define DSTC_TRANSITION_TIMEOUT 100000u
146 #define DSTC_PCHK_CALC(x) ((((x) & 0x0F000000ul) >> 24u) ^ \
147 (((x) & 0x00F00000ul) >> 20u) ^ \
148 (((x) & 0x000F0000ul) >> 16u) ^ \
149 (((x) & 0x0000F000ul) >> 12u) ^ \
150 (((x) & 0x00000F00ul) >> 8u) ^ \
151 (((x) & 0x000000F0ul) >> 4u))
154 #define DSTC_IRQ_NUMBER_ADC0_PRIO 110u
155 #define DSTC_IRQ_NUMBER_ADC0_SCAN 111u
156 #define DSTC_IRQ_NUMBER_ADC1_PRIO 112u
157 #define DSTC_IRQ_NUMBER_ADC1_SCAN 113u
158 #define DSTC_IRQ_NUMBER_ADC2_PRIO 114u
159 #define DSTC_IRQ_NUMBER_ADC2_SCAN 115u
160 #define DSTC_IRQ_NUMBER_BT0_IRQ0 16u
161 #define DSTC_IRQ_NUMBER_BT0_IRQ1 17u
162 #define DSTC_IRQ_NUMBER_BT10_IRQ0 148u
163 #define DSTC_IRQ_NUMBER_BT10_IRQ1 149u
164 #define DSTC_IRQ_NUMBER_BT11_IRQ0 150u
165 #define DSTC_IRQ_NUMBER_BT11_IRQ1 151u
166 #define DSTC_IRQ_NUMBER_BT12_IRQ0 152u
167 #define DSTC_IRQ_NUMBER_BT12_IRQ1 153u
168 #define DSTC_IRQ_NUMBER_BT13_IRQ0 154u
169 #define DSTC_IRQ_NUMBER_BT13_IRQ1 155u
170 #define DSTC_IRQ_NUMBER_BT14_IRQ0 156u
171 #define DSTC_IRQ_NUMBER_BT14_IRQ1 157u
172 #define DSTC_IRQ_NUMBER_BT15_IRQ0 158u
173 #define DSTC_IRQ_NUMBER_BT15_IRQ1 159u
174 #define DSTC_IRQ_NUMBER_BT1_IRQ0 18u
175 #define DSTC_IRQ_NUMBER_BT1_IRQ1 19u
176 #define DSTC_IRQ_NUMBER_BT2_IRQ0 20u
177 #define DSTC_IRQ_NUMBER_BT2_IRQ1 21u
178 #define DSTC_IRQ_NUMBER_BT3_IRQ0 22u
179 #define DSTC_IRQ_NUMBER_BT3_IRQ1 23u
180 #define DSTC_IRQ_NUMBER_BT4_IRQ0 24u
181 #define DSTC_IRQ_NUMBER_BT4_IRQ1 25u
182 #define DSTC_IRQ_NUMBER_BT5_IRQ0 26u
183 #define DSTC_IRQ_NUMBER_BT5_IRQ1 27u
184 #define DSTC_IRQ_NUMBER_BT6_IRQ0 28u
185 #define DSTC_IRQ_NUMBER_BT6_IRQ1 29u
186 #define DSTC_IRQ_NUMBER_BT7_IRQ0 30u
187 #define DSTC_IRQ_NUMBER_BT7_IRQ1 31u
188 #define DSTC_IRQ_NUMBER_BT8_IRQ0 144u
189 #define DSTC_IRQ_NUMBER_BT8_IRQ1 145u
190 #define DSTC_IRQ_NUMBER_BT9_IRQ0 146u
191 #define DSTC_IRQ_NUMBER_BT9_IRQ1 147u
192 #define DSTC_IRQ_NUMBER_EXTINT0 0u
193 #define DSTC_IRQ_NUMBER_EXTINT1 1u
194 #define DSTC_IRQ_NUMBER_EXTINT10 10u
195 #define DSTC_IRQ_NUMBER_EXTINT11 11u
196 #define DSTC_IRQ_NUMBER_EXTINT12 12u
197 #define DSTC_IRQ_NUMBER_EXTINT13 13u
198 #define DSTC_IRQ_NUMBER_EXTINT14 14u
199 #define DSTC_IRQ_NUMBER_EXTINT15 15u
200 #define DSTC_IRQ_NUMBER_EXTINT16 128u
201 #define DSTC_IRQ_NUMBER_EXTINT17 129u
202 #define DSTC_IRQ_NUMBER_EXTINT18 130u
203 #define DSTC_IRQ_NUMBER_EXTINT19 131u
204 #define DSTC_IRQ_NUMBER_EXTINT2 2u
205 #define DSTC_IRQ_NUMBER_EXTINT20 132u
206 #define DSTC_IRQ_NUMBER_EXTINT21 133u
207 #define DSTC_IRQ_NUMBER_EXTINT22 134u
208 #define DSTC_IRQ_NUMBER_EXTINT23 135u
209 #define DSTC_IRQ_NUMBER_EXTINT24 136u
210 #define DSTC_IRQ_NUMBER_EXTINT25 137u
211 #define DSTC_IRQ_NUMBER_EXTINT26 138u
212 #define DSTC_IRQ_NUMBER_EXTINT27 139u
213 #define DSTC_IRQ_NUMBER_EXTINT28 140u
214 #define DSTC_IRQ_NUMBER_EXTINT29 141u
215 #define DSTC_IRQ_NUMBER_EXTINT3 3u
216 #define DSTC_IRQ_NUMBER_EXTINT30 142u
217 #define DSTC_IRQ_NUMBER_EXTINT31 143u
218 #define DSTC_IRQ_NUMBER_EXTINT4 4u
219 #define DSTC_IRQ_NUMBER_EXTINT5 5u
220 #define DSTC_IRQ_NUMBER_EXTINT6 6u
221 #define DSTC_IRQ_NUMBER_EXTINT7 7u
222 #define DSTC_IRQ_NUMBER_EXTINT8 8u
223 #define DSTC_IRQ_NUMBER_EXTINT9 9u
224 #define DSTC_IRQ_NUMBER_MFS0_RX 89u
225 #define DSTC_IRQ_NUMBER_MFS0_TX 90u
226 #define DSTC_IRQ_NUMBER_MFS10_RX 198u
227 #define DSTC_IRQ_NUMBER_MFS10_TX 199u
228 #define DSTC_IRQ_NUMBER_MFS11_RX 200u
229 #define DSTC_IRQ_NUMBER_MFS11_TX 201u
230 #define DSTC_IRQ_NUMBER_MFS12_RX 209u
231 #define DSTC_IRQ_NUMBER_MFS12_TX 210u
232 #define DSTC_IRQ_NUMBER_MFS13_RX 211u
233 #define DSTC_IRQ_NUMBER_MFS13_TX 212u
234 #define DSTC_IRQ_NUMBER_MFS14_RX 213u
235 #define DSTC_IRQ_NUMBER_MFS14_TX 214u
236 #define DSTC_IRQ_NUMBER_MFS15_RX 215u
237 #define DSTC_IRQ_NUMBER_MFS15_TX 216u
238 #define DSTC_IRQ_NUMBER_MFS1_RX 91u
239 #define DSTC_IRQ_NUMBER_MFS1_TX 92u
240 #define DSTC_IRQ_NUMBER_MFS2_RX 93u
241 #define DSTC_IRQ_NUMBER_MFS2_TX 94u
242 #define DSTC_IRQ_NUMBER_MFS3_RX 95u
243 #define DSTC_IRQ_NUMBER_MFS3_TX 96u
244 #define DSTC_IRQ_NUMBER_MFS4_RX 97u
245 #define DSTC_IRQ_NUMBER_MFS4_TX 98u
246 #define DSTC_IRQ_NUMBER_MFS5_RX 99u
247 #define DSTC_IRQ_NUMBER_MFS5_TX 100u
248 #define DSTC_IRQ_NUMBER_MFS6_RX 101u
249 #define DSTC_IRQ_NUMBER_MFS6_TX 102u
250 #define DSTC_IRQ_NUMBER_MFS7_RX 103u
251 #define DSTC_IRQ_NUMBER_MFS7_TX 104u
252 #define DSTC_IRQ_NUMBER_MFS8_RX 194u
253 #define DSTC_IRQ_NUMBER_MFS8_TX 195u
254 #define DSTC_IRQ_NUMBER_MFS9_RX 196u
255 #define DSTC_IRQ_NUMBER_MFS9_TX 197u
256 #define DSTC_IRQ_NUMBER_MFT0_FRT0_PEAK 35u
257 #define DSTC_IRQ_NUMBER_MFT0_FRT0_ZERO 38u
258 #define DSTC_IRQ_NUMBER_MFT0_FRT1_PEAK 36u
259 #define DSTC_IRQ_NUMBER_MFT0_FRT1_ZERO 39u
260 #define DSTC_IRQ_NUMBER_MFT0_FRT2_PEAK 37u
261 #define DSTC_IRQ_NUMBER_MFT0_FRT2_ZERO 40u
262 #define DSTC_IRQ_NUMBER_MFT0_ICU0 41u
263 #define DSTC_IRQ_NUMBER_MFT0_ICU1 42u
264 #define DSTC_IRQ_NUMBER_MFT0_ICU2 43u
265 #define DSTC_IRQ_NUMBER_MFT0_ICU3 44u
266 #define DSTC_IRQ_NUMBER_MFT0_OCU0 45u
267 #define DSTC_IRQ_NUMBER_MFT0_OCU1 46u
268 #define DSTC_IRQ_NUMBER_MFT0_OCU2 47u
269 #define DSTC_IRQ_NUMBER_MFT0_OCU3 48u
270 #define DSTC_IRQ_NUMBER_MFT0_OCU4 49u
271 #define DSTC_IRQ_NUMBER_MFT0_OCU5 50u
272 #define DSTC_IRQ_NUMBER_MFT0_WFG10 32u
273 #define DSTC_IRQ_NUMBER_MFT0_WFG32 33u
274 #define DSTC_IRQ_NUMBER_MFT0_WFG54 34u
275 #define DSTC_IRQ_NUMBER_MFT1_FRT0_PEAK 54u
276 #define DSTC_IRQ_NUMBER_MFT1_FRT0_ZERO 57u
277 #define DSTC_IRQ_NUMBER_MFT1_FRT1_PEAK 55u
278 #define DSTC_IRQ_NUMBER_MFT1_FRT1_ZERO 58u
279 #define DSTC_IRQ_NUMBER_MFT1_FRT2_PEAK 56u
280 #define DSTC_IRQ_NUMBER_MFT1_FRT2_ZERO 59u
281 #define DSTC_IRQ_NUMBER_MFT1_ICU0 60u
282 #define DSTC_IRQ_NUMBER_MFT1_ICU1 61u
283 #define DSTC_IRQ_NUMBER_MFT1_ICU2 62u
284 #define DSTC_IRQ_NUMBER_MFT1_ICU3 63u
285 #define DSTC_IRQ_NUMBER_MFT1_OCU0 64u
286 #define DSTC_IRQ_NUMBER_MFT1_OCU1 65u
287 #define DSTC_IRQ_NUMBER_MFT1_OCU2 66u
288 #define DSTC_IRQ_NUMBER_MFT1_OCU3 67u
289 #define DSTC_IRQ_NUMBER_MFT1_OCU4 68u
290 #define DSTC_IRQ_NUMBER_MFT1_OCU5 69u
291 #define DSTC_IRQ_NUMBER_MFT1_WFG10 51u
292 #define DSTC_IRQ_NUMBER_MFT1_WFG32 52u
293 #define DSTC_IRQ_NUMBER_MFT1_WFG54 53u
294 #define DSTC_IRQ_NUMBER_MFT2_FRT0_PEAK 163u
295 #define DSTC_IRQ_NUMBER_MFT2_FRT0_ZERO 166u
296 #define DSTC_IRQ_NUMBER_MFT2_FRT1_PEAK 164u
297 #define DSTC_IRQ_NUMBER_MFT2_FRT1_ZERO 167u
298 #define DSTC_IRQ_NUMBER_MFT2_FRT2_PEAK 165u
299 #define DSTC_IRQ_NUMBER_MFT2_FRT2_ZERO 168u
300 #define DSTC_IRQ_NUMBER_MFT2_ICU0 169u
301 #define DSTC_IRQ_NUMBER_MFT2_ICU1 170u
302 #define DSTC_IRQ_NUMBER_MFT2_ICU2 171u
303 #define DSTC_IRQ_NUMBER_MFT2_ICU3 172u
304 #define DSTC_IRQ_NUMBER_MFT2_OCU0 173u
305 #define DSTC_IRQ_NUMBER_MFT2_OCU1 174u
306 #define DSTC_IRQ_NUMBER_MFT2_OCU2 175u
307 #define DSTC_IRQ_NUMBER_MFT2_OCU3 176u
308 #define DSTC_IRQ_NUMBER_MFT2_OCU4 177u
309 #define DSTC_IRQ_NUMBER_MFT2_OCU5 178u
310 #define DSTC_IRQ_NUMBER_MFT2_WFG10 160u
311 #define DSTC_IRQ_NUMBER_MFT2_WFG32 161u
312 #define DSTC_IRQ_NUMBER_MFT2_WFG54 162u
313 #define DSTC_IRQ_NUMBER_PPG0 70u
314 #define DSTC_IRQ_NUMBER_PPG10 74u
315 #define DSTC_IRQ_NUMBER_PPG12 75u
316 #define DSTC_IRQ_NUMBER_PPG16 179u
317 #define DSTC_IRQ_NUMBER_PPG18 180u
318 #define DSTC_IRQ_NUMBER_PPG2 71u
319 #define DSTC_IRQ_NUMBER_PPG20 181u
320 #define DSTC_IRQ_NUMBER_PPG4 72u
321 #define DSTC_IRQ_NUMBER_PPG8 73u
322 #define DSTC_IRQ_NUMBER_QPRC0_COUNT_INVERSION 79u
323 #define DSTC_IRQ_NUMBER_QPRC0_OUT_OF_RANGE 80u
324 #define DSTC_IRQ_NUMBER_QPRC0_PC_MATCH 76u
325 #define DSTC_IRQ_NUMBER_QPRC0_PC_MATCH_RC_MATCH 81u
326 #define DSTC_IRQ_NUMBER_QPRC0_PC_RC_MATCH 77u
327 #define DSTC_IRQ_NUMBER_QPRC0_UFL_OFL_Z 78u
328 #define DSTC_IRQ_NUMBER_QPRC1_COUNT_INVERSION 85u
329 #define DSTC_IRQ_NUMBER_QPRC1_OUT_OF_RANGE 86u
330 #define DSTC_IRQ_NUMBER_QPRC1_PC_MATCH 82u
331 #define DSTC_IRQ_NUMBER_QPRC1_PC_MATCH_RC_MATCH 87u
332 #define DSTC_IRQ_NUMBER_QPRC1_PC_RC_MATCH 83u
333 #define DSTC_IRQ_NUMBER_QPRC1_UFL_OFL_Z 84u
334 #define DSTC_IRQ_NUMBER_QPRC2_COUNT_INVERSION 185u
335 #define DSTC_IRQ_NUMBER_QPRC2_OUT_OF_RANGE 186u
336 #define DSTC_IRQ_NUMBER_QPRC2_PC_MATCH 182u
337 #define DSTC_IRQ_NUMBER_QPRC2_PC_MATCH_RC_MATCH 187u
338 #define DSTC_IRQ_NUMBER_QPRC2_PC_RC_MATCH 183u
339 #define DSTC_IRQ_NUMBER_QPRC2_UFL_OFL_Z 184u
340 #define DSTC_IRQ_NUMBER_QPRC3_COUNT_INVERSION 191u
341 #define DSTC_IRQ_NUMBER_QPRC3_OUT_OF_RANGE 192u
342 #define DSTC_IRQ_NUMBER_QPRC3_PC_MATCH 188u
343 #define DSTC_IRQ_NUMBER_QPRC3_PC_MATCH_RC_MATCH 193u
344 #define DSTC_IRQ_NUMBER_QPRC3_PC_RC_MATCH 189u
345 #define DSTC_IRQ_NUMBER_QPRC3_UFL_OFL_Z 190u
346 #define DSTC_IRQ_NUMBER_USB0_EP1 105u
347 #define DSTC_IRQ_NUMBER_USB0_EP2 106u
348 #define DSTC_IRQ_NUMBER_USB0_EP3 107u
349 #define DSTC_IRQ_NUMBER_USB0_EP4 108u
350 #define DSTC_IRQ_NUMBER_USB0_EP5 109u
351 #define DSTC_IRQ_NUMBER_USB1_EP1 202u
352 #define DSTC_IRQ_NUMBER_USB1_EP2 203u
353 #define DSTC_IRQ_NUMBER_USB1_EP3 204u
354 #define DSTC_IRQ_NUMBER_USB1_EP4 205u
355 #define DSTC_IRQ_NUMBER_USB1_EP5 206u
356 #define DSTC_IRQ_NUMBER_WC 88u
413 uint16_t u16ErrorChannel,
414 uint16_t u16ErrorDesPointer,
744 #if (PDL_ON == PDL_DSTC_ENABLE_ADC0_PRIO)
747 #if (PDL_ON == PDL_DSTC_ENABLE_ADC0_SCAN)
750 #if (PDL_ON == PDL_DSTC_ENABLE_ADC1_PRIO)
753 #if (PDL_ON == PDL_DSTC_ENABLE_ADC1_SCAN)
756 #if (PDL_ON == PDL_DSTC_ENABLE_ADC2_PRIO)
759 #if (PDL_ON == PDL_DSTC_ENABLE_ADC2_SCAN)
762 #if (PDL_ON == PDL_DSTC_ENABLE_BT0_IRQ0)
765 #if (PDL_ON == PDL_DSTC_ENABLE_BT0_IRQ1)
768 #if (PDL_ON == PDL_DSTC_ENABLE_BT1_IRQ0)
771 #if (PDL_ON == PDL_DSTC_ENABLE_BT1_IRQ1)
774 #if (PDL_ON == PDL_DSTC_ENABLE_BT2_IRQ0)
777 #if (PDL_ON == PDL_DSTC_ENABLE_BT2_IRQ1)
780 #if (PDL_ON == PDL_DSTC_ENABLE_BT3_IRQ0)
783 #if (PDL_ON == PDL_DSTC_ENABLE_BT3_IRQ1)
786 #if (PDL_ON == PDL_DSTC_ENABLE_BT4_IRQ0)
789 #if (PDL_ON == PDL_DSTC_ENABLE_BT4_IRQ1)
792 #if (PDL_ON == PDL_DSTC_ENABLE_BT5_IRQ0)
795 #if (PDL_ON == PDL_DSTC_ENABLE_BT5_IRQ1)
798 #if (PDL_ON == PDL_DSTC_ENABLE_BT6_IRQ0)
801 #if (PDL_ON == PDL_DSTC_ENABLE_BT6_IRQ1)
804 #if (PDL_ON == PDL_DSTC_ENABLE_BT7_IRQ0)
807 #if (PDL_ON == PDL_DSTC_ENABLE_BT7_IRQ1)
810 #if (PDL_ON == PDL_DSTC_ENABLE_BT8_IRQ0)
813 #if (PDL_ON == PDL_DSTC_ENABLE_BT8_IRQ1)
816 #if (PDL_ON == PDL_DSTC_ENABLE_BT9_IRQ0)
819 #if (PDL_ON == PDL_DSTC_ENABLE_BT9_IRQ1)
822 #if (PDL_ON == PDL_DSTC_ENABLE_BT10_IRQ0)
825 #if (PDL_ON == PDL_DSTC_ENABLE_BT10_IRQ1)
828 #if (PDL_ON == PDL_DSTC_ENABLE_BT11_IRQ0)
831 #if (PDL_ON == PDL_DSTC_ENABLE_BT11_IRQ1)
834 #if (PDL_ON == PDL_DSTC_ENABLE_BT12_IRQ0)
837 #if (PDL_ON == PDL_DSTC_ENABLE_BT12_IRQ1)
840 #if (PDL_ON == PDL_DSTC_ENABLE_BT13_IRQ0)
843 #if (PDL_ON == PDL_DSTC_ENABLE_BT13_IRQ1)
846 #if (PDL_ON == PDL_DSTC_ENABLE_BT14_IRQ0)
849 #if (PDL_ON == PDL_DSTC_ENABLE_BT14_IRQ1)
852 #if (PDL_ON == PDL_DSTC_ENABLE_BT15_IRQ0)
855 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT0)
858 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT1)
861 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT2)
864 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT3)
867 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT4)
870 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT5)
873 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT6)
876 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT7)
879 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT8)
882 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT9)
885 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT10)
888 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT11)
891 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT12)
894 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT13)
897 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT14)
900 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT15)
903 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT16)
906 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT17)
909 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT18)
912 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT19)
915 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT20)
918 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT21)
921 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT22)
924 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT23)
927 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT24)
930 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT25)
933 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT26)
936 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT27)
939 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT28)
942 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT29)
945 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT30)
948 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT31)
951 #if (PDL_ON == PDL_DSTC_ENABLE_MFS0_RX)
954 #if (PDL_ON == PDL_DSTC_ENABLE_MFS0_TX)
957 #if (PDL_ON == PDL_DSTC_ENABLE_MFS1_RX)
960 #if (PDL_ON == PDL_DSTC_ENABLE_MFS1_TX)
963 #if (PDL_ON == PDL_DSTC_ENABLE_MFS2_RX)
966 #if (PDL_ON == PDL_DSTC_ENABLE_MFS2_TX)
969 #if (PDL_ON == PDL_DSTC_ENABLE_MFS3_RX)
972 #if (PDL_ON == PDL_DSTC_ENABLE_MFS3_TX)
975 #if (PDL_ON == PDL_DSTC_ENABLE_MFS4_RX)
978 #if (PDL_ON == PDL_DSTC_ENABLE_MFS4_TX)
981 #if (PDL_ON == PDL_DSTC_ENABLE_MFS5_RX)
984 #if (PDL_ON == PDL_DSTC_ENABLE_MFS5_TX)
987 #if (PDL_ON == PDL_DSTC_ENABLE_MFS6_RX)
990 #if (PDL_ON == PDL_DSTC_ENABLE_MFS6_TX)
993 #if (PDL_ON == PDL_DSTC_ENABLE_MFS7_RX)
996 #if (PDL_ON == PDL_DSTC_ENABLE_MFS7_TX)
999 #if (PDL_ON == PDL_DSTC_ENABLE_MFS8_RX)
1002 #if (PDL_ON == PDL_DSTC_ENABLE_MFS8_TX)
1005 #if (PDL_ON == PDL_DSTC_ENABLE_MFS9_RX)
1008 #if (PDL_ON == PDL_DSTC_ENABLE_MFS9_TX)
1011 #if (PDL_ON == PDL_DSTC_ENABLE_MFS10_RX)
1014 #if (PDL_ON == PDL_DSTC_ENABLE_MFS10_TX)
1017 #if (PDL_ON == PDL_DSTC_ENABLE_MFS11_RX)
1020 #if (PDL_ON == PDL_DSTC_ENABLE_MFS11_TX)
1023 #if (PDL_ON == PDL_DSTC_ENABLE_MFS12_RX)
1026 #if (PDL_ON == PDL_DSTC_ENABLE_MFS12_TX)
1029 #if (PDL_ON == PDL_DSTC_ENABLE_MFS13_RX)
1032 #if (PDL_ON == PDL_DSTC_ENABLE_MFS13_TX)
1035 #if (PDL_ON == PDL_DSTC_ENABLE_MFS14_RX)
1038 #if (PDL_ON == PDL_DSTC_ENABLE_MFS14_TX)
1041 #if (PDL_ON == PDL_DSTC_ENABLE_MFS15_RX)
1044 #if (PDL_ON == PDL_DSTC_ENABLE_MFS15_TX)
1047 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT0_PEAK)
1050 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT0_ZERO)
1053 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT1_PEAK)
1056 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT1_ZERO)
1059 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT2_PEAK)
1062 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT2_ZERO)
1065 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_ICU0)
1068 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_ICU1)
1071 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_ICU2)
1074 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_ICU3)
1077 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU0)
1080 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU1)
1083 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU2)
1086 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU3)
1089 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU4)
1092 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU5)
1095 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_WFG10)
1098 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_WFG32)
1101 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_WFG54)
1104 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT0_PEAK)
1107 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT0_ZERO)
1110 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT1_PEAK)
1113 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT1_ZERO)
1116 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT2_PEAK)
1119 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT2_ZERO)
1122 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_ICU0)
1125 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_ICU1)
1128 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_ICU2)
1131 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_ICU3)
1134 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU0)
1137 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU1)
1140 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU2)
1143 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU3)
1146 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU4)
1149 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU5)
1152 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_WFG10)
1155 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_WFG32)
1158 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_WFG54)
1161 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT0_PEAK)
1164 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT0_ZERO)
1167 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT1_PEAK)
1170 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT1_ZERO)
1173 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT2_PEAK)
1176 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT2_ZERO)
1179 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_ICU0)
1182 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_ICU1)
1185 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_ICU2)
1188 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_ICU3)
1191 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU0)
1194 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU1)
1197 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU2)
1200 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU3)
1203 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU4)
1206 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU5)
1209 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_WFG10)
1212 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_WFG32)
1215 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_WFG54)
1218 #if (PDL_ON == PDL_DSTC_ENABLE_PPG0)
1221 #if (PDL_ON == PDL_DSTC_ENABLE_PPG2)
1224 #if (PDL_ON == PDL_DSTC_ENABLE_PPG4)
1227 #if (PDL_ON == PDL_DSTC_ENABLE_PPG8)
1230 #if (PDL_ON == PDL_DSTC_ENABLE_PPG10)
1233 #if (PDL_ON == PDL_DSTC_ENABLE_PPG12)
1236 #if (PDL_ON == PDL_DSTC_ENABLE_PPG16)
1239 #if (PDL_ON == PDL_DSTC_ENABLE_PPG18)
1242 #if (PDL_ON == PDL_DSTC_ENABLE_PPG20)
1245 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC0_COUNT_INVERSION)
1248 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC0_OUT_OF_RANGE)
1251 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC0_PC_MATCH)
1254 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC0_PC_MATCH_RC_MATCH)
1257 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC0_PC_RC_MATCH)
1260 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC0_UFL_OFL_Z)
1263 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC1_COUNT_INVERSION)
1266 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC1_OUT_OF_RANGE)
1269 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC1_PC_MATCH)
1272 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC1_PC_MATCH_RC_MATCH)
1275 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC1_PC_RC_MATCH)
1278 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC1_UFL_OFL_Z)
1281 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC2_COUNT_INVERSION)
1284 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC2_OUT_OF_RANGE)
1287 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC2_PC_MATCH)
1290 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC2_PC_MATCH_RC_MATCH)
1293 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC2_PC_RC_MATCH)
1296 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC2_UFL_OFL_Z)
1299 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC3_COUNT_INVERSION)
1302 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC3_OUT_OF_RANGE)
1305 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC3_PC_MATCH)
1308 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC3_PC_MATCH_RC_MATCH)
1311 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC3_PC_RC_MATCH)
1314 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC3_UFL_OFL_Z)
1317 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP1)
1320 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP2)
1323 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP3)
1326 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP4)
1329 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP5)
1332 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP1)
1335 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP2)
1338 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP3)
1341 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP4)
1344 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP5)
1347 #if (PDL_ON == PDL_DSTC_ENABLE_WC)
1358 #if (PDL_ON == PDL_DSTC_ENABLE_ADC0_PRIO)
1361 #if (PDL_ON == PDL_DSTC_ENABLE_ADC0_SCAN)
1364 #if (PDL_ON == PDL_DSTC_ENABLE_ADC1_PRIO)
1367 #if (PDL_ON == PDL_DSTC_ENABLE_ADC1_SCAN)
1370 #if (PDL_ON == PDL_DSTC_ENABLE_ADC2_PRIO)
1373 #if (PDL_ON == PDL_DSTC_ENABLE_ADC2_SCAN)
1376 #if (PDL_ON == PDL_DSTC_ENABLE_BT0_IRQ0)
1379 #if (PDL_ON == PDL_DSTC_ENABLE_BT0_IRQ1)
1382 #if (PDL_ON == PDL_DSTC_ENABLE_BT1_IRQ0)
1385 #if (PDL_ON == PDL_DSTC_ENABLE_BT1_IRQ1)
1388 #if (PDL_ON == PDL_DSTC_ENABLE_BT2_IRQ0)
1391 #if (PDL_ON == PDL_DSTC_ENABLE_BT2_IRQ1)
1394 #if (PDL_ON == PDL_DSTC_ENABLE_BT3_IRQ0)
1397 #if (PDL_ON == PDL_DSTC_ENABLE_BT3_IRQ1)
1400 #if (PDL_ON == PDL_DSTC_ENABLE_BT4_IRQ0)
1403 #if (PDL_ON == PDL_DSTC_ENABLE_BT4_IRQ1)
1406 #if (PDL_ON == PDL_DSTC_ENABLE_BT5_IRQ0)
1409 #if (PDL_ON == PDL_DSTC_ENABLE_BT5_IRQ1)
1412 #if (PDL_ON == PDL_DSTC_ENABLE_BT6_IRQ0)
1415 #if (PDL_ON == PDL_DSTC_ENABLE_BT6_IRQ1)
1418 #if (PDL_ON == PDL_DSTC_ENABLE_BT7_IRQ0)
1421 #if (PDL_ON == PDL_DSTC_ENABLE_BT7_IRQ1)
1424 #if (PDL_ON == PDL_DSTC_ENABLE_BT8_IRQ0)
1427 #if (PDL_ON == PDL_DSTC_ENABLE_BT8_IRQ1)
1430 #if (PDL_ON == PDL_DSTC_ENABLE_BT9_IRQ0)
1433 #if (PDL_ON == PDL_DSTC_ENABLE_BT9_IRQ1)
1436 #if (PDL_ON == PDL_DSTC_ENABLE_BT10_IRQ0)
1439 #if (PDL_ON == PDL_DSTC_ENABLE_BT10_IRQ1)
1442 #if (PDL_ON == PDL_DSTC_ENABLE_BT11_IRQ0)
1445 #if (PDL_ON == PDL_DSTC_ENABLE_BT11_IRQ1)
1448 #if (PDL_ON == PDL_DSTC_ENABLE_BT12_IRQ0)
1451 #if (PDL_ON == PDL_DSTC_ENABLE_BT12_IRQ1)
1454 #if (PDL_ON == PDL_DSTC_ENABLE_BT13_IRQ0)
1457 #if (PDL_ON == PDL_DSTC_ENABLE_BT13_IRQ1)
1460 #if (PDL_ON == PDL_DSTC_ENABLE_BT14_IRQ0)
1463 #if (PDL_ON == PDL_DSTC_ENABLE_BT14_IRQ1)
1466 #if (PDL_ON == PDL_DSTC_ENABLE_BT15_IRQ0)
1469 #if (PDL_ON == PDL_DSTC_ENABLE_BT15_IRQ1)
1472 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT0)
1475 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT1)
1478 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT2)
1481 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT3)
1484 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT4)
1487 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT5)
1490 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT6)
1493 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT7)
1496 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT8)
1499 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT9)
1502 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT10)
1505 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT11)
1508 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT12)
1511 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT13)
1514 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT14)
1517 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT15)
1520 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT16)
1523 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT17)
1526 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT18)
1529 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT19)
1532 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT20)
1535 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT21)
1538 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT22)
1541 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT23)
1544 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT24)
1547 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT25)
1550 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT26)
1553 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT27)
1556 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT28)
1559 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT29)
1562 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT30)
1565 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT31)
1568 #if (PDL_ON == PDL_DSTC_ENABLE_MFS0_RX)
1571 #if (PDL_ON == PDL_DSTC_ENABLE_MFS0_TX)
1574 #if (PDL_ON == PDL_DSTC_ENABLE_MFS1_RX)
1577 #if (PDL_ON == PDL_DSTC_ENABLE_MFS1_TX)
1580 #if (PDL_ON == PDL_DSTC_ENABLE_MFS2_RX)
1583 #if (PDL_ON == PDL_DSTC_ENABLE_MFS2_TX)
1586 #if (PDL_ON == PDL_DSTC_ENABLE_MFS3_RX)
1589 #if (PDL_ON == PDL_DSTC_ENABLE_MFS3_TX)
1592 #if (PDL_ON == PDL_DSTC_ENABLE_MFS4_RX)
1595 #if (PDL_ON == PDL_DSTC_ENABLE_MFS4_TX)
1598 #if (PDL_ON == PDL_DSTC_ENABLE_MFS5_RX)
1601 #if (PDL_ON == PDL_DSTC_ENABLE_MFS5_TX)
1604 #if (PDL_ON == PDL_DSTC_ENABLE_MFS6_RX)
1607 #if (PDL_ON == PDL_DSTC_ENABLE_MFS6_TX)
1610 #if (PDL_ON == PDL_DSTC_ENABLE_MFS7_RX)
1613 #if (PDL_ON == PDL_DSTC_ENABLE_MFS7_TX)
1616 #if (PDL_ON == PDL_DSTC_ENABLE_MFS8_RX)
1619 #if (PDL_ON == PDL_DSTC_ENABLE_MFS8_TX)
1622 #if (PDL_ON == PDL_DSTC_ENABLE_MFS9_RX)
1625 #if (PDL_ON == PDL_DSTC_ENABLE_MFS9_TX)
1628 #if (PDL_ON == PDL_DSTC_ENABLE_MFS10_RX)
1631 #if (PDL_ON == PDL_DSTC_ENABLE_MFS10_TX)
1634 #if (PDL_ON == PDL_DSTC_ENABLE_MFS11_RX)
1637 #if (PDL_ON == PDL_DSTC_ENABLE_MFS11_TX)
1640 #if (PDL_ON == PDL_DSTC_ENABLE_MFS12_RX)
1643 #if (PDL_ON == PDL_DSTC_ENABLE_MFS12_TX)
1646 #if (PDL_ON == PDL_DSTC_ENABLE_MFS13_RX)
1649 #if (PDL_ON == PDL_DSTC_ENABLE_MFS13_TX)
1652 #if (PDL_ON == PDL_DSTC_ENABLE_MFS14_RX)
1655 #if (PDL_ON == PDL_DSTC_ENABLE_MFS14_TX)
1658 #if (PDL_ON == PDL_DSTC_ENABLE_MFS15_RX)
1661 #if (PDL_ON == PDL_DSTC_ENABLE_MFS15_TX)
1664 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT0_PEAK)
1667 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT0_ZERO)
1670 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT1_PEAK)
1673 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT1_ZERO)
1676 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT2_PEAK)
1679 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT2_ZERO)
1682 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_ICU0)
1685 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_ICU1)
1688 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_ICU2)
1691 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_ICU3)
1694 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU0)
1697 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU1)
1700 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU2)
1703 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU3)
1706 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU4)
1709 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU5)
1712 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_WFG10)
1715 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_WFG32)
1718 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_WFG54)
1721 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT0_PEAK)
1724 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT0_ZERO)
1727 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT1_PEAK)
1730 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT1_ZERO)
1733 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT2_PEAK)
1736 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT2_ZERO)
1739 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_ICU0)
1742 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_ICU1)
1745 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_ICU2)
1748 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_ICU3)
1751 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU0)
1754 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU1)
1757 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU2)
1760 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU3)
1763 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU4)
1766 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU5)
1769 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_WFG10)
1772 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_WFG32)
1775 #if (PDL_ON == PDL_DSTC_ENABLE_MFT1_WFG54)
1778 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT0_PEAK)
1781 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT0_ZERO)
1784 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT1_PEAK)
1787 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT1_ZERO)
1790 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT2_PEAK)
1793 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT2_ZERO)
1796 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_ICU0)
1799 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_ICU1)
1802 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_ICU2)
1805 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_ICU3)
1808 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU0)
1811 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU1)
1814 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU2)
1817 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU3)
1820 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU4)
1823 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU5)
1826 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_WFG10)
1829 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_WFG32)
1832 #if (PDL_ON == PDL_DSTC_ENABLE_MFT2_WFG54)
1835 #if (PDL_ON == PDL_DSTC_ENABLE_PPG0)
1838 #if (PDL_ON == PDL_DSTC_ENABLE_PPG2)
1841 #if (PDL_ON == PDL_DSTC_ENABLE_PPG4)
1844 #if (PDL_ON == PDL_DSTC_ENABLE_PPG8)
1847 #if (PDL_ON == PDL_DSTC_ENABLE_PPG10)
1850 #if (PDL_ON == PDL_DSTC_ENABLE_PPG12)
1853 #if (PDL_ON == PDL_DSTC_ENABLE_PPG16)
1856 #if (PDL_ON == PDL_DSTC_ENABLE_PPG18)
1859 #if (PDL_ON == PDL_DSTC_ENABLE_PPG20)
1862 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC0_COUNT_INVERSION)
1865 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC0_OUT_OF_RANGE)
1868 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC0_PC_MATCH)
1871 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC0_PC_MATCH_RC_MATCH)
1874 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC0_PC_RC_MATCH)
1877 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC0_UFL_OFL_Z)
1880 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC1_COUNT_INVERSION)
1883 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC1_OUT_OF_RANGE)
1886 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC1_PC_MATCH)
1889 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC1_PC_MATCH_RC_MATCH)
1892 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC1_PC_RC_MATCH)
1895 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC1_UFL_OFL_Z)
1898 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC2_COUNT_INVERSION)
1901 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC2_OUT_OF_RANGE)
1904 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC2_PC_MATCH)
1907 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC2_PC_MATCH_RC_MATCH)
1910 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC2_PC_RC_MATCH)
1913 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC2_UFL_OFL_Z)
1916 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC3_COUNT_INVERSION)
1919 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC3_OUT_OF_RANGE)
1922 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC3_PC_MATCH)
1925 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC3_PC_MATCH_RC_MATCH)
1928 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC3_PC_RC_MATCH)
1931 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC3_UFL_OFL_Z)
1934 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP1)
1937 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP2)
1940 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP3)
1943 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP4)
1946 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP5)
1949 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP1)
1952 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP2)
1955 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP3)
1958 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP4)
1961 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP5)
1964 #if (PDL_ON == PDL_DSTC_ENABLE_WC)
1978 uint16_t u16HwDesp );
1995 #if (PDL_ON == PDL_DSTC_ENABLE_ADC0_PRIO) || (PDL_ON == PDL_DSTC_ENABLE_ADC0_SCAN) || \
1996 (PDL_ON == PDL_DSTC_ENABLE_ADC1_PRIO) || (PDL_ON == PDL_DSTC_ENABLE_ADC1_SCAN) || \
1997 (PDL_ON == PDL_DSTC_ENABLE_ADC2_PRIO) || (PDL_ON == PDL_DSTC_ENABLE_ADC2_SCAN)
2001 #if (PDL_ON == PDL_DSTC_ENABLE_BT0_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT0_IRQ1) || \
2002 (PDL_ON == PDL_DSTC_ENABLE_BT1_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT1_IRQ1) || \
2003 (PDL_ON == PDL_DSTC_ENABLE_BT2_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT2_IRQ1) || \
2004 (PDL_ON == PDL_DSTC_ENABLE_BT3_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT3_IRQ1) || \
2005 (PDL_ON == PDL_DSTC_ENABLE_BT4_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT4_IRQ1) || \
2006 (PDL_ON == PDL_DSTC_ENABLE_BT5_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT5_IRQ1) || \
2007 (PDL_ON == PDL_DSTC_ENABLE_BT6_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT6_IRQ1) || \
2008 (PDL_ON == PDL_DSTC_ENABLE_BT7_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT7_IRQ1) || \
2009 (PDL_ON == PDL_DSTC_ENABLE_BT8_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT8_IRQ1) || \
2010 (PDL_ON == PDL_DSTC_ENABLE_BT9_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT9_IRQ1) || \
2011 (PDL_ON == PDL_DSTC_ENABLE_BT10_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT10_IRQ1) || \
2012 (PDL_ON == PDL_DSTC_ENABLE_BT11_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT11_IRQ1) || \
2013 (PDL_ON == PDL_DSTC_ENABLE_BT12_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT12_IRQ1) || \
2014 (PDL_ON == PDL_DSTC_ENABLE_BT13_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT13_IRQ1) || \
2015 (PDL_ON == PDL_DSTC_ENABLE_BT14_IRQ0) || (PDL_ON == PDL_DSTC_ENABLE_BT14_IRQ1)
2019 #if (PDL_ON == PDL_DSTC_ENABLE_EXINT0) || (PDL_ON == PDL_DSTC_ENABLE_EXINT1) || \
2020 (PDL_ON == PDL_DSTC_ENABLE_EXINT2) || (PDL_ON == PDL_DSTC_ENABLE_EXINT3) || \
2021 (PDL_ON == PDL_DSTC_ENABLE_EXINT4) || (PDL_ON == PDL_DSTC_ENABLE_EXINT5) || \
2022 (PDL_ON == PDL_DSTC_ENABLE_EXINT6) || (PDL_ON == PDL_DSTC_ENABLE_EXINT7) || \
2023 (PDL_ON == PDL_DSTC_ENABLE_EXINT8) || (PDL_ON == PDL_DSTC_ENABLE_EXINT9) || \
2024 (PDL_ON == PDL_DSTC_ENABLE_EXINT10) || (PDL_ON == PDL_DSTC_ENABLE_EXINT11) || \
2025 (PDL_ON == PDL_DSTC_ENABLE_EXINT12) || (PDL_ON == PDL_DSTC_ENABLE_EXINT13) || \
2026 (PDL_ON == PDL_DSTC_ENABLE_EXINT14) || (PDL_ON == PDL_DSTC_ENABLE_EXINT15) || \
2027 (PDL_ON == PDL_DSTC_ENABLE_EXINT16) || (PDL_ON == PDL_DSTC_ENABLE_EXINT17) || \
2028 (PDL_ON == PDL_DSTC_ENABLE_EXINT18) || (PDL_ON == PDL_DSTC_ENABLE_EXINT19) || \
2029 (PDL_ON == PDL_DSTC_ENABLE_EXINT20) || (PDL_ON == PDL_DSTC_ENABLE_EXINT21) || \
2030 (PDL_ON == PDL_DSTC_ENABLE_EXINT22) || (PDL_ON == PDL_DSTC_ENABLE_EXINT23) || \
2031 (PDL_ON == PDL_DSTC_ENABLE_EXINT24) || (PDL_ON == PDL_DSTC_ENABLE_EXINT25) || \
2032 (PDL_ON == PDL_DSTC_ENABLE_EXINT26) || (PDL_ON == PDL_DSTC_ENABLE_EXINT27) || \
2033 (PDL_ON == PDL_DSTC_ENABLE_EXINT28) || (PDL_ON == PDL_DSTC_ENABLE_EXINT29) || \
2034 (PDL_ON == PDL_DSTC_ENABLE_EXINT30) || (PDL_ON == PDL_DSTC_ENABLE_EXINT31)
2038 #if (PDL_ON == PDL_DSTC_ENABLE_MFS0_RX) || (PDL_ON == PDL_DSTC_ENABLE_MFS1_RX) || \
2039 (PDL_ON == PDL_DSTC_ENABLE_MFS2_RX) || (PDL_ON == PDL_DSTC_ENABLE_MFS3_RX) || \
2040 (PDL_ON == PDL_DSTC_ENABLE_MFS4_RX) || (PDL_ON == PDL_DSTC_ENABLE_MFS5_RX) || \
2041 (PDL_ON == PDL_DSTC_ENABLE_MFS6_RX) || (PDL_ON == PDL_DSTC_ENABLE_MFS7_RX) || \
2042 (PDL_ON == PDL_DSTC_ENABLE_MFS8_RX) || (PDL_ON == PDL_DSTC_ENABLE_MFS9_RX) || \
2043 (PDL_ON == PDL_DSTC_ENABLE_MFS10_RX) || (PDL_ON == PDL_DSTC_ENABLE_MFS11_RX) || \
2044 (PDL_ON == PDL_DSTC_ENABLE_MFS12_RX) || (PDL_ON == PDL_DSTC_ENABLE_MFS13_RX) || \
2045 (PDL_ON == PDL_DSTC_ENABLE_MFS14_RX) || (PDL_ON == PDL_DSTC_ENABLE_MFS15_RX)
2049 #if (PDL_ON == PDL_DSTC_ENABLE_MFS0_TX) || (PDL_ON == PDL_DSTC_ENABLE_MFS1_TX) || \
2050 (PDL_ON == PDL_DSTC_ENABLE_MFS2_TX) || (PDL_ON == PDL_DSTC_ENABLE_MFS3_TX) || \
2051 (PDL_ON == PDL_DSTC_ENABLE_MFS4_TX) || (PDL_ON == PDL_DSTC_ENABLE_MFS5_TX) || \
2052 (PDL_ON == PDL_DSTC_ENABLE_MFS6_TX) || (PDL_ON == PDL_DSTC_ENABLE_MFS7_TX) || \
2053 (PDL_ON == PDL_DSTC_ENABLE_MFS8_TX) || (PDL_ON == PDL_DSTC_ENABLE_MFS9_TX) || \
2054 (PDL_ON == PDL_DSTC_ENABLE_MFS10_TX) || (PDL_ON == PDL_DSTC_ENABLE_MFS11_TX) || \
2055 (PDL_ON == PDL_DSTC_ENABLE_MFS12_TX) || (PDL_ON == PDL_DSTC_ENABLE_MFS13_TX) || \
2056 (PDL_ON == PDL_DSTC_ENABLE_MFS14_TX) || (PDL_ON == PDL_DSTC_ENABLE_MFS15_TX)
2060 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT0_PEAK) || \
2061 (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT1_PEAK) || \
2062 (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT2_PEAK) || \
2063 (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT0_PEAK) || \
2064 (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT1_PEAK) || \
2065 (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT2_PEAK) || \
2066 (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT0_PEAK) || \
2067 (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT1_PEAK) || \
2068 (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT2_PEAK)
2073 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT0_ZERO) || \
2074 (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT1_ZERO) || \
2075 (PDL_ON == PDL_DSTC_ENABLE_MFT0_FRT2_ZERO) || \
2076 (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT0_ZERO) || \
2077 (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT1_ZERO) || \
2078 (PDL_ON == PDL_DSTC_ENABLE_MFT1_FRT2_ZERO) || \
2079 (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT0_ZERO) || \
2080 (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT1_ZERO) || \
2081 (PDL_ON == PDL_DSTC_ENABLE_MFT2_FRT2_ZERO)
2085 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU0) || (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU1) || \
2086 (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU2) || (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU3) || \
2087 (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU4) || (PDL_ON == PDL_DSTC_ENABLE_MFT0_OCU5) || \
2088 (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU0) || (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU1) || \
2089 (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU2) || (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU3) || \
2090 (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU4) || (PDL_ON == PDL_DSTC_ENABLE_MFT1_OCU5) || \
2091 (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU0) || (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU1) || \
2092 (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU2) || (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU3) || \
2093 (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU4) || (PDL_ON == PDL_DSTC_ENABLE_MFT2_OCU5)
2097 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_WFG10) || (PDL_ON == PDL_DSTC_ENABLE_MFT0_WFG32) || \
2098 (PDL_ON == PDL_DSTC_ENABLE_MFT0_WFG54) || (PDL_ON == PDL_DSTC_ENABLE_MFT1_WFG10) || \
2099 (PDL_ON == PDL_DSTC_ENABLE_MFT1_WFG32) || (PDL_ON == PDL_DSTC_ENABLE_MFT1_WFG54) || \
2100 (PDL_ON == PDL_DSTC_ENABLE_MFT2_WFG10) || (PDL_ON == PDL_DSTC_ENABLE_MFT2_WFG32) || \
2101 (PDL_ON == PDL_DSTC_ENABLE_MFT2_WFG54)
2105 #if (PDL_ON == PDL_DSTC_ENABLE_MFT0_ICU0) || (PDL_ON == PDL_DSTC_ENABLE_MFT0_ICU1) || \
2106 (PDL_ON == PDL_DSTC_ENABLE_MFT0_ICU2) || (PDL_ON == PDL_DSTC_ENABLE_MFT0_ICU3) || \
2107 (PDL_ON == PDL_DSTC_ENABLE_MFT1_ICU0) || (PDL_ON == PDL_DSTC_ENABLE_MFT1_ICU1) || \
2108 (PDL_ON == PDL_DSTC_ENABLE_MFT1_ICU2) || (PDL_ON == PDL_DSTC_ENABLE_MFT1_ICU3) || \
2109 (PDL_ON == PDL_DSTC_ENABLE_MFT2_ICU0) || (PDL_ON == PDL_DSTC_ENABLE_MFT2_ICU1) || \
2110 (PDL_ON == PDL_DSTC_ENABLE_MFT2_ICU2) || (PDL_ON == PDL_DSTC_ENABLE_MFT2_ICU3)
2114 #if (PDL_ON == PDL_DSTC_ENABLE_PPG0) || (PDL_ON == PDL_DSTC_ENABLE_PPG2) || \
2115 (PDL_ON == PDL_DSTC_ENABLE_PPG4) || (PDL_ON == PDL_DSTC_ENABLE_PPG8) || \
2116 (PDL_ON == PDL_DSTC_ENABLE_PPG4) || (PDL_ON == PDL_DSTC_ENABLE_PPG8) || \
2117 (PDL_ON == PDL_DSTC_ENABLE_PPG10) || (PDL_ON == PDL_DSTC_ENABLE_PPG12) || \
2118 (PDL_ON == PDL_DSTC_ENABLE_PPG16) || (PDL_ON == PDL_DSTC_ENABLE_PPG18) || \
2119 (PDL_ON == PDL_DSTC_ENABLE_PPG20)
2123 #if (PDL_ON == PDL_DSTC_ENABLE_QPRC0_COUNT_INVERSION) || \
2124 (PDL_ON == PDL_DSTC_ENABLE_QPRC0_OUT_OF_RANGE) || \
2125 (PDL_ON == PDL_DSTC_ENABLE_QPRC0_PC_MATCH) || \
2126 (PDL_ON == PDL_DSTC_ENABLE_QPRC0_PC_MATCH_RC_MATCH) || \
2127 (PDL_ON == PDL_DSTC_ENABLE_QPRC0_PC_RC_MATCH) || \
2128 (PDL_ON == PDL_DSTC_ENABLE_QPRC0_UFL_OFL_Z) || \
2129 (PDL_ON == PDL_DSTC_ENABLE_QPRC1_COUNT_INVERSION) || \
2130 (PDL_ON == PDL_DSTC_ENABLE_QPRC1_OUT_OF_RANGE) || \
2131 (PDL_ON == PDL_DSTC_ENABLE_QPRC1_PC_MATCH) || \
2132 (PDL_ON == PDL_DSTC_ENABLE_QPRC1_PC_MATCH_RC_MATCH) || \
2133 (PDL_ON == PDL_DSTC_ENABLE_QPRC1_PC_RC_MATCH) || \
2134 (PDL_ON == PDL_DSTC_ENABLE_QPRC1_UFL_OFL_Z) || \
2135 (PDL_ON == PDL_DSTC_ENABLE_QPRC2_COUNT_INVERSION) || \
2136 (PDL_ON == PDL_DSTC_ENABLE_QPRC2_OUT_OF_RANGE) || \
2137 (PDL_ON == PDL_DSTC_ENABLE_QPRC2_PC_MATCH) || \
2138 (PDL_ON == PDL_DSTC_ENABLE_QPRC2_PC_MATCH_RC_MATCH) || \
2139 (PDL_ON == PDL_DSTC_ENABLE_QPRC2_PC_RC_MATCH) || \
2140 (PDL_ON == PDL_DSTC_ENABLE_QPRC2_UFL_OFL_Z)
2144 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP1)
2145 #error USB0 EP1 DSTC function not implemented yet!
2147 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP2)
2148 #error USB0 EP2 DSTC function not implemented yet!
2150 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP3)
2151 #error US0B EP3 DSTC function not implemented yet!
2153 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP4)
2154 #error USB0 EP4 DSTC function not implemented yet!
2156 #if (PDL_ON == PDL_DSTC_ENABLE_USB0_EP5)
2157 #error USB0 EP5 DSTC function not implemented yet!
2159 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP1)
2160 #error USB1 EP1 DSTC function not implemented yet!
2162 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP2)
2163 #error USB1 EP2 DSTC function not implemented yet!
2165 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP3)
2166 #error USB1 EP3 DSTC function not implemented yet!
2168 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP4)
2169 #error USB1 EP4 DSTC function not implemented yet!
2171 #if (PDL_ON == PDL_DSTC_ENABLE_USB1_EP5)
2172 #error USB1 EP5 DSTC function not implemented yet!
2175 #if (PDL_ON == PDL_DSTC_ENABLE_WC)
2185 #endif // #if (defined(PDL_PERIPHERAL_DSTC_ACTIVE))