PDL for FM4
Version1.2
Peripheral Driverl Library for FM4
Main Page
Modules
Data Structures
Files
File List
Globals
backup/pdl_user.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright (C) 2013 Spansion LLC. All Rights Reserved.
3
*
4
* This software is owned and published by:
5
* Spansion LLC, 915 DeGuigne Dr. Sunnyvale, CA 94088-3453 ("Spansion").
6
*
7
* BY DOWNLOADING, INSTALLING OR USING THIS SOFTWARE, YOU AGREE TO BE BOUND
8
* BY ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT.
9
*
10
* This software contains source code for use with Spansion
11
* components. This software is licensed by Spansion to be adapted only
12
* for use in systems utilizing Spansion components. Spansion shall not be
13
* responsible for misuse or illegal use of this software for devices not
14
* supported herein. Spansion is providing this software "AS IS" and will
15
* not be responsible for issues arising from incorrect user implementation
16
* of the software.
17
*
18
* SPANSION MAKES NO WARRANTY, EXPRESS OR IMPLIED, ARISING BY LAW OR OTHERWISE,
19
* REGARDING THE SOFTWARE (INCLUDING ANY ACOOMPANYING WRITTEN MATERIALS),
20
* ITS PERFORMANCE OR SUITABILITY FOR YOUR INTENDED USE, INCLUDING,
21
* WITHOUT LIMITATION, THE IMPLIED WARRANTY OF MERCHANTABILITY, THE IMPLIED
22
* WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE OR USE, AND THE IMPLIED
23
* WARRANTY OF NONINFRINGEMENT.
24
* SPANSION SHALL HAVE NO LIABILITY (WHETHER IN CONTRACT, WARRANTY, TORT,
25
* NEGLIGENCE OR OTHERWISE) FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT
26
* LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION,
27
* LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) ARISING FROM USE OR
28
* INABILITY TO USE THE SOFTWARE, INCLUDING, WITHOUT LIMITATION, ANY DIRECT,
29
* INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS OF DATA,
30
* SAVINGS OR PROFITS,
31
* EVEN IF SPANSION HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
32
* YOU ASSUME ALL RESPONSIBILITIES FOR SELECTION OF THE SOFTWARE TO ACHIEVE YOUR
33
* INTENDED RESULTS, AND FOR THE INSTALLATION OF, USE OF, AND RESULTS OBTAINED
34
* FROM, THE SOFTWARE.
35
*
36
* This software may be replicated in part or whole for the licensed use,
37
* with the restriction that this Disclaimer and Copyright notice must be
38
* included with each copy of this software, whether used in part or whole,
39
* at all times.
40
*/
41
/******************************************************************************/
54
#ifndef __PDL_USER_H__
55
#define __PDL_USER_H__
56
57
#include "
pdl_device.h
"
58
59
/******************************************************************************/
60
/* Global pre-processor symbols/macros ('#define') */
61
/******************************************************************************/
62
71
// ADC
72
#define PDL_PERIPHERAL_ENABLE_ADC0 PDL_OFF
73
#define PDL_PERIPHERAL_ENABLE_ADC1 PDL_OFF
74
#define PDL_PERIPHERAL_ENABLE_ADC2 PDL_OFF
75
76
// Base Timers
77
#define PDL_PERIPHERAL_ENABLE_BT0 PDL_OFF
78
#define PDL_PERIPHERAL_ENABLE_BT1 PDL_OFF
79
#define PDL_PERIPHERAL_ENABLE_BT2 PDL_OFF
80
#define PDL_PERIPHERAL_ENABLE_BT3 PDL_OFF
81
#define PDL_PERIPHERAL_ENABLE_BT4 PDL_OFF
82
#define PDL_PERIPHERAL_ENABLE_BT5 PDL_OFF
83
#define PDL_PERIPHERAL_ENABLE_BT6 PDL_OFF
84
#define PDL_PERIPHERAL_ENABLE_BT7 PDL_OFF
85
#define PDL_PERIPHERAL_ENABLE_BT8 PDL_OFF
86
#define PDL_PERIPHERAL_ENABLE_BT9 PDL_OFF
87
#define PDL_PERIPHERAL_ENABLE_BT10 PDL_OFF
88
#define PDL_PERIPHERAL_ENABLE_BT11 PDL_OFF
89
#define PDL_PERIPHERAL_ENABLE_BT12 PDL_OFF
90
#define PDL_PERIPHERAL_ENABLE_BT13 PDL_OFF
91
#define PDL_PERIPHERAL_ENABLE_BT14 PDL_OFF
92
#define PDL_PERIPHERAL_ENABLE_BT15 PDL_OFF
93
94
// CAN
95
#define PDL_PERIPHERAL_ENABLE_CAN0 PDL_OFF
96
#define PDL_PERIPHERAL_ENABLE_CAN1 PDL_OFF
97
98
// Clock
99
#define PDL_PERIPHERAL_ENABLE_CLK PDL_OFF
100
101
// CR Trimming
102
#define PDL_PERIPHERAL_ENABLE_CR PDL_OFF
103
104
// CRC
105
#define PDL_PERIPHERAL_ENABLE_CRC0 PDL_OFF
106
107
// Clock Supervisor
108
#define PDL_PERIPHERAL_ENABLE_CSV PDL_OFF
109
110
// DAC
111
#define PDL_PERIPHERAL_ENABLE_DAC0 PDL_OFF
112
113
// DMA
114
#define PDL_PERIPHERAL_ENABLE_DMA0 PDL_OFF
115
#define PDL_PERIPHERAL_ENABLE_DMA1 PDL_OFF
116
#define PDL_PERIPHERAL_ENABLE_DMA2 PDL_OFF
117
#define PDL_PERIPHERAL_ENABLE_DMA3 PDL_OFF
118
#define PDL_PERIPHERAL_ENABLE_DMA4 PDL_OFF
119
#define PDL_PERIPHERAL_ENABLE_DMA5 PDL_OFF
120
#define PDL_PERIPHERAL_ENABLE_DMA6 PDL_OFF
121
#define PDL_PERIPHERAL_ENABLE_DMA7 PDL_OFF
122
123
// DSTC
124
#define PDL_PERIPHERAL_ENABLE_DSTC PDL_OFF
125
126
// Dual Timer(s)
127
#define PDL_PERIPHERAL_ENABLE_DT0 PDL_OFF
128
129
// Ethernet
130
// Please activate/deactivate in emac_user.h
131
132
// External Interrupts
133
#define PDL_PERIPHERAL_ENABLE_EXINT0 PDL_OFF
134
#define PDL_PERIPHERAL_ENABLE_EXINT1 PDL_OFF
135
#define PDL_PERIPHERAL_ENABLE_EXINT2 PDL_OFF
136
#define PDL_PERIPHERAL_ENABLE_EXINT3 PDL_OFF
137
#define PDL_PERIPHERAL_ENABLE_EXINT4 PDL_OFF
138
#define PDL_PERIPHERAL_ENABLE_EXINT5 PDL_OFF
139
#define PDL_PERIPHERAL_ENABLE_EXINT6 PDL_OFF
140
#define PDL_PERIPHERAL_ENABLE_EXINT7 PDL_OFF
141
#define PDL_PERIPHERAL_ENABLE_EXINT8 PDL_OFF
142
#define PDL_PERIPHERAL_ENABLE_EXINT9 PDL_OFF
143
#define PDL_PERIPHERAL_ENABLE_EXINT10 PDL_OFF
144
#define PDL_PERIPHERAL_ENABLE_EXINT11 PDL_OFF
145
#define PDL_PERIPHERAL_ENABLE_EXINT12 PDL_OFF
146
#define PDL_PERIPHERAL_ENABLE_EXINT13 PDL_OFF
147
#define PDL_PERIPHERAL_ENABLE_EXINT14 PDL_OFF
148
#define PDL_PERIPHERAL_ENABLE_EXINT15 PDL_OFF
149
#define PDL_PERIPHERAL_ENABLE_EXINT16_17_18_19 PDL_OFF
150
#define PDL_PERIPHERAL_ENABLE_EXINT20_21_22_23 PDL_OFF
151
#define PDL_PERIPHERAL_ENABLE_EXINT24_25_26_27 PDL_OFF
152
#define PDL_PERIPHERAL_ENABLE_EXINT28_29_30_31 PDL_OFF
153
154
// External Bus Interface
155
#define PDL_PERIPHERAL_ENABLE_EXTIF PDL_OFF
156
157
// Flash routines
158
#define PDL_PERIPHERAL_ENABLE_MAIN_FLASH PDL_OFF
159
#define PDL_PERIPHERAL_ENABLE_WORK_FLASH PDL_OFF
160
161
// GPIO header inclusion
162
#define PDL_PERIPHERAL_ENABLE_GPIO PDL_OFF
163
164
// HDMI routines
165
#define PDL_PERIPHERAL_ENABLE_HDMI PDL_OFF
166
167
// LPM
168
#define PDL_PERIPHERAL_ENABLE_LPM PDL_OFF
169
170
// Low Voltage Detection
171
#define PDL_PERIPHERAL_ENABLE_LVD PDL_OFF
172
173
// Multi Function Serial Interfaces
174
#define PDL_PERIPHERAL_ENABLE_MFS0 PDL_OFF
175
#define PDL_PERIPHERAL_ENABLE_MFS1 PDL_OFF
176
#define PDL_PERIPHERAL_ENABLE_MFS2 PDL_OFF
177
#define PDL_PERIPHERAL_ENABLE_MFS3 PDL_OFF
178
#define PDL_PERIPHERAL_ENABLE_MFS4 PDL_OFF
179
#define PDL_PERIPHERAL_ENABLE_MFS5 PDL_OFF
180
#define PDL_PERIPHERAL_ENABLE_MFS6 PDL_OFF
181
#define PDL_PERIPHERAL_ENABLE_MFS7 PDL_OFF
182
#define PDL_PERIPHERAL_ENABLE_MFS8 PDL_OFF
183
#define PDL_PERIPHERAL_ENABLE_MFS9 PDL_OFF
184
#define PDL_PERIPHERAL_ENABLE_MFS10 PDL_OFF
185
#define PDL_PERIPHERAL_ENABLE_MFS11 PDL_OFF
186
#define PDL_PERIPHERAL_ENABLE_MFS12 PDL_OFF
187
#define PDL_PERIPHERAL_ENABLE_MFS13 PDL_OFF
188
#define PDL_PERIPHERAL_ENABLE_MFS14 PDL_OFF
189
#define PDL_PERIPHERAL_ENABLE_MFS15 PDL_OFF
190
191
// Multi Function Serial Driver Usage (High or Low)
192
#define PDL_MFS_USE_HL PDL_OFF
193
194
// Multi Function Timer Interfaces
195
#define PDL_PERIPHERAL_ENABLE_MFT0_FRT PDL_OFF
196
#define PDL_PERIPHERAL_ENABLE_MFT0_OCU PDL_OFF
197
#define PDL_PERIPHERAL_ENABLE_MFT0_WFG PDL_OFF
198
#define PDL_PERIPHERAL_ENABLE_MFT0_ICU PDL_OFF
199
#define PDL_PERIPHERAL_ENABLE_MFT0_ADCMP PDL_OFF
200
201
#define PDL_PERIPHERAL_ENABLE_MFT1_FRT PDL_OFF
202
#define PDL_PERIPHERAL_ENABLE_MFT1_OCU PDL_OFF
203
#define PDL_PERIPHERAL_ENABLE_MFT1_WFG PDL_OFF
204
#define PDL_PERIPHERAL_ENABLE_MFT1_ICU PDL_OFF
205
#define PDL_PERIPHERAL_ENABLE_MFT1_ADCMP PDL_OFF
206
207
#define PDL_PERIPHERAL_ENABLE_MFT2_FRT PDL_OFF
208
#define PDL_PERIPHERAL_ENABLE_MFT2_OCU PDL_OFF
209
#define PDL_PERIPHERAL_ENABLE_MFT2_WFG PDL_OFF
210
#define PDL_PERIPHERAL_ENABLE_MFT2_ICU PDL_OFF
211
#define PDL_PERIPHERAL_ENABLE_MFT2_ADCMP PDL_OFF
212
213
// PPG
214
#define PDL_PERIPHERAL_ENABLE_PPG PDL_OFF
215
216
// NMI
217
#define PDL_PERIPHERAL_ENABLE_NMI PDL_OFF
218
219
// Quad Decoder
220
#define PDL_PERIPHERAL_ENABLE_QPRC0 PDL_OFF
221
#define PDL_PERIPHERAL_ENABLE_QPRC1 PDL_OFF
222
#define PDL_PERIPHERAL_ENABLE_QPRC2 PDL_OFF
223
#define PDL_PERIPHERAL_ENABLE_QPRC3 PDL_OFF
224
225
// Reset Cause
226
#define PDL_PERIPHERAL_ENABLE_RESET PDL_OFF
227
228
// Real Time Clock
229
#define PDL_PERIPHERAL_ENABLE_RTC0 PDL_OFF
230
231
// SD Host
232
#define PDL_PERIPHERAL_ENABLE_SD PDL_OFF
233
234
// Unique ID
235
#define PDL_PERIPHERAL_ENABLE_UID PDL_OFF
236
237
// USB
238
#define PDL_PERIPHERAL_ENABLE_USB0_DEVICE PDL_OFF
239
#define PDL_PERIPHERAL_ENABLE_USB0_HOST PDL_OFF
240
#define PDL_PERIPHERAL_ENABLE_USB1_DEVICE PDL_OFF
241
#define PDL_PERIPHERAL_ENABLE_USB1_HOST PDL_OFF
242
243
// USB Device Middle Ware
244
#define PDL_USBDEVICECDCCOM_ENABLED PDL_OFF
245
#define PDL_USBDEVICEHIDCOM_ENABLED PDL_OFF
246
#define PDL_USBDEVICEHIDJOYSTICK_ENABLED PDL_OFF
247
#define PDL_USBDEVICEHIDKEYBOARD_ENABLED PDL_OFF
248
#define PDL_USBDEVICEHIDMOUSE_ENABLED PDL_OFF
249
#define PDL_USBDEVICELIBUSB_ENABLED PDL_OFF
250
#define PDL_USBDEVICEPRINTER_ENABLED PDL_OFF
251
252
// USB Host Middle Ware
253
#define PDL_USBHOSTHIDCOM_ENABLED PDL_OFF
254
#define PDL_USBHOSTHIDKEYBOARD_ENABLED PDL_OFF
255
#define PDL_USBHOSTHIDMOUSE_ENABLED PDL_OFF
256
#define PDL_USBHOSTMASSSTORAGE_ENABLED PDL_OFF
257
258
// Watch Counter
259
#define PDL_PERIPHERAL_ENABLE_WC0 PDL_OFF
260
261
// Watchdog Timers
262
#define PDL_PERIPHERAL_ENABLE_HWWDG PDL_OFF
263
#define PDL_PERIPHERAL_ENABLE_SWWDG PDL_OFF
264
272
// ADC
273
#define PDL_INTERRUPT_ENABLE_ADC0 PDL_OFF
274
#define PDL_INTERRUPT_ENABLE_ADC1 PDL_OFF
275
#define PDL_INTERRUPT_ENABLE_ADC2 PDL_OFF
276
277
// Base Timers
278
#define PDL_INTERRUPT_ENABLE_BT0 PDL_OFF
279
#define PDL_INTERRUPT_ENABLE_BT1 PDL_OFF
280
#define PDL_INTERRUPT_ENABLE_BT2 PDL_OFF
281
#define PDL_INTERRUPT_ENABLE_BT3 PDL_OFF
282
#define PDL_INTERRUPT_ENABLE_BT4 PDL_OFF
283
#define PDL_INTERRUPT_ENABLE_BT5 PDL_OFF
284
#define PDL_INTERRUPT_ENABLE_BT6 PDL_OFF
285
#define PDL_INTERRUPT_ENABLE_BT7 PDL_OFF
286
#define PDL_INTERRUPT_ENABLE_BT8 PDL_OFF
287
#define PDL_INTERRUPT_ENABLE_BT9 PDL_OFF
288
#define PDL_INTERRUPT_ENABLE_BT10 PDL_OFF
289
#define PDL_INTERRUPT_ENABLE_BT11 PDL_OFF
290
#define PDL_INTERRUPT_ENABLE_BT12_13_14_15 PDL_OFF
291
292
// CAN
293
#define PDL_INTERRUPT_ENABLE_CAN0 PDL_OFF
294
#define PDL_INTERRUPT_ENABLE_CAN1 PDL_OFF
295
296
// CRC
297
#define PDL_INTERRUPT_ENABLE_CRC0 PDL_OFF
298
299
// Clock
300
#define PDL_INTERRUPT_ENABLE_CLK PDL_OFF
301
302
// Clock Supervisor
303
#define PDL_INTERRUPT_ENABLE_CSV PDL_OFF
304
305
// DMA
306
#define PDL_INTERRUPT_ENABLE_DMA0 PDL_OFF
307
#define PDL_INTERRUPT_ENABLE_DMA1 PDL_OFF
308
#define PDL_INTERRUPT_ENABLE_DMA2 PDL_OFF
309
#define PDL_INTERRUPT_ENABLE_DMA3 PDL_OFF
310
#define PDL_INTERRUPT_ENABLE_DMA4 PDL_OFF
311
#define PDL_INTERRUPT_ENABLE_DMA5 PDL_OFF
312
#define PDL_INTERRUPT_ENABLE_DMA6 PDL_OFF
313
#define PDL_INTERRUPT_ENABLE_DMA7 PDL_OFF
314
315
// DSTC
316
#define PDL_INTERRUPT_ENABLE_DSTC PDL_OFF
317
318
// Dual Timer(s)
319
#define PDL_INTERRUPT_ENABLE_DT0 PDL_OFF
320
321
// External Interrupts (automatically set by peripheral enable)
322
#if (PDL_PERIPHERAL_ENABLE_EXINT0 == PDL_ON)
323
#define PDL_INTERRUPT_ENABLE_EXINT0 PDL_ON
324
#else
325
#define PDL_INTERRUPT_ENABLE_EXINT0 PDL_OFF
326
#endif
327
#if (PDL_PERIPHERAL_ENABLE_EXINT1 == PDL_ON)
328
#define PDL_INTERRUPT_ENABLE_EXINT1 PDL_ON
329
#else
330
#define PDL_INTERRUPT_ENABLE_EXINT1 PDL_OFF
331
#endif
332
#if (PDL_PERIPHERAL_ENABLE_EXINT2 == PDL_ON)
333
#define PDL_INTERRUPT_ENABLE_EXINT2 PDL_ON
334
#else
335
#define PDL_INTERRUPT_ENABLE_EXINT2 PDL_OFF
336
#endif
337
#if (PDL_PERIPHERAL_ENABLE_EXINT3 == PDL_ON)
338
#define PDL_INTERRUPT_ENABLE_EXINT3 PDL_ON
339
#else
340
#define PDL_INTERRUPT_ENABLE_EXINT3 PDL_OFF
341
#endif
342
#if (PDL_PERIPHERAL_ENABLE_EXINT4 == PDL_ON)
343
#define PDL_INTERRUPT_ENABLE_EXINT4 PDL_ON
344
#else
345
#define PDL_INTERRUPT_ENABLE_EXINT4 PDL_OFF
346
#endif
347
#if (PDL_PERIPHERAL_ENABLE_EXINT5 == PDL_ON)
348
#define PDL_INTERRUPT_ENABLE_EXINT5 PDL_ON
349
#else
350
#define PDL_INTERRUPT_ENABLE_EXINT5 PDL_OFF
351
#endif
352
#if (PDL_PERIPHERAL_ENABLE_EXINT6 == PDL_ON)
353
#define PDL_INTERRUPT_ENABLE_EXINT6 PDL_ON
354
#else
355
#define PDL_INTERRUPT_ENABLE_EXINT6 PDL_OFF
356
#endif
357
#if (PDL_PERIPHERAL_ENABLE_EXINT7 == PDL_ON)
358
#define PDL_INTERRUPT_ENABLE_EXINT7 PDL_ON
359
#else
360
#define PDL_INTERRUPT_ENABLE_EXINT7 PDL_OFF
361
#endif
362
#if (PDL_PERIPHERAL_ENABLE_EXINT8 == PDL_ON)
363
#define PDL_INTERRUPT_ENABLE_EXINT8 PDL_ON
364
#else
365
#define PDL_INTERRUPT_ENABLE_EXINT8 PDL_OFF
366
#endif
367
#if (PDL_PERIPHERAL_ENABLE_EXINT9 == PDL_ON)
368
#define PDL_INTERRUPT_ENABLE_EXINT9 PDL_ON
369
#else
370
#define PDL_INTERRUPT_ENABLE_EXINT9 PDL_OFF
371
#endif
372
#if (PDL_PERIPHERAL_ENABLE_EXINT10 == PDL_ON)
373
#define PDL_INTERRUPT_ENABLE_EXINT10 PDL_ON
374
#else
375
#define PDL_INTERRUPT_ENABLE_EXINT10 PDL_OFF
376
#endif
377
#if (PDL_PERIPHERAL_ENABLE_EXINT11 == PDL_ON)
378
#define PDL_INTERRUPT_ENABLE_EXINT11 PDL_ON
379
#else
380
#define PDL_INTERRUPT_ENABLE_EXINT11 PDL_OFF
381
#endif
382
#if (PDL_PERIPHERAL_ENABLE_EXINT12 == PDL_ON)
383
#define PDL_INTERRUPT_ENABLE_EXINT12 PDL_ON
384
#else
385
#define PDL_INTERRUPT_ENABLE_EXINT12 PDL_OFF
386
#endif
387
#if (PDL_PERIPHERAL_ENABLE_EXINT13 == PDL_ON)
388
#define PDL_INTERRUPT_ENABLE_EXINT13 PDL_ON
389
#else
390
#define PDL_INTERRUPT_ENABLE_EXINT13 PDL_OFF
391
#endif
392
#if (PDL_PERIPHERAL_ENABLE_EXINT14 == PDL_ON)
393
#define PDL_INTERRUPT_ENABLE_EXINT14 PDL_ON
394
#else
395
#define PDL_INTERRUPT_ENABLE_EXINT14 PDL_OFF
396
#endif
397
#if (PDL_PERIPHERAL_ENABLE_EXINT15 == PDL_ON)
398
#define PDL_INTERRUPT_ENABLE_EXINT15 PDL_ON
399
#else
400
#define PDL_INTERRUPT_ENABLE_EXINT15 PDL_OFF
401
#endif
402
#if (PDL_PERIPHERAL_ENABLE_EXINT16_17_18_19 == PDL_ON)
403
#define PDL_INTERRUPT_ENABLE_EXINT16_17_18_19 PDL_ON
404
#else
405
#define PDL_INTERRUPT_ENABLE_EXINT16_17_18_19 PDL_OFF
406
#endif
407
#if (PDL_PERIPHERAL_ENABLE_EXINT20_21_22_23 == PDL_ON)
408
#define PDL_INTERRUPT_ENABLE_EXINT20_21_22_23 PDL_ON
409
#else
410
#define PDL_INTERRUPT_ENABLE_EXINT20_21_22_23 PDL_OFF
411
#endif
412
#if (PDL_PERIPHERAL_ENABLE_EXINT24_25_26_27 == PDL_ON)
413
#define PDL_INTERRUPT_ENABLE_EXINT24_25_26_27 PDL_ON
414
#else
415
#define PDL_INTERRUPT_ENABLE_EXINT24_25_26_27 PDL_OFF
416
#endif
417
#if (PDL_PERIPHERAL_ENABLE_EXINT28_29_30_31 == PDL_ON)
418
#define PDL_INTERRUPT_ENABLE_EXINT28_29_30_31 PDL_ON
419
#else
420
#define PDL_INTERRUPT_ENABLE_EXINT28_29_30_31 PDL_OFF
421
#endif
422
423
// External Bus Interface
424
#define PDL_INTERRUPT_ENABLE_EXTIF PDL_OFF
425
426
// HDMI routines
427
#define PDL_INTERRUPT_ENABLE_HDMI PDL_OFF
428
429
// LCD
430
#define PDL_INTERRUPT_ENABLE_LCD PDL_OFF
431
432
// Low Voltage Detection
433
#define PDL_INTERRUPT_ENABLE_LVD PDL_OFF
434
435
// Multi Function Serial Interfaces
436
#define PDL_INTERRUPT_ENABLE_MFS0 PDL_OFF
437
#define PDL_INTERRUPT_ENABLE_MFS1 PDL_OFF
438
#define PDL_INTERRUPT_ENABLE_MFS2 PDL_OFF
439
#define PDL_INTERRUPT_ENABLE_MFS3 PDL_OFF
440
#define PDL_INTERRUPT_ENABLE_MFS4 PDL_OFF
441
#define PDL_INTERRUPT_ENABLE_MFS5 PDL_OFF
442
#define PDL_INTERRUPT_ENABLE_MFS6 PDL_OFF
443
#define PDL_INTERRUPT_ENABLE_MFS7 PDL_OFF
444
#define PDL_INTERRUPT_ENABLE_MFS8 PDL_OFF
445
#define PDL_INTERRUPT_ENABLE_MFS9 PDL_OFF
446
#define PDL_INTERRUPT_ENABLE_MFS10 PDL_OFF
447
#define PDL_INTERRUPT_ENABLE_MFS11 PDL_OFF
448
#define PDL_INTERRUPT_ENABLE_MFS12 PDL_OFF
449
#define PDL_INTERRUPT_ENABLE_MFS13 PDL_OFF
450
#define PDL_INTERRUPT_ENABLE_MFS14 PDL_OFF
451
#define PDL_INTERRUPT_ENABLE_MFS15 PDL_OFF
452
453
// Multi Function Timer Interfaces
454
#define PDL_INTERRUPT_ENABLE_MFT0_FRT PDL_OFF
455
#define PDL_INTERRUPT_ENABLE_MFT0_OCU PDL_OFF
456
#define PDL_INTERRUPT_ENABLE_MFT0_WFG PDL_OFF
457
#define PDL_INTERRUPT_ENABLE_MFT0_ICU PDL_OFF
458
459
#define PDL_INTERRUPT_ENABLE_MFT1_FRT PDL_OFF
460
#define PDL_INTERRUPT_ENABLE_MFT1_OCU PDL_OFF
461
#define PDL_INTERRUPT_ENABLE_MFT1_WFG PDL_OFF
462
#define PDL_INTERRUPT_ENABLE_MFT1_ICU PDL_OFF
463
464
#define PDL_INTERRUPT_ENABLE_MFT2_FRT PDL_OFF
465
#define PDL_INTERRUPT_ENABLE_MFT2_OCU PDL_OFF
466
#define PDL_INTERRUPT_ENABLE_MFT2_WFG PDL_OFF
467
#define PDL_INTERRUPT_ENABLE_MFT2_ICU PDL_OFF
468
469
// NMI
470
#define PDL_INTERRUPT_ENABLE_NMI PDL_OFF
471
472
// PPG
473
#define PDL_INTERRUPT_ENABLE_PPG00_02_04 PDL_OFF
474
#define PDL_INTERRUPT_ENABLE_PPG08_10_12 PDL_OFF
475
#define PDL_INTERRUPT_ENABLE_PPG16_18_20 PDL_OFF
476
477
// Quad Decoder
478
#define PDL_INTERRUPT_ENABLE_QPRC0 PDL_OFF
479
#define PDL_INTERRUPT_ENABLE_QPRC1 PDL_OFF
480
#define PDL_INTERRUPT_ENABLE_QPRC2 PDL_OFF
481
#define PDL_INTERRUPT_ENABLE_QPRC3 PDL_OFF
482
483
// Real Time Clock
484
#define PDL_INTERRUPT_ENABLE_RTC0 PDL_OFF
485
486
// SD Host
487
#define PDL_INTERRUPT_ENABLE_SD PDL_OFF
488
489
// USB
490
#define PDL_INTERRUPT_ENABLE_USB0_DEVICE PDL_OFF
491
#define PDL_INTERRUPT_ENABLE_USB0_HOST PDL_OFF
492
#define PDL_INTERRUPT_ENABLE_USB1_DEVICE PDL_OFF
493
#define PDL_INTERRUPT_ENABLE_USB1_HOST PDL_OFF
494
495
// Watch Counter
496
#define PDL_INTERRUPT_ENABLE_WC0 PDL_OFF
497
498
// Watchdog Timers
499
#define PDL_INTERRUPT_ENABLE_HWWDG PDL_OFF
500
#define PDL_INTERRUPT_ENABLE_SWWDG PDL_OFF
501
508
// Analog Digital Converters
509
#define PDL_IRQ_LEVEL_ADC0 15u
510
#define PDL_IRQ_LEVEL_ADC1 15u
511
#define PDL_IRQ_LEVEL_ADC2 15u
512
513
// Base Timers
514
#define PDL_IRQ_LEVEL_BT0 15u
515
#define PDL_IRQ_LEVEL_BT1 15u
516
#define PDL_IRQ_LEVEL_BT2 15u
517
#define PDL_IRQ_LEVEL_BT3 15u
518
#define PDL_IRQ_LEVEL_BT4 15u
519
#define PDL_IRQ_LEVEL_BT5 15u
520
#define PDL_IRQ_LEVEL_BT6 15u
521
#define PDL_IRQ_LEVEL_BT7 15u
522
#define PDL_IRQ_LEVEL_BT8 15u
523
#define PDL_IRQ_LEVEL_BT9 15u
524
#define PDL_IRQ_LEVEL_BT10 15u
525
#define PDL_IRQ_LEVEL_BT11 15u
526
#define PDL_IRQ_LEVEL_BT12_13_14_15 15u
527
528
// CAN
529
#define PDL_IRQ_LEVEL_CAN0 15u
530
#define PDL_IRQ_LEVEL_CAN1 15u
531
532
// Watch Counter / Clock Stabilization Irq
533
#define PDL_IRQ_LEVEL_CLK_WC0 15u
534
535
// Clock Supervisor
536
#define PDL_IRQ_LEVEL_CSV 15u
537
538
// DMA end transfer interrupts
539
#define PDL_DMA0_LEVEL 15u
540
#define PDL_DMA1_LEVEL 15u
541
#define PDL_DMA2_LEVEL 15u
542
#define PDL_DMA3_LEVEL 15u
543
#define PDL_DMA4_LEVEL 15u
544
#define PDL_DMA5_LEVEL 15u
545
#define PDL_DMA6_LEVEL 15u
546
#define PDL_DMA7_LEVEL 15u
547
548
// DSTC
549
#define PDL_IRQ_LEVEL_DSTC 15u
550
551
// Dual Timer(s)
552
#define PDL_IRQ_LEVEL_DT0 15u
553
554
// Ethernet
555
// Please set IRQ level in emac_user.h
556
557
// External Bus Interface
558
#define PDL_IRQ_LEVEL_EXTIF 15u
559
560
// External Interrupts + NMI
561
#define PDL_IRQ_LEVEL_EXINT0 15u
562
#define PDL_IRQ_LEVEL_EXINT1 15u
563
#define PDL_IRQ_LEVEL_EXINT2 15u
564
#define PDL_IRQ_LEVEL_EXINT3 15u
565
#define PDL_IRQ_LEVEL_EXINT4 15u
566
#define PDL_IRQ_LEVEL_EXINT5 15u
567
#define PDL_IRQ_LEVEL_EXINT6 15u
568
#define PDL_IRQ_LEVEL_EXINT7 15u
569
#define PDL_IRQ_LEVEL_EXINT8 15u
570
#define PDL_IRQ_LEVEL_EXINT9 15u
571
#define PDL_IRQ_LEVEL_EXINT10 15u
572
#define PDL_IRQ_LEVEL_EXINT11 15u
573
#define PDL_IRQ_LEVEL_EXINT12 15u
574
#define PDL_IRQ_LEVEL_EXINT13 15u
575
#define PDL_IRQ_LEVEL_EXINT14 15u
576
#define PDL_IRQ_LEVEL_EXINT15 15u
577
#define PDL_IRQ_LEVEL_EXINT16_17_18_19 15u
578
#define PDL_IRQ_LEVEL_EXINT20_21_22_23 15u
579
#define PDL_IRQ_LEVEL_EXINT24_25_26_27 15u
580
#define PDL_IRQ_LEVEL_EXINT28_29_30_31 15u
581
582
// Low Voltage Detection Interrupt
583
#define PDL_IRQ_LEVEL_LVD 15u
584
585
// Multi Function Serial Interfaces
586
#define PDL_IRQ_LEVEL_MFS0_TX 15u
587
#define PDL_IRQ_LEVEL_MFS0_RX 15u
588
#define PDL_IRQ_LEVEL_MFS1_TX 15u
589
#define PDL_IRQ_LEVEL_MFS1_RX 15u
590
#define PDL_IRQ_LEVEL_MFS2_TX 15u
591
#define PDL_IRQ_LEVEL_MFS2_RX 15u
592
#define PDL_IRQ_LEVEL_MFS3_TX 15u
593
#define PDL_IRQ_LEVEL_MFS3_RX 15u
594
#define PDL_IRQ_LEVEL_MFS4_TX 15u
595
#define PDL_IRQ_LEVEL_MFS4_RX 15u
596
#define PDL_IRQ_LEVEL_MFS5_TX 15u
597
#define PDL_IRQ_LEVEL_MFS5_RX 15u
598
#define PDL_IRQ_LEVEL_MFS6_TX 15u
599
#define PDL_IRQ_LEVEL_MFS6_RX 15u
600
#define PDL_IRQ_LEVEL_MFS7_TX 15u
601
#define PDL_IRQ_LEVEL_MFS7_RX 15u
602
#define PDL_IRQ_LEVEL_MFS8_TX 15u
603
#define PDL_IRQ_LEVEL_MFS8_RX 15u
604
#define PDL_IRQ_LEVEL_MFS9_TX 15u
605
#define PDL_IRQ_LEVEL_MFS9_RX 15u
606
#define PDL_IRQ_LEVEL_MFS10_TX 15u
607
#define PDL_IRQ_LEVEL_MFS10_RX 15u
608
#define PDL_IRQ_LEVEL_MFS11_TX 15u
609
#define PDL_IRQ_LEVEL_MFS11_RX 15u
610
#define PDL_IRQ_LEVEL_MFS12_TX 15u
611
#define PDL_IRQ_LEVEL_MFS12_RX 15u
612
#define PDL_IRQ_LEVEL_MFS13_TX 15u
613
#define PDL_IRQ_LEVEL_MFS13_RX 15u
614
#define PDL_IRQ_LEVEL_MFS14_TX 15u
615
#define PDL_IRQ_LEVEL_MFS14_RX 15u
616
#define PDL_IRQ_LEVEL_MFS15_TX 15u
617
#define PDL_IRQ_LEVEL_MFS15_RX 15u
618
619
// Multi Function Timer Interrupts
620
#define PDL_IRQ_LEVEL_MFT0_FRT 15u
621
#define PDL_IRQ_LEVEL_MFT0_OCU 15u
622
#define PDL_IRQ_LEVEL_MFT0_WFG 15u
623
#define PDL_IRQ_LEVEL_MFT0_ICU 15u
624
625
#define PDL_IRQ_LEVEL_MFT1_FRT 15u
626
#define PDL_IRQ_LEVEL_MFT1_OCU 15u
627
#define PDL_IRQ_LEVEL_MFT1_WFG 15u
628
#define PDL_IRQ_LEVEL_MFT1_ICU 15u
629
630
#define PDL_IRQ_LEVEL_MFT2_FRT 15u
631
#define PDL_IRQ_LEVEL_MFT2_OCU 15u
632
#define PDL_IRQ_LEVEL_MFT2_WFG 15u
633
#define PDL_IRQ_LEVEL_MFT2_ICU 15u
634
635
// NMI
636
#define PDL_IRQ_LEVEL_NMI 15u
637
638
// PPG Interrupts
639
#define PDL_IRQ_LEVEL_PPG00_02_04 15u
640
#define PDL_IRQ_LEVEL_PPG08_10_12 15u
641
#define PDL_IRQ_LEVEL_PPG16_18_20 15u
642
643
// Quad Decoder and Revolution Counter
644
#define PDL_IRQ_LEVEL_QPRC0 15u
645
#define PDL_IRQ_LEVEL_QPRC1 15u
646
#define PDL_IRQ_LEVEL_QPRC2 15u
647
#define PDL_IRQ_LEVEL_QPRC3 15u
648
649
// Real Time Clock
650
#define PDL_IRQ_LEVEL_RTC0 15u
651
652
// SD Host
653
#define PDL_IRQ_LEVEL_SD 15u
654
655
// USB
656
#define PDL_IRQ_LEVEL_USB0 15u
657
#define PDL_IRQ_LEVEL_USB1 15u
658
659
// Watchdog Timers
660
#define PDL_IRQ_LEVEL_HWWDG 15u
661
#define PDL_IRQ_LEVEL_SWWDG 15u
662
669
// ADC
670
#define PDL_DSTC_ENABLE_ADC0_PRIO PDL_OFF
671
#define PDL_DSTC_ENABLE_ADC0_SCAN PDL_OFF
672
#define PDL_DSTC_ENABLE_ADC1_PRIO PDL_OFF
673
#define PDL_DSTC_ENABLE_ADC1_SCAN PDL_OFF
674
#define PDL_DSTC_ENABLE_ADC2_PRIO PDL_OFF
675
#define PDL_DSTC_ENABLE_ADC2_SCAN PDL_OFF
676
677
// BT
678
#define PDL_DSTC_ENABLE_BT0_IRQ0 PDL_OFF
679
#define PDL_DSTC_ENABLE_BT0_IRQ1 PDL_OFF
680
#define PDL_DSTC_ENABLE_BT1_IRQ0 PDL_OFF
681
#define PDL_DSTC_ENABLE_BT1_IRQ1 PDL_OFF
682
#define PDL_DSTC_ENABLE_BT2_IRQ0 PDL_OFF
683
#define PDL_DSTC_ENABLE_BT2_IRQ1 PDL_OFF
684
#define PDL_DSTC_ENABLE_BT3_IRQ0 PDL_OFF
685
#define PDL_DSTC_ENABLE_BT3_IRQ1 PDL_OFF
686
#define PDL_DSTC_ENABLE_BT4_IRQ0 PDL_OFF
687
#define PDL_DSTC_ENABLE_BT4_IRQ1 PDL_OFF
688
#define PDL_DSTC_ENABLE_BT5_IRQ0 PDL_OFF
689
#define PDL_DSTC_ENABLE_BT5_IRQ1 PDL_OFF
690
#define PDL_DSTC_ENABLE_BT6_IRQ0 PDL_OFF
691
#define PDL_DSTC_ENABLE_BT6_IRQ1 PDL_OFF
692
#define PDL_DSTC_ENABLE_BT7_IRQ0 PDL_OFF
693
#define PDL_DSTC_ENABLE_BT7_IRQ1 PDL_OFF
694
#define PDL_DSTC_ENABLE_BT8_IRQ0 PDL_OFF
695
#define PDL_DSTC_ENABLE_BT8_IRQ1 PDL_OFF
696
#define PDL_DSTC_ENABLE_BT9_IRQ0 PDL_OFF
697
#define PDL_DSTC_ENABLE_BT9_IRQ1 PDL_OFF
698
#define PDL_DSTC_ENABLE_BT10_IRQ0 PDL_OFF
699
#define PDL_DSTC_ENABLE_BT10_IRQ1 PDL_OFF
700
#define PDL_DSTC_ENABLE_BT11_IRQ0 PDL_OFF
701
#define PDL_DSTC_ENABLE_BT11_IRQ1 PDL_OFF
702
#define PDL_DSTC_ENABLE_BT12_IRQ0 PDL_OFF
703
#define PDL_DSTC_ENABLE_BT12_IRQ1 PDL_OFF
704
#define PDL_DSTC_ENABLE_BT13_IRQ0 PDL_OFF
705
#define PDL_DSTC_ENABLE_BT13_IRQ1 PDL_OFF
706
#define PDL_DSTC_ENABLE_BT14_IRQ0 PDL_OFF
707
#define PDL_DSTC_ENABLE_BT14_IRQ1 PDL_OFF
708
#define PDL_DSTC_ENABLE_BT15_IRQ0 PDL_OFF
709
#define PDL_DSTC_ENABLE_BT15_IRQ1 PDL_OFF
710
711
// EXINT
712
#define PDL_DSTC_ENABLE_EXTINT0 PDL_OFF
713
#define PDL_DSTC_ENABLE_EXTINT1 PDL_OFF
714
#define PDL_DSTC_ENABLE_EXTINT2 PDL_OFF
715
#define PDL_DSTC_ENABLE_EXTINT3 PDL_OFF
716
#define PDL_DSTC_ENABLE_EXTINT4 PDL_OFF
717
#define PDL_DSTC_ENABLE_EXTINT5 PDL_OFF
718
#define PDL_DSTC_ENABLE_EXTINT6 PDL_OFF
719
#define PDL_DSTC_ENABLE_EXTINT7 PDL_OFF
720
#define PDL_DSTC_ENABLE_EXTINT8 PDL_OFF
721
#define PDL_DSTC_ENABLE_EXTINT9 PDL_OFF
722
#define PDL_DSTC_ENABLE_EXTINT10 PDL_OFF
723
#define PDL_DSTC_ENABLE_EXTINT11 PDL_OFF
724
#define PDL_DSTC_ENABLE_EXTINT12 PDL_OFF
725
#define PDL_DSTC_ENABLE_EXTINT13 PDL_OFF
726
#define PDL_DSTC_ENABLE_EXTINT14 PDL_OFF
727
#define PDL_DSTC_ENABLE_EXTINT15 PDL_OFF
728
#define PDL_DSTC_ENABLE_EXTINT16 PDL_OFF
729
#define PDL_DSTC_ENABLE_EXTINT17 PDL_OFF
730
#define PDL_DSTC_ENABLE_EXTINT18 PDL_OFF
731
#define PDL_DSTC_ENABLE_EXTINT19 PDL_OFF
732
#define PDL_DSTC_ENABLE_EXTINT20 PDL_OFF
733
#define PDL_DSTC_ENABLE_EXTINT21 PDL_OFF
734
#define PDL_DSTC_ENABLE_EXTINT22 PDL_OFF
735
#define PDL_DSTC_ENABLE_EXTINT23 PDL_OFF
736
#define PDL_DSTC_ENABLE_EXTINT24 PDL_OFF
737
#define PDL_DSTC_ENABLE_EXTINT25 PDL_OFF
738
#define PDL_DSTC_ENABLE_EXTINT26 PDL_OFF
739
#define PDL_DSTC_ENABLE_EXTINT27 PDL_OFF
740
#define PDL_DSTC_ENABLE_EXTINT28 PDL_OFF
741
#define PDL_DSTC_ENABLE_EXTINT29 PDL_OFF
742
#define PDL_DSTC_ENABLE_EXTINT30 PDL_OFF
743
#define PDL_DSTC_ENABLE_EXTINT31 PDL_OFF
744
745
// MFS
746
#define PDL_DSTC_ENABLE_MFS0_RX PDL_OFF
747
#define PDL_DSTC_ENABLE_MFS0_TX PDL_OFF
748
#define PDL_DSTC_ENABLE_MFS1_RX PDL_OFF
749
#define PDL_DSTC_ENABLE_MFS1_TX PDL_OFF
750
#define PDL_DSTC_ENABLE_MFS2_RX PDL_OFF
751
#define PDL_DSTC_ENABLE_MFS2_TX PDL_OFF
752
#define PDL_DSTC_ENABLE_MFS3_RX PDL_OFF
753
#define PDL_DSTC_ENABLE_MFS3_TX PDL_OFF
754
#define PDL_DSTC_ENABLE_MFS4_RX PDL_OFF
755
#define PDL_DSTC_ENABLE_MFS4_TX PDL_OFF
756
#define PDL_DSTC_ENABLE_MFS5_RX PDL_OFF
757
#define PDL_DSTC_ENABLE_MFS5_TX PDL_OFF
758
#define PDL_DSTC_ENABLE_MFS6_RX PDL_OFF
759
#define PDL_DSTC_ENABLE_MFS6_TX PDL_OFF
760
#define PDL_DSTC_ENABLE_MFS7_RX PDL_OFF
761
#define PDL_DSTC_ENABLE_MFS7_TX PDL_OFF
762
#define PDL_DSTC_ENABLE_MFS8_RX PDL_OFF
763
#define PDL_DSTC_ENABLE_MFS8_TX PDL_OFF
764
#define PDL_DSTC_ENABLE_MFS9_RX PDL_OFF
765
#define PDL_DSTC_ENABLE_MFS9_TX PDL_OFF
766
#define PDL_DSTC_ENABLE_MFS10_RX PDL_OFF
767
#define PDL_DSTC_ENABLE_MFS10_TX PDL_OFF
768
#define PDL_DSTC_ENABLE_MFS11_RX PDL_OFF
769
#define PDL_DSTC_ENABLE_MFS11_TX PDL_OFF
770
#define PDL_DSTC_ENABLE_MFS12_RX PDL_OFF
771
#define PDL_DSTC_ENABLE_MFS12_TX PDL_OFF
772
#define PDL_DSTC_ENABLE_MFS13_RX PDL_OFF
773
#define PDL_DSTC_ENABLE_MFS13_TX PDL_OFF
774
#define PDL_DSTC_ENABLE_MFS14_RX PDL_OFF
775
#define PDL_DSTC_ENABLE_MFS14_TX PDL_OFF
776
#define PDL_DSTC_ENABLE_MFS15_RX PDL_OFF
777
#define PDL_DSTC_ENABLE_MFS15_TX PDL_OFF
778
779
// MFT
780
#define PDL_DSTC_ENABLE_MFT0_FRT0_PEAK PDL_OFF
781
#define PDL_DSTC_ENABLE_MFT0_FRT0_ZERO PDL_OFF
782
#define PDL_DSTC_ENABLE_MFT0_FRT1_PEAK PDL_OFF
783
#define PDL_DSTC_ENABLE_MFT0_FRT1_ZERO PDL_OFF
784
#define PDL_DSTC_ENABLE_MFT0_FRT2_PEAK PDL_OFF
785
#define PDL_DSTC_ENABLE_MFT0_FRT2_ZERO PDL_OFF
786
#define PDL_DSTC_ENABLE_MFT0_ICU0 PDL_OFF
787
#define PDL_DSTC_ENABLE_MFT0_ICU1 PDL_OFF
788
#define PDL_DSTC_ENABLE_MFT0_ICU2 PDL_OFF
789
#define PDL_DSTC_ENABLE_MFT0_ICU3 PDL_OFF
790
#define PDL_DSTC_ENABLE_MFT0_OCU0 PDL_OFF
791
#define PDL_DSTC_ENABLE_MFT0_OCU1 PDL_OFF
792
#define PDL_DSTC_ENABLE_MFT0_OCU2 PDL_OFF
793
#define PDL_DSTC_ENABLE_MFT0_OCU3 PDL_OFF
794
#define PDL_DSTC_ENABLE_MFT0_OCU4 PDL_OFF
795
#define PDL_DSTC_ENABLE_MFT0_OCU5 PDL_OFF
796
#define PDL_DSTC_ENABLE_MFT0_WFG10 PDL_OFF
797
#define PDL_DSTC_ENABLE_MFT0_WFG32 PDL_OFF
798
#define PDL_DSTC_ENABLE_MFT0_WFG54 PDL_OFF
799
#define PDL_DSTC_ENABLE_MFT1_FRT0_PEAK PDL_OFF
800
#define PDL_DSTC_ENABLE_MFT1_FRT0_ZERO PDL_OFF
801
#define PDL_DSTC_ENABLE_MFT1_FRT1_PEAK PDL_OFF
802
#define PDL_DSTC_ENABLE_MFT1_FRT1_ZERO PDL_OFF
803
#define PDL_DSTC_ENABLE_MFT1_FRT2_PEAK PDL_OFF
804
#define PDL_DSTC_ENABLE_MFT1_FRT2_ZERO PDL_OFF
805
#define PDL_DSTC_ENABLE_MFT1_ICU0 PDL_OFF
806
#define PDL_DSTC_ENABLE_MFT1_ICU1 PDL_OFF
807
#define PDL_DSTC_ENABLE_MFT1_ICU2 PDL_OFF
808
#define PDL_DSTC_ENABLE_MFT1_ICU3 PDL_OFF
809
#define PDL_DSTC_ENABLE_MFT1_OCU0 PDL_OFF
810
#define PDL_DSTC_ENABLE_MFT1_OCU1 PDL_OFF
811
#define PDL_DSTC_ENABLE_MFT1_OCU2 PDL_OFF
812
#define PDL_DSTC_ENABLE_MFT1_OCU3 PDL_OFF
813
#define PDL_DSTC_ENABLE_MFT1_OCU4 PDL_OFF
814
#define PDL_DSTC_ENABLE_MFT1_OCU5 PDL_OFF
815
#define PDL_DSTC_ENABLE_MFT1_WFG10 PDL_OFF
816
#define PDL_DSTC_ENABLE_MFT1_WFG32 PDL_OFF
817
#define PDL_DSTC_ENABLE_MFT1_WFG54 PDL_OFF
818
#define PDL_DSTC_ENABLE_MFT2_FRT0_PEAK PDL_OFF
819
#define PDL_DSTC_ENABLE_MFT2_FRT0_ZERO PDL_OFF
820
#define PDL_DSTC_ENABLE_MFT2_FRT1_PEAK PDL_OFF
821
#define PDL_DSTC_ENABLE_MFT2_FRT1_ZERO PDL_OFF
822
#define PDL_DSTC_ENABLE_MFT2_FRT2_PEAK PDL_OFF
823
#define PDL_DSTC_ENABLE_MFT2_FRT2_ZERO PDL_OFF
824
#define PDL_DSTC_ENABLE_MFT2_ICU0 PDL_OFF
825
#define PDL_DSTC_ENABLE_MFT2_ICU1 PDL_OFF
826
#define PDL_DSTC_ENABLE_MFT2_ICU2 PDL_OFF
827
#define PDL_DSTC_ENABLE_MFT2_ICU3 PDL_OFF
828
#define PDL_DSTC_ENABLE_MFT2_OCU0 PDL_OFF
829
#define PDL_DSTC_ENABLE_MFT2_OCU1 PDL_OFF
830
#define PDL_DSTC_ENABLE_MFT2_OCU2 PDL_OFF
831
#define PDL_DSTC_ENABLE_MFT2_OCU3 PDL_OFF
832
#define PDL_DSTC_ENABLE_MFT2_OCU4 PDL_OFF
833
#define PDL_DSTC_ENABLE_MFT2_OCU5 PDL_OFF
834
#define PDL_DSTC_ENABLE_MFT2_WFG10 PDL_OFF
835
#define PDL_DSTC_ENABLE_MFT2_WFG32 PDL_OFF
836
#define PDL_DSTC_ENABLE_MFT2_WFG54 PDL_OFF
837
838
// PPG
839
#define PDL_DSTC_ENABLE_PPG0 PDL_OFF
840
#define PDL_DSTC_ENABLE_PPG2 PDL_OFF
841
#define PDL_DSTC_ENABLE_PPG4 PDL_OFF
842
#define PDL_DSTC_ENABLE_PPG8 PDL_OFF
843
#define PDL_DSTC_ENABLE_PPG10 PDL_OFF
844
#define PDL_DSTC_ENABLE_PPG12 PDL_OFF
845
#define PDL_DSTC_ENABLE_PPG16 PDL_OFF
846
#define PDL_DSTC_ENABLE_PPG18 PDL_OFF
847
#define PDL_DSTC_ENABLE_PPG20 PDL_OFF
848
849
// QPRC
850
#define PDL_DSTC_ENABLE_QPRC0_COUNT_INVERSION PDL_OFF
851
#define PDL_DSTC_ENABLE_QPRC0_OUT_OF_RANGE PDL_OFF
852
#define PDL_DSTC_ENABLE_QPRC0_PC_MATCH PDL_OFF
853
#define PDL_DSTC_ENABLE_QPRC0_PC_MATCH_RC_MATCH PDL_OFF
854
#define PDL_DSTC_ENABLE_QPRC0_PC_RC_MATCH PDL_OFF
855
#define PDL_DSTC_ENABLE_QPRC0_UFL_OFL_Z PDL_OFF
856
#define PDL_DSTC_ENABLE_QPRC1_COUNT_INVERSION PDL_OFF
857
#define PDL_DSTC_ENABLE_QPRC1_OUT_OF_RANGE PDL_OFF
858
#define PDL_DSTC_ENABLE_QPRC1_PC_MATCH PDL_OFF
859
#define PDL_DSTC_ENABLE_QPRC1_PC_MATCH_RC_MATCH PDL_OFF
860
#define PDL_DSTC_ENABLE_QPRC1_PC_RC_MATCH PDL_OFF
861
#define PDL_DSTC_ENABLE_QPRC1_UFL_OFL_Z PDL_OFF
862
#define PDL_DSTC_ENABLE_QPRC2_COUNT_INVERSION PDL_OFF
863
#define PDL_DSTC_ENABLE_QPRC2_OUT_OF_RANGE PDL_OFF
864
#define PDL_DSTC_ENABLE_QPRC2_PC_MATCH PDL_OFF
865
#define PDL_DSTC_ENABLE_QPRC2_PC_MATCH_RC_MATCH PDL_OFF
866
#define PDL_DSTC_ENABLE_QPRC2_PC_RC_MATCH PDL_OFF
867
#define PDL_DSTC_ENABLE_QPRC2_UFL_OFL_Z PDL_OFF
868
#define PDL_DSTC_ENABLE_QPRC3_COUNT_INVERSION PDL_OFF
869
#define PDL_DSTC_ENABLE_QPRC3_OUT_OF_RANGE PDL_OFF
870
#define PDL_DSTC_ENABLE_QPRC3_PC_MATCH PDL_OFF
871
#define PDL_DSTC_ENABLE_QPRC3_PC_MATCH_RC_MATCH PDL_OFF
872
#define PDL_DSTC_ENABLE_QPRC3_PC_RC_MATCH PDL_OFF
873
#define PDL_DSTC_ENABLE_QPRC3_UFL_OFL_Z PDL_OFF
874
875
// USB
876
#define PDL_DSTC_ENABLE_USB0_EP1 PDL_OFF
877
#define PDL_DSTC_ENABLE_USB0_EP2 PDL_OFF
878
#define PDL_DSTC_ENABLE_USB0_EP3 PDL_OFF
879
#define PDL_DSTC_ENABLE_USB0_EP4 PDL_OFF
880
#define PDL_DSTC_ENABLE_USB0_EP5 PDL_OFF
881
#define PDL_DSTC_ENABLE_USB1_EP1 PDL_OFF
882
#define PDL_DSTC_ENABLE_USB1_EP2 PDL_OFF
883
#define PDL_DSTC_ENABLE_USB1_EP3 PDL_OFF
884
#define PDL_DSTC_ENABLE_USB1_EP4 PDL_OFF
885
#define PDL_DSTC_ENABLE_USB1_EP5 PDL_OFF
886
887
// WC
888
#define PDL_DSTC_ENABLE_WC PDL_OFF
889
890
/******************************************************************************
891
** User hardware setting
892
**
893
** Not all settings can be done via device definition. This section allows the
894
** user to adjust the library for individual device settings, such e.g. number
895
** of available ADC channels, which depend on the package size, etc.
896
**
897
** The PDL_ON/PDL_OFF parameters are checked in pdl.h!
898
**
899
******************************************************************************/
900
907
#define PDL_ADC_CHANNELS 32u
908
916
#define PDL_DMA_CHANNELS 8u
917
922
#define PDL_DSTC_CHANNELS 128u
923
928
#define PDL_BACK_UP_REGISTERS 32u
929
934
#define DEBUG_PRINT
935
936
#endif // __PDL_USER_H__
937
938
/******************************************************************************/
939
/* EOF (not truncated) */
940
/******************************************************************************/
PDL_1_2
template
source
backup
pdl_user.h
Generated on Wed May 28 2014 09:28:11 for PDL for FM4 by
1.8.3.1