1 /***********************************************************************************************//**
2  * \copyright
3  * Copyright 2018-2022 Cypress Semiconductor Corporation (an Infineon company) or
4  * an affiliate of Cypress Semiconductor Corporation
5  *
6  * SPDX-License-Identifier: Apache-2.0
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *     http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  **************************************************************************************************/
20 
21 #pragma once
22 
23 #if defined(CY_USING_HAL)
24 #include "cyhal_pin_package.h"
25 #endif
26 /* CAT4 and CAT5 do not have configurators so the BSP defines pins in a non-generated header */
27 #if defined(COMPONENT_CAT4)
28 #include "cybsp_pins.h"
29 #else
30 #include "cycfg.h"
31 #endif
32 
33 #if defined(__cplusplus)
34 extern "C" {
35 #endif
36 
37 /**
38  * \addtogroup group_bsp_pins Pin Mappings
39  * \{
40  * Macro definitions for common peripheral pins on the board.
41  */
42 
43 #if defined(CYBSP_USER_LED)
44 /**
45  * \addtogroup group_bsp_pins_led LED Pins
46  * \{
47  * Pins connected to user LEDs on the board.
48  */
49 
50 #ifdef CYBSP_LED_RGB_RED
51 /** RGB LED - Red \def CYBSP_LED_RGB_RED
52  */
53 #endif
54 #ifdef CYBSP_LED_RGB_GREEN
55 /** RGB LED - Green \def CYBSP_LED_RGB_GREEN
56  */
57 #endif
58 #ifdef CYBSP_LED_RGB_BLUE
59 /** RGB LED - Blue \def CYBSP_LED_RGB_BLUE
60  */
61 #endif
62 #ifdef CYBSP_USER_LED
63 /** User LED \def CYBSP_USER_LED
64  */
65 #endif
66 #ifdef CYBSP_USER_LED1
67 /** User LED1 \def CYBSP_USER_LED1
68  */
69 #endif
70 #ifdef CYBSP_USER_LED2
71 /** User LED2 \def CYBSP_USER_LED2
72  */
73 #endif
74 #ifdef CYBSP_USER_LED3
75 /** User LED3 \def CYBSP_USER_LED3
76  */
77 #endif
78 #ifdef CYBSP_USER_LED4
79 /** User LED 4 \def CYBSP_USER_LED4
80  */
81 #endif
82 #ifdef CYBSP_USER_LED5
83 /** User LED 5 \def CYBSP_USER_LED5
84  */
85 #endif
86 #ifdef CYBSP_USER_LED6
87 /** User LED 6 \def CYBSP_USER_LED6
88  */
89 #endif
90 #ifdef CYBSP_USER_LED7
91 /** User LED 7 \def CYBSP_USER_LED7
92  */
93 #endif
94 #ifdef CYBSP_USER_LED8
95 /** User LED 8 \def CYBSP_USER_LED8
96  */
97 #endif
98 #ifdef CYBSP_USER_LED9
99 /** User LED 9 \def CYBSP_USER_LED9
100  */
101 #endif
102 #ifdef CYBSP_USER_LED10
103 /** User LED 10 \def CYBSP_USER_LED10
104  */
105 #endif
106 #ifdef CYBSP_LED1
107 /** LED 1 \def CYBSP_LED1
108  */
109 #endif
110 #ifdef CYBSP_LED2
111 /** LED 2 \def CYBSP_LED2
112  */
113 #endif
114 #ifdef CYBSP_LED3
115 /** LED 3 \def CYBSP_LED3
116  */
117 #endif
118 #ifdef CYBSP_LED3_RGB_RED
119 /** LED 3: RGB LED - Red \def CYBSP_LED3_RGB_RED
120  */
121 #endif
122 #ifdef CYBSP_LED3_RGB_GREEN
123 /** LED 3: RGB LED - Green \def CYBSP_LED3_RGB_GREEN
124  */
125 #endif
126 #ifdef CYBSP_LED3_RGB_BLUE
127 /** LED 3: RGB LED - Blue \def CYBSP_LED3_RGB_BLUE
128  */
129 #endif
130 #ifdef CYBSP_LED4
131 /** LED 4 \def CYBSP_LED4
132  */
133 #endif
134 #ifdef CYBSP_LED5
135 /** LED 5 \def CYBSP_LED5
136  */
137 #endif
138 #ifdef CYBSP_LED6
139 /** LED 6 \def CYBSP_LED6
140  */
141 #endif
142 #ifdef CYBSP_LED7
143 /** LED 7 \def CYBSP_LED7
144  */
145 #endif
146 #ifdef CYBSP_LED8
147 /** LED 8 \def CYBSP_LED8
148  */
149 #endif
150 #ifdef CYBSP_LED9
151 /** LED 9 \def CYBSP_LED9
152  */
153 #endif
154 #ifdef CYBSP_LED10
155 /** LED 10 \def CYBSP_LED10
156  */
157 #endif
158 #ifdef CYBSP_LED11
159 /** LED 11 \def CYBSP_LED11
160  */
161 #endif
162 #ifdef CYBSP_LED12
163 /** LED 12 \def CYBSP_LED12
164  */
165 #endif
166 #ifdef CYBSP_LED13
167 /** LED 13 \def CYBSP_LED13
168  */
169 #endif
170 #ifdef CYBSP_LED_SLD0
171 /** Slider LED 0 \def CYBSP_LED_SLD0
172  */
173 #endif
174 #ifdef CYBSP_LED_SLD1
175 /** Slider LED 1 \def CYBSP_LED_SLD1
176  */
177 #endif
178 #ifdef CYBSP_LED_SLD2
179 /** Slider LED 2 \def CYBSP_LED_SLD2
180  */
181 #endif
182 #ifdef CYBSP_LED_SLD3
183 /** Slider LED 3 \def CYBSP_LED_SLD3
184  */
185 #endif
186 #ifdef CYBSP_LED_SLD4
187 /** Slider LED 4 \def CYBSP_LED_SLD4
188  */
189 #endif
190 #ifdef CYBSP_LED_SLD5
191 /** LED 10; Slider LED 5 \def CYBSP_LED_SLD5
192  */
193 #endif
194 #ifdef CYBSP_LED_BTN0
195 /** Button LED 0 \def CYBSP_LED_BTN0
196  */
197 #endif
198 #ifdef CYBSP_LED_BTN1
199 /** Button LED 1 \def CYBSP_LED_BTN1
200  */
201 #endif
202 #ifdef CYBSP_LED_BTN2
203 /** Button LED 2 \def CYBSP_LED_BTN2
204  */
205 #endif
206 
207 /** \} group_bsp_pins_led */
208 #endif // defined(CYBSP_USER_LED)
209 
210 #if defined(CYBSP_USER_BTN)
211 /**
212  * \addtogroup group_bsp_pins_btn Button Pins
213  * \{
214  * Pins connected to user buttons on the board.
215  */
216 
217 #ifdef CYBSP_SW1
218 /** Switch 1 \def CYBSP_SW1
219  */
220 #endif
221 #ifdef CYBSP_SW2
222 /** Switch 2 \def CYBSP_SW2
223  */
224 #endif
225 #ifdef CYBSP_SW3
226 /** Switch 3 \def CYBSP_SW3
227  */
228 #endif
229 #ifdef CYBSP_SW4
230 /** Switch 4 \def CYBSP_SW4
231  */
232 #endif
233 #ifdef CYBSP_USER_BTN
234 /** User Button 1 \def CYBSP_USER_BTN
235  */
236 #endif
237 #ifdef CYBSP_USER_BTN1
238 /** User Button 1 \def CYBSP_USER_BTN1
239  */
240 #endif
241 #ifdef CYBSP_USER_BTN2
242 /** User Button 2 \def CYBSP_USER_BTN2
243  */
244 #endif
245 #ifdef CYBSP_POTENTIOMETER_INPUT
246 /** Potentiometer input \def CYBSP_POTENTIOMETER_INPUT
247  */
248 #endif
249 
250 /** \} group_bsp_pins_btn */
251 #endif // defined(CYBSP_USER_BTN)
252 
253 #if defined(CYBSP_DEBUG_UART_RX) || defined(CYBSP_SWDIO)
254 /**
255  * \addtogroup group_bsp_pins_comm Communication Pins
256  * \{
257  * Pins associated with connections on the board for communication interfaces (UART/I2C/SPI/...)
258  */
259 
260 #ifdef CYBSP_DEBUG_UART_RX
261 /** Pin: UART RX \def CYBSP_DEBUG_UART_RX
262  */
263 #endif
264 #ifdef CYBSP_DEBUG_UART_TX
265 /** Pin: UART TX \def CYBSP_DEBUG_UART_TX
266  */
267 #endif
268 #ifdef CYBSP_I2C_SCL
269 /** Pin: I2C SCL \def CYBSP_I2C_SCL
270  */
271 #endif
272 #ifdef CYBSP_I2C_SDA
273 /** Pin: I2C SDA \def CYBSP_I2C_SDA
274  */
275 #endif
276 #ifdef CYBSP_SWDIO
277 /** Pin: SWDIO \def CYBSP_SWDIO
278  */
279 #endif
280 #ifdef CYBSP_SWDCK
281 /** Pin: SWDCK \def CYBSP_SWDCK
282  */
283 #endif
284 #ifdef CYBSP_SPI_MOSI
285 /** Pin: SPI MOSI \def CYBSP_SPI_MOSI
286  */
287 #endif
288 #ifdef CYBSP_SPI_MISO
289 /** Pin: SPI MISO \def CYBSP_SPI_MISO
290  */
291 #endif
292 #ifdef CYBSP_SPI_CLK
293 /** Pin: SPI CLK \def CYBSP_SPI_CLK
294  */
295 #endif
296 #ifdef CYBSP_SPI_CS
297 /** Pin: SPI CS \def CYBSP_SPI_CS
298  */
299 #endif
300 #ifdef CYBSP_SWO
301 /** Pin: SWO \def CYBSP_SWO
302  */
303 #endif
304 #ifdef CYBSP_QSPI_SS
305 /** Pin: QUAD SPI SS \def CYBSP_QSPI_SS
306  */
307 #endif
308 #ifdef CYBSP_QSPI_D3
309 /** Pin: QUAD SPI D3 \def CYBSP_QSPI_D3
310  */
311 #endif
312 #ifdef CYBSP_QSPI_D2
313 /** Pin: QUAD SPI D2 \def CYBSP_QSPI_D2
314  */
315 #endif
316 #ifdef CYBSP_QSPI_D1
317 /** Pin: QUAD SPI D1 \def CYBSP_QSPI_D1
318  */
319 #endif
320 #ifdef CYBSP_QSPI_D0
321 /** Pin: QUAD SPI D0 \def CYBSP_QSPI_D0
322  */
323 #endif
324 #ifdef CYBSP_QSPI_SCK
325 /** Pin: QUAD SPI SCK \def CYBSP_QSPI_SCK
326  */
327 #endif
328 #ifdef CYBSP_WIFI_SDIO_D0
329 /** Pin: WIFI SDIO D0 \def CYBSP_WIFI_SDIO_D0
330  */
331 #endif
332 #ifdef CYBSP_WIFI_SDIO_D1
333 /** Pin: WIFI SDIO D1 \def CYBSP_WIFI_SDIO_D1
334  */
335 #endif
336 #ifdef CYBSP_WIFI_SDIO_D2
337 /** Pin: WIFI SDIO D2 \def CYBSP_WIFI_SDIO_D2
338  */
339 #endif
340 #ifdef CYBSP_WIFI_SDIO_D3
341 /** Pin: WIFI SDIO D3 \def CYBSP_WIFI_SDIO_D3
342  */
343 #endif
344 #ifdef CYBSP_WIFI_SDIO_CMD
345 /** Pin: WIFI SDIO CMD \def CYBSP_WIFI_SDIO_CMD
346  */
347 #endif
348 #ifdef CYBSP_WIFI_SDIO_CLK
349 /** Pin: WIFI SDIO CLK \def CYBSP_WIFI_SDIO_CLK
350  */
351 #endif
352 #ifdef CYBSP_WIFI_WL_REG_ON
353 /** Pin: WIFI ON \def CYBSP_WIFI_WL_REG_ON
354  */
355 #endif
356 #ifdef CYBSP_WIFI_HOST_WAKE
357 /** Pin: WIFI Host Wakeup \def CYBSP_WIFI_HOST_WAKE
358  */
359 
360 /** WiFi host-wake GPIO drive mode */
361 #define CYBSP_WIFI_HOST_WAKE_GPIO_DM (CYHAL_GPIO_DRIVE_ANALOG)
362 /** WiFi host-wake IRQ event */
363 #define CYBSP_WIFI_HOST_WAKE_IRQ_EVENT (CYHAL_GPIO_IRQ_RISE)
364 #endif
365 #ifdef CYBSP_BT_UART_RX
366 /** Pin: BT UART RX \def CYBSP_BT_UART_RX
367  */
368 #endif
369 #ifdef CYBSP_BT_UART_TX
370 /** Pin: BT UART TX \def CYBSP_BT_UART_TX
371  */
372 #endif
373 #ifdef CYBSP_BT_UART_RTS
374 /** Pin: BT UART RTS \def CYBSP_BT_UART_RTS
375  */
376 #endif
377 #ifdef CYBSP_BT_UART_CTS
378 /** Pin: BT UART CTS \def CYBSP_BT_UART_CTS
379  */
380 #endif
381 #ifdef CYBSP_BT_POWER
382 /** Pin: BT Power \def CYBSP_BT_POWER
383  */
384 #endif
385 #ifdef CYBSP_BT_HOST_WAKE
386 /** Pin: BT Host Wakeup \def CYBSP_BT_HOST_WAKE
387  */
388 /** BT host-wake GPIO drive mode */
389 #define CYBSP_BT_HOST_WAKE_GPIO_DM (CYHAL_GPIO_DRIVE_NONE)
390 /** BT host wake IRQ event */
391 #define CYBSP_BT_HOST_WAKE_IRQ_EVENT (CYHAL_GPIO_IRQ_FALL)
392 #endif
393 #ifdef CYBSP_BT_DEVICE_WAKE
394 /** Pin: BT Device Wakeup \def CYBSP_BT_DEVICE_WAKE
395  */
396 /** BT device wakeup GPIO drive mode */
397 #define CYBSP_BT_DEVICE_WAKE_GPIO_DM (CYHAL_GPIO_DRIVE_STRONG)
398 /** BT device wakeup polarity */
399 #define CYBSP_BT_DEVICE_WAKE_POLARITY (0u)
400 #endif
401 #ifdef CYBSP_PDM_CLK
402 /** Pin: PDM PCM CLK \def CYBSP_PDM_CLK
403  */
404 #endif
405 #ifdef CYBSP_PDM_DATA
406 /** Pin PDM PCM DATA \def CYBSP_PDM_DATA
407  */
408 #endif
409 #ifdef CYBSP_I2S_MCLK
410 /** Pin: I2S MCLK \def CYBSP_I2S_MCLK
411  */
412 #endif
413 #ifdef CYBSP_I2S_TX_SCK
414 /** Pin: I2S TX SCK \def CYBSP_I2S_TX_SCK
415  */
416 #endif
417 #ifdef CYBSP_I2S_TX_WS
418 /** Pin: I2S TX WS \def CYBSP_I2S_TX_WS
419  */
420 #endif
421 #ifdef CYBSP_I2S_TX_DATA
422 /** Pin: I2S TX DATA \def CYBSP_I2S_TX_DATA
423  */
424 #endif
425 #ifdef CYBSP_I2S_RX_SCK
426 /** Pin: I2S RX SCK \def CYBSP_I2S_RX_SCK
427  */
428 #endif
429 #ifdef CYBSP_I2S_RX_WS
430 /** Pin: I2S RX WS \def CYBSP_I2S_RX_WS
431  */
432 #endif
433 #ifdef CYBSP_I2S_RX_DATA
434 /** Pin: I2S RX DATA \def CYBSP_I2S_RX_DATA
435  */
436 #endif
437 #ifdef CYBSP_DEBUG_UART_RTS
438 /** Pin: UART RX \def CYBSP_DEBUG_UART_RTS
439  */
440 #endif
441 #ifdef CYBSP_DEBUG_UART_CTS
442 /** Pin: UART TX \def CYBSP_DEBUG_UART_CTS
443  */
444 #endif
445 #ifdef CYBSP_UART_RX
446 /** Pin: UART RX \def CYBSP_UART_RX
447  */
448 #endif
449 #ifdef CYBSP_UART_TX
450 /** Pin: UART TX \def CYBSP_UART_TX
451  */
452 #endif
453 #ifdef CYBSP_TDO_SWO
454 /** Pin: \def CYBSP_TDO_SWO
455  */
456 #endif
457 #ifdef CYBSP_TMS_SWDIO
458 /** Pin: \def CYBSP_TMS_SWDIO
459  */
460 #endif
461 #ifdef CYBSP_SWCLK
462 /** Pin: \def CYBSP_SWCLK
463  */
464 #endif
465 
466 /** \} group_bsp_pins_comm */
467 #endif // defined(CYBSP_DEBUG_UART_RX) || defined(CYBSP_SWDIO)
468 
469 #if defined(CYBSP_A0)
470 /**
471  * \addtogroup group_bsp_pins_arduino Arduino Header Pins
472  * \{
473  * Pins mapped to the Arduino header on the board.
474  */
475 
476 #ifdef CYBSP_A0
477 /** Arduino A0 \def CYBSP_A0
478  */
479 #endif
480 #ifdef CYBSP_A1
481 /** Arduino A1 \def CYBSP_A1
482  */
483 #endif
484 #ifdef CYBSP_A2
485 /** Arduino A2 \def CYBSP_A2
486  */
487 #endif
488 #ifdef CYBSP_A3
489 /** Arduino A3 \def CYBSP_A3
490  */
491 #endif
492 #ifdef CYBSP_A4
493 /** Arduino A4 \def CYBSP_A4
494  */
495 #endif
496 #ifdef CYBSP_A5
497 /** Arduino A5 \def CYBSP_A5
498  */
499 #endif
500 #ifdef CYBSP_D0
501 /** Arduino D0 \def CYBSP_D0
502  */
503 #endif
504 #ifdef CYBSP_D1
505 /** Arduino D1 \def CYBSP_D1
506  */
507 #endif
508 #ifdef CYBSP_D2
509 /** Arduino D2 \def CYBSP_D2
510  */
511 #endif
512 #ifdef CYBSP_D3
513 /** Arduino D3 \def CYBSP_D3
514  */
515 #endif
516 #ifdef CYBSP_D4
517 /** Arduino D4 \def CYBSP_D4
518  */
519 #endif
520 #ifdef CYBSP_D5
521 /** Arduino D5 \def CYBSP_D5
522  */
523 #endif
524 #ifdef CYBSP_D6
525 /** Arduino D6 \def CYBSP_D6
526  */
527 #endif
528 #ifdef CYBSP_D7
529 /** Arduino D7 \def CYBSP_D7
530  */
531 #endif
532 #ifdef CYBSP_D8
533 /** Arduino D8 \def CYBSP_D8
534  */
535 #endif
536 #ifdef CYBSP_D9
537 /** Arduino D9 \def CYBSP_D9
538  */
539 #endif
540 #ifdef CYBSP_D10
541 /** Arduino D10 \def CYBSP_D10
542  */
543 #endif
544 #ifdef CYBSP_D11
545 /** Arduino D11 \def CYBSP_D11
546  */
547 #endif
548 #ifdef CYBSP_D12
549 /** Arduino D12 \def CYBSP_D12
550  */
551 #endif
552 #ifdef CYBSP_D13
553 /** Arduino D13 \def CYBSP_D13
554  */
555 #endif
556 #ifdef CYBSP_D14
557 /** Arduino D14 \def CYBSP_D14
558  */
559 #endif
560 #ifdef CYBSP_D15
561 /** Arduino D15 \def CYBSP_D15
562  */
563 #endif
564 
565 /** \} group_bsp_pins_arduino */
566 #endif // defined(CYBSP_A0)
567 
568 #if defined(CYBSP_J2_1)
569 /**
570  * \addtogroup group_bsp_pins_j2 J2 Header Pins
571  * \{
572  * Pins mapped to the J2 header on the board.
573  */
574 
575 #ifdef CYBSP_J2_1
576 /** Infineon J2 Header pin 1 \def CYBSP_J2_1
577  */
578 #endif
579 #ifdef CYBSP_J2_2
580 /** Infineon J2 Header pin 2 \def CYBSP_J2_2
581  */
582 #endif
583 #ifdef CYBSP_J2_3
584 /** Infineon J2 Header pin 3 \def CYBSP_J2_3
585  */
586 #endif
587 #ifdef CYBSP_J2_4
588 /** Infineon J2 Header pin 4 \def CYBSP_J2_4
589  */
590 #endif
591 #ifdef CYBSP_J2_5
592 /** Infineon J2 Header pin 5 \def CYBSP_J2_5
593  */
594 #endif
595 #ifdef CYBSP_J2_7
596 /** Infineon J2 Header pin 7 \def CYBSP_J2_7
597  */
598 #endif
599 #ifdef CYBSP_J2_8
600 /** Infineon J2 Header pin 8 \def CYBSP_J2_8
601  */
602 #endif
603 #ifdef CYBSP_J2_9
604 /** Infineon J2 Header pin 9 \def CYBSP_J2_9
605  */
606 #endif
607 #ifdef CYBSP_J2_10
608 /** Infineon J2 Header pin 10 \def CYBSP_J2_10
609  */
610 #endif
611 #ifdef CYBSP_J2_11
612 /** Infineon J2 Header pin 11 \def CYBSP_J2_11
613  */
614 #endif
615 #ifdef CYBSP_J2_12
616 /** Infineon J2 Header pin 12 \def CYBSP_J2_12
617  */
618 #endif
619 #ifdef CYBSP_J2_13
620 /** Infineon J2 Header pin 13 \def CYBSP_J2_13
621  */
622 #endif
623 #ifdef CYBSP_J2_15
624 /** Infineon J2 Header pin 15 \def CYBSP_J2_15
625  */
626 #endif
627 #ifdef CYBSP_J2_16
628 /** Infineon J2 Header pin 16 \def CYBSP_J2_16
629  */
630 #endif
631 #ifdef CYBSP_J2_16
632 /** Infineon J2 Header pin 16 \def CYBSP_J2_16
633  */
634 #endif
635 #ifdef CYBSP_J2_6
636 /** Infineon J2 Header pin 6 \def CYBSP_J2_6
637  */
638 #endif
639 #ifdef CYBSP_J2_17
640 /** Infineon J2 Header pin 17 \def CYBSP_J2_17
641  */
642 #endif
643 #ifdef CYBSP_J2_18
644 /** Infineon J2 Header pin 18 \def CYBSP_J2_18
645  */
646 #endif
647 #ifdef CYBSP_J2_19
648 /** Infineon J2 Header pin 19 \def CYBSP_J2_19
649  */
650 #endif
651 #ifdef CYBSP_J2_20
652 /** Infineon J2 Header pin 20 \def CYBSP_J2_20
653  */
654 #endif
655 #ifdef CYBSP_J2_14
656 /** Infineon J2 Header pin 14 \def CYBSP_J2_14
657  */
658 #endif
659 
660 /** \} group_bsp_pins_j2 */
661 #endif // defined(CYBSP_J2_1)
662 
663 #if defined(CYBSP_J6_1)
664 /**
665  * \addtogroup group_bsp_pins_j6 J6 Header Pins
666  * \{
667  * Pins mapped to the J6 header on the board.
668  */
669 
670 #ifdef CYBSP_J6_1
671 /** Infineon J6 Header pin 1 \def CYBSP_J6_1
672  */
673 #endif
674 #ifdef CYBSP_J6_2
675 /** Infineon J6 Header pin 2 \def CYBSP_J6_2
676  */
677 #endif
678 #ifdef CYBSP_J6_3
679 /** Infineon J6 Header pin 3 \def CYBSP_J6_3
680  */
681 #endif
682 #ifdef CYBSP_J6_4
683 /** Infineon J6 Header pin 4 \def CYBSP_J6_4
684  */
685 #endif
686 #ifdef CYBSP_J6_5
687 /** Infineon J6 Header pin 5 \def CYBSP_J6_5
688  */
689 #endif
690 #ifdef CYBSP_J6_6
691 /** Infineon J6 Header pin 6 \def CYBSP_J6_6
692  */
693 #endif
694 #ifdef CYBSP_J6_7
695 /** Infineon J6 Header pin 7 \def CYBSP_J6_7
696  */
697 #endif
698 #ifdef CYBSP_J6_8
699 /** Infineon J6 Header pin 8 \def CYBSP_J6_8
700  */
701 #endif
702 #ifdef CYBSP_J6_9
703 /** Infineon J6 Header pin 9 \def CYBSP_J6_9
704  */
705 #endif
706 #ifdef CYBSP_J6_10
707 /** Infineon J6 Header pin 10 \def CYBSP_J6_10
708  */
709 #endif
710 #ifdef CYBSP_J6_11
711 /** Infineon J6 Header pin 11 \def CYBSP_J6_11
712  */
713 #endif
714 #ifdef CYBSP_J6_12
715 /** Infineon J6 Header pin 12 \def CYBSP_J6_12
716  */
717 #endif
718 #ifdef CYBSP_J6_13
719 /** Infineon J6 Header pin 13 \def CYBSP_J6_13
720  */
721 #endif
722 #ifdef CYBSP_J6_14
723 /** Infineon J6 Header pin 14 \def CYBSP_J6_14
724  */
725 #endif
726 #ifdef CYBSP_J6_15
727 /** Infineon J6 Header pin 15 \def CYBSP_J6_15
728  */
729 #endif
730 #ifdef CYBSP_J6_16
731 /** Infineon J6 Header pin 16 \def CYBSP_J6_16
732  */
733 #endif
734 
735 /** \} group_bsp_pins_j6 */
736 #endif // defined(CYBSP_J6_1)
737 
738 #if defined(CYBSP_CMOD) || defined(CYBSP_CINA) || defined(CYBSP_CINTA)
739 /**
740  * \addtogroup group_bsp_pins_capsense Capsense
741  * \{
742  * Pins connected to CAPSENSE™ sensors on the board.
743  */
744 
745 #ifdef CYBSP_CSD_TX
746 /** Pin: CapSesnse TX \def CYBSP_CSD_TX
747  */
748 #endif
749 #ifdef CYBSP_CINA
750 /** Pin: CapSesnse CINA \def CYBSP_CINA
751  */
752 #endif
753 #ifdef CYBSP_CINTA
754 /** Pin: CapSesnse CINTA \def CYBSP_CINTA
755  */
756 #endif
757 #ifdef CYBSP_CINB
758 /** Pin: CapSesnse CINB \def CYBSP_CINB
759  */
760 #endif
761 #ifdef CYBSP_CINTB
762 /** Pin: CapSesnse CINTB \def CYBSP_CINTB
763  */
764 #endif
765 #ifdef CYBSP_CMOD
766 /** Pin: CapSesnse CMOD \def CYBSP_CMOD
767  */
768 #endif
769 #ifdef CYBSP_CSD_BTN0
770 /** Pin: CapSesnse Button 0 \def CYBSP_CSD_BTN0
771  */
772 #endif
773 #ifdef CYBSP_CSD_BTN1
774 /** Pin: CapSesnse Button 1 \def CYBSP_CSD_BTN1
775  */
776 #endif
777 #ifdef CYBSP_CSD_SLD0
778 /** Pin: CapSesnse Slider 0 \def CYBSP_CSD_SLD0
779  */
780 #endif
781 #ifdef CYBSP_CSD_SLD1
782 /** Pin: CapSesnse Slider 1 \def CYBSP_CSD_SLD1
783  */
784 #endif
785 #ifdef CYBSP_CSD_SLD2
786 /** Pin: CapSesnse Slider 2 \def CYBSP_CSD_SLD2
787  */
788 #endif
789 #ifdef CYBSP_CSD_SLD3
790 /** Pin: CapSesnse Slider 3 \def CYBSP_CSD_SLD3
791  */
792 #endif
793 #ifdef CYBSP_CSD_SLD4
794 /** Pin: CapSesnse Slider 4 \def CYBSP_CSD_SLD4
795  */
796 #endif
797 #ifdef CYBSP_CSD_SLD5
798 /** Pin: CapSesnse Slider 5 \def CYBSP_CSD_SLD5
799  */
800 #endif
801 #ifdef CYBSP_CSX_BTN_TX
802 /** Pin: CapSesnse Button TX \def CYBSP_CSX_BTN_TX
803  */
804 #endif
805 #ifdef CYBSP_CSX_BTN0
806 /** Pin: CapSesnse Button 0 \def CYBSP_CSX_BTN0
807  */
808 #endif
809 #ifdef CYBSP_CSX_BTN1
810 /** Pin: CapSesnse Button 1 \def CYBSP_CSX_BTN1
811  */
812 #endif
813 #ifdef CYBSP_CSX_BTN2
814 /** Pin: CapSesnse Button 2 \def CYBSP_CSX_BTN2
815  */
816 #endif
817 
818 /** \} group_bsp_pins_capsense */
819 #endif // defined(CYBSP_CMOD) || defined(CYBSP_CINA) || defined(CYBSP_CINTA)
820 
821 #if defined(CYBSP_WCO_IN)
822 /**
823  * \addtogroup group_bsp_pins_wco WCO
824  * \{
825  * Pins connected to the WCO on the board.
826  */
827 #ifdef CYBSP_WCO_IN
828 /** Pin: WCO input \def CYBSP_WCO_IN
829  */
830 #endif
831 #ifdef CYBSP_WCO_OUT
832 /** Pin: WCO output \def CYBSP_WCO_OUT
833  */
834 #endif
835 
836 /** \} group_bsp_pins_wco */
837 #endif // defined(CYBSP_WCO_IN)
838 
839 /** \} group_bsp_pins */
840 
841 #if defined(__cplusplus)
842 }
843 #endif
844