/*******************************************************************************
 * File Name: cycfg_pins.h
 *
 * Description:
 * Pin configuration
 * This file was automatically generated and should not be modified.
 * Configurator Backend 3.60.0
 * device-db 4.29.0.9102
 * mtb-pdl-cat1 3.17.0.43048
 *
 *******************************************************************************
 * Copyright 2025 Cypress Semiconductor Corporation (an Infineon company) or
 * an affiliate of Cypress Semiconductor Corporation.
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 ******************************************************************************/

#if !defined(CYCFG_PINS_H)
#define CYCFG_PINS_H

#include "cycfg_notices.h"
#include "cy_gpio.h"
#include "cycfg_routing.h"

#if defined (CY_USING_HAL)
#include "cyhal_hwmgr.h"
#endif /* defined (CY_USING_HAL) */

#if defined (CY_USING_HAL_LITE)
#include "cyhal_hw_types.h"
#endif /* defined (CY_USING_HAL_LITE) */

#if defined(__cplusplus)
extern "C" {
#endif /* defined(__cplusplus) */

#define CYBSP_WCO_IN_ENABLED 1U
#define CYBSP_WCO_IN_PORT GPIO_PRT0
#define CYBSP_WCO_IN_PORT_NUM 0U
#define CYBSP_WCO_IN_PIN 0U
#define CYBSP_WCO_IN_NUM 0U
#define CYBSP_WCO_IN_DRIVEMODE CY_GPIO_DM_ANALOG
#define CYBSP_WCO_IN_INIT_DRIVESTATE 1
#ifndef ioss_0_port_0_pin_0_HSIOM
    #define ioss_0_port_0_pin_0_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_WCO_IN_HSIOM ioss_0_port_0_pin_0_HSIOM
#define CYBSP_WCO_IN_IRQ ioss_interrupts_gpio_0_IRQn

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_WCO_IN_HAL_PORT_PIN P0_0
#define CYBSP_WCO_IN P0_0
#define CYBSP_WCO_IN_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_WCO_IN_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_WCO_IN_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_WCO_OUT_ENABLED 1U
#define CYBSP_WCO_OUT_PORT GPIO_PRT0
#define CYBSP_WCO_OUT_PORT_NUM 0U
#define CYBSP_WCO_OUT_PIN 1U
#define CYBSP_WCO_OUT_NUM 1U
#define CYBSP_WCO_OUT_DRIVEMODE CY_GPIO_DM_ANALOG
#define CYBSP_WCO_OUT_INIT_DRIVESTATE 1
#ifndef ioss_0_port_0_pin_1_HSIOM
    #define ioss_0_port_0_pin_1_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_WCO_OUT_HSIOM ioss_0_port_0_pin_1_HSIOM
#define CYBSP_WCO_OUT_IRQ ioss_interrupts_gpio_0_IRQn

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_WCO_OUT_HAL_PORT_PIN P0_1
#define CYBSP_WCO_OUT P0_1
#define CYBSP_WCO_OUT_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_WCO_OUT_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_WCO_OUT_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define ioss_0_port_0_pin_2_ENABLED 1U
#define ioss_0_port_0_pin_2_PORT GPIO_PRT0
#define ioss_0_port_0_pin_2_PORT_NUM 0U
#define ioss_0_port_0_pin_2_PIN 2U
#define ioss_0_port_0_pin_2_NUM 2U
#define ioss_0_port_0_pin_2_DRIVEMODE CY_GPIO_DM_STRONG_IN_OFF
#define ioss_0_port_0_pin_2_INIT_DRIVESTATE 1
#ifndef ioss_0_port_0_pin_2_HSIOM
    #define ioss_0_port_0_pin_2_HSIOM HSIOM_SEL_GPIO
#endif
#define ioss_0_port_0_pin_2_IRQ ioss_interrupts_gpio_0_IRQn

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define ioss_0_port_0_pin_2_HAL_PORT_PIN P0_2
#define ioss_0_port_0_pin_2 P0_2
#define ioss_0_port_0_pin_2_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define ioss_0_port_0_pin_2_HAL_DIR CYHAL_GPIO_DIR_OUTPUT 
#define ioss_0_port_0_pin_2_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_STRONG
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_SW2_ENABLED 1U
#define CYBSP_USER_BTN1_ENABLED CYBSP_SW2_ENABLED
#define CYBSP_USER_BTN_ENABLED CYBSP_SW2_ENABLED
#define CYBSP_SW2_PORT GPIO_PRT0
#define CYBSP_USER_BTN1_PORT CYBSP_SW2_PORT
#define CYBSP_USER_BTN_PORT CYBSP_SW2_PORT
#define CYBSP_SW2_PORT_NUM 0U
#define CYBSP_USER_BTN1_PORT_NUM CYBSP_SW2_PORT_NUM
#define CYBSP_USER_BTN_PORT_NUM CYBSP_SW2_PORT_NUM
#define CYBSP_SW2_PIN 4U
#define CYBSP_USER_BTN1_PIN CYBSP_SW2_PIN
#define CYBSP_USER_BTN_PIN CYBSP_SW2_PIN
#define CYBSP_SW2_NUM 4U
#define CYBSP_USER_BTN1_NUM CYBSP_SW2_NUM
#define CYBSP_USER_BTN_NUM CYBSP_SW2_NUM
#define CYBSP_SW2_DRIVEMODE CY_GPIO_DM_HIGHZ
#define CYBSP_USER_BTN1_DRIVEMODE CYBSP_SW2_DRIVEMODE
#define CYBSP_USER_BTN_DRIVEMODE CYBSP_SW2_DRIVEMODE
#define CYBSP_SW2_INIT_DRIVESTATE 1
#define CYBSP_USER_BTN1_INIT_DRIVESTATE CYBSP_SW2_INIT_DRIVESTATE
#define CYBSP_USER_BTN_INIT_DRIVESTATE CYBSP_SW2_INIT_DRIVESTATE
#ifndef ioss_0_port_0_pin_4_HSIOM
    #define ioss_0_port_0_pin_4_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_SW2_HSIOM ioss_0_port_0_pin_4_HSIOM
#define CYBSP_USER_BTN1_HSIOM CYBSP_SW2_HSIOM
#define CYBSP_USER_BTN_HSIOM CYBSP_SW2_HSIOM
#define CYBSP_SW2_IRQ ioss_interrupts_gpio_0_IRQn
#define CYBSP_USER_BTN1_IRQ CYBSP_SW2_IRQ
#define CYBSP_USER_BTN_IRQ CYBSP_SW2_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_SW2_HAL_PORT_PIN P0_4
#define CYBSP_USER_BTN1_HAL_PORT_PIN CYBSP_SW2_HAL_PORT_PIN
#define CYBSP_USER_BTN_HAL_PORT_PIN CYBSP_SW2_HAL_PORT_PIN
#define CYBSP_SW2 P0_4
#define CYBSP_USER_BTN1 CYBSP_SW2
#define CYBSP_USER_BTN CYBSP_SW2
#define CYBSP_SW2_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_USER_BTN1_HAL_IRQ CYBSP_SW2_HAL_IRQ
#define CYBSP_USER_BTN_HAL_IRQ CYBSP_SW2_HAL_IRQ
#define CYBSP_SW2_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_USER_BTN1_HAL_DIR CYBSP_SW2_HAL_DIR
#define CYBSP_USER_BTN_HAL_DIR CYBSP_SW2_HAL_DIR
#define CYBSP_SW2_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_NONE
#define CYBSP_USER_BTN1_HAL_DRIVEMODE CYBSP_SW2_HAL_DRIVEMODE
#define CYBSP_USER_BTN_HAL_DRIVEMODE CYBSP_SW2_HAL_DRIVEMODE
#define CYBSP_LED_RGB_GREEN (P0_5)
#define CYBSP_USER_LED4 CYBSP_LED_RGB_GREEN
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_A0_ENABLED 1U
#define CYBSP_J2_1_ENABLED CYBSP_A0_ENABLED
#define CYBSP_A0_PORT GPIO_PRT10
#define CYBSP_J2_1_PORT CYBSP_A0_PORT
#define CYBSP_A0_PORT_NUM 10U
#define CYBSP_J2_1_PORT_NUM CYBSP_A0_PORT_NUM
#define CYBSP_A0_PIN 0U
#define CYBSP_J2_1_PIN CYBSP_A0_PIN
#define CYBSP_A0_NUM 0U
#define CYBSP_J2_1_NUM CYBSP_A0_NUM
#define CYBSP_A0_DRIVEMODE CY_GPIO_DM_STRONG_IN_OFF
#define CYBSP_J2_1_DRIVEMODE CYBSP_A0_DRIVEMODE
#define CYBSP_A0_INIT_DRIVESTATE 0
#define CYBSP_J2_1_INIT_DRIVESTATE CYBSP_A0_INIT_DRIVESTATE
#ifndef ioss_0_port_10_pin_0_HSIOM
    #define ioss_0_port_10_pin_0_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_A0_HSIOM ioss_0_port_10_pin_0_HSIOM
#define CYBSP_J2_1_HSIOM CYBSP_A0_HSIOM
#define CYBSP_A0_IRQ ioss_interrupts_gpio_10_IRQn
#define CYBSP_J2_1_IRQ CYBSP_A0_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_A0_HAL_PORT_PIN P10_0
#define CYBSP_J2_1_HAL_PORT_PIN CYBSP_A0_HAL_PORT_PIN
#define CYBSP_A0 P10_0
#define CYBSP_J2_1 CYBSP_A0
#define CYBSP_A0_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_J2_1_HAL_IRQ CYBSP_A0_HAL_IRQ
#define CYBSP_A0_HAL_DIR CYHAL_GPIO_DIR_OUTPUT 
#define CYBSP_J2_1_HAL_DIR CYBSP_A0_HAL_DIR
#define CYBSP_A0_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_STRONG
#define CYBSP_J2_1_HAL_DRIVEMODE CYBSP_A0_HAL_DRIVEMODE
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_A1_ENABLED 1U
#define CYBSP_J2_3_ENABLED CYBSP_A1_ENABLED
#define CYBSP_A1_PORT GPIO_PRT10
#define CYBSP_J2_3_PORT CYBSP_A1_PORT
#define CYBSP_A1_PORT_NUM 10U
#define CYBSP_J2_3_PORT_NUM CYBSP_A1_PORT_NUM
#define CYBSP_A1_PIN 1U
#define CYBSP_J2_3_PIN CYBSP_A1_PIN
#define CYBSP_A1_NUM 1U
#define CYBSP_J2_3_NUM CYBSP_A1_NUM
#define CYBSP_A1_DRIVEMODE CY_GPIO_DM_HIGHZ
#define CYBSP_J2_3_DRIVEMODE CYBSP_A1_DRIVEMODE
#define CYBSP_A1_INIT_DRIVESTATE 1
#define CYBSP_J2_3_INIT_DRIVESTATE CYBSP_A1_INIT_DRIVESTATE
#ifndef ioss_0_port_10_pin_1_HSIOM
    #define ioss_0_port_10_pin_1_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_A1_HSIOM ioss_0_port_10_pin_1_HSIOM
#define CYBSP_J2_3_HSIOM CYBSP_A1_HSIOM
#define CYBSP_A1_IRQ ioss_interrupts_gpio_10_IRQn
#define CYBSP_J2_3_IRQ CYBSP_A1_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_A1_HAL_PORT_PIN P10_1
#define CYBSP_J2_3_HAL_PORT_PIN CYBSP_A1_HAL_PORT_PIN
#define CYBSP_A1 P10_1
#define CYBSP_J2_3 CYBSP_A1
#define CYBSP_A1_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_J2_3_HAL_IRQ CYBSP_A1_HAL_IRQ
#define CYBSP_A1_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_J2_3_HAL_DIR CYBSP_A1_HAL_DIR
#define CYBSP_A1_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_NONE
#define CYBSP_J2_3_HAL_DRIVEMODE CYBSP_A1_HAL_DRIVEMODE
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_A2_ENABLED 1U
#define CYBSP_J2_5_ENABLED CYBSP_A2_ENABLED
#define CYBSP_A2_PORT GPIO_PRT10
#define CYBSP_J2_5_PORT CYBSP_A2_PORT
#define CYBSP_A2_PORT_NUM 10U
#define CYBSP_J2_5_PORT_NUM CYBSP_A2_PORT_NUM
#define CYBSP_A2_PIN 2U
#define CYBSP_J2_5_PIN CYBSP_A2_PIN
#define CYBSP_A2_NUM 2U
#define CYBSP_J2_5_NUM CYBSP_A2_NUM
#define CYBSP_A2_DRIVEMODE CY_GPIO_DM_STRONG_IN_OFF
#define CYBSP_J2_5_DRIVEMODE CYBSP_A2_DRIVEMODE
#define CYBSP_A2_INIT_DRIVESTATE 1
#define CYBSP_J2_5_INIT_DRIVESTATE CYBSP_A2_INIT_DRIVESTATE
#ifndef ioss_0_port_10_pin_2_HSIOM
    #define ioss_0_port_10_pin_2_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_A2_HSIOM ioss_0_port_10_pin_2_HSIOM
#define CYBSP_J2_5_HSIOM CYBSP_A2_HSIOM
#define CYBSP_A2_IRQ ioss_interrupts_gpio_10_IRQn
#define CYBSP_J2_5_IRQ CYBSP_A2_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_A2_HAL_PORT_PIN P10_2
#define CYBSP_J2_5_HAL_PORT_PIN CYBSP_A2_HAL_PORT_PIN
#define CYBSP_A2 P10_2
#define CYBSP_J2_5 CYBSP_A2
#define CYBSP_A2_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_J2_5_HAL_IRQ CYBSP_A2_HAL_IRQ
#define CYBSP_A2_HAL_DIR CYHAL_GPIO_DIR_OUTPUT 
#define CYBSP_J2_5_HAL_DIR CYBSP_A2_HAL_DIR
#define CYBSP_A2_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_STRONG
#define CYBSP_J2_5_HAL_DRIVEMODE CYBSP_A2_HAL_DRIVEMODE
#define CYBSP_A3 (P10_3)
#define CYBSP_J2_7 CYBSP_A3
#define CYBSP_A4 (P10_4)
#define CYBSP_J2_9 CYBSP_A4
#define CYBSP_A5 (P10_5)
#define CYBSP_J2_11 CYBSP_A5
#define CYBSP_A6 (P10_6)
#define CYBSP_J2_13 CYBSP_A6
#define CYBSP_POT CYBSP_A6
#define CYBSP_A7 (P10_7)
#define CYBSP_J2_15 CYBSP_A7
#define CYBSP_QSPI_FRAM_SSEL (P11_0)
#define CYBSP_LED9 (P11_1)
#define CYBSP_USER_LED2 CYBSP_LED9
#define CYBSP_QSPI_SS (P11_2)
#define CYBSP_QSPI_FLASH_SSEL CYBSP_QSPI_SS
#define CYBSP_QSPI_D3 (P11_3)
#define CYBSP_QSPI_D2 (P11_4)
#define CYBSP_QSPI_D1 (P11_5)
#define CYBSP_QSPI_D0 (P11_6)
#define CYBSP_QSPI_SCK (P11_7)
#define CYBSP_SPI_MOSI (P12_0)
#define CYBSP_D11 CYBSP_SPI_MOSI
#define CYBSP_SPI_MISO (P12_1)
#define CYBSP_D12 CYBSP_SPI_MISO
#define CYBSP_SPI_CLK (P12_2)
#define CYBSP_D13 CYBSP_SPI_CLK
#define CYBSP_SPI_CS (P12_3)
#define CYBSP_D10 CYBSP_SPI_CS
#define CYBSP_SDHC_CMD (P12_4)
#define CYBSP_SDHC_CLK (P12_5)
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define ioss_0_port_12_pin_6_ENABLED 1U
#define ioss_0_port_12_pin_6_PORT GPIO_PRT12
#define ioss_0_port_12_pin_6_PORT_NUM 12U
#define ioss_0_port_12_pin_6_PIN 6U
#define ioss_0_port_12_pin_6_NUM 6U
#define ioss_0_port_12_pin_6_DRIVEMODE CY_GPIO_DM_ANALOG
#define ioss_0_port_12_pin_6_INIT_DRIVESTATE 1
#ifndef ioss_0_port_12_pin_6_HSIOM
    #define ioss_0_port_12_pin_6_HSIOM HSIOM_SEL_GPIO
#endif
#define ioss_0_port_12_pin_6_IRQ ioss_interrupts_gpio_12_IRQn

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define ioss_0_port_12_pin_6_HAL_PORT_PIN P12_6
#define ioss_0_port_12_pin_6 P12_6
#define ioss_0_port_12_pin_6_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define ioss_0_port_12_pin_6_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define ioss_0_port_12_pin_6_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define ioss_0_port_12_pin_7_ENABLED 1U
#define ioss_0_port_12_pin_7_PORT GPIO_PRT12
#define ioss_0_port_12_pin_7_PORT_NUM 12U
#define ioss_0_port_12_pin_7_PIN 7U
#define ioss_0_port_12_pin_7_NUM 7U
#define ioss_0_port_12_pin_7_DRIVEMODE CY_GPIO_DM_ANALOG
#define ioss_0_port_12_pin_7_INIT_DRIVESTATE 1
#ifndef ioss_0_port_12_pin_7_HSIOM
    #define ioss_0_port_12_pin_7_HSIOM HSIOM_SEL_GPIO
#endif
#define ioss_0_port_12_pin_7_IRQ ioss_interrupts_gpio_12_IRQn

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define ioss_0_port_12_pin_7_HAL_PORT_PIN P12_7
#define ioss_0_port_12_pin_7 P12_7
#define ioss_0_port_12_pin_7_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define ioss_0_port_12_pin_7_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define ioss_0_port_12_pin_7_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#define CYBSP_SDHC_IO0 (P13_0)
#define CYBSP_SDHC_IO1 (P13_1)
#define CYBSP_SDHC_IO2 (P13_2)
#define CYBSP_SDHC_IO3 (P13_3)
#define CYBSP_SDHC_DETECT (P13_7)
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_CSD_RX_ENABLED 1U
#define CYBSP_CS_RX_ENABLED CYBSP_CSD_RX_ENABLED
#define CYBSP_CS_TX_RX_ENABLED CYBSP_CSD_RX_ENABLED
#define CYBSP_CSD_RX_PORT GPIO_PRT1
#define CYBSP_CS_RX_PORT CYBSP_CSD_RX_PORT
#define CYBSP_CS_TX_RX_PORT CYBSP_CSD_RX_PORT
#define CYBSP_CSD_RX_PORT_NUM 1U
#define CYBSP_CS_RX_PORT_NUM CYBSP_CSD_RX_PORT_NUM
#define CYBSP_CS_TX_RX_PORT_NUM CYBSP_CSD_RX_PORT_NUM
#define CYBSP_CSD_RX_PIN 0U
#define CYBSP_CS_RX_PIN CYBSP_CSD_RX_PIN
#define CYBSP_CS_TX_RX_PIN CYBSP_CSD_RX_PIN
#define CYBSP_CSD_RX_NUM 0U
#define CYBSP_CS_RX_NUM CYBSP_CSD_RX_NUM
#define CYBSP_CS_TX_RX_NUM CYBSP_CSD_RX_NUM
#define CYBSP_CSD_RX_DRIVEMODE CY_GPIO_DM_ANALOG
#define CYBSP_CS_RX_DRIVEMODE CYBSP_CSD_RX_DRIVEMODE
#define CYBSP_CS_TX_RX_DRIVEMODE CYBSP_CSD_RX_DRIVEMODE
#define CYBSP_CSD_RX_INIT_DRIVESTATE 1
#define CYBSP_CS_RX_INIT_DRIVESTATE CYBSP_CSD_RX_INIT_DRIVESTATE
#define CYBSP_CS_TX_RX_INIT_DRIVESTATE CYBSP_CSD_RX_INIT_DRIVESTATE
#ifndef ioss_0_port_1_pin_0_HSIOM
    #define ioss_0_port_1_pin_0_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_CSD_RX_HSIOM ioss_0_port_1_pin_0_HSIOM
#define CYBSP_CS_RX_HSIOM CYBSP_CSD_RX_HSIOM
#define CYBSP_CS_TX_RX_HSIOM CYBSP_CSD_RX_HSIOM
#define CYBSP_CSD_RX_IRQ ioss_interrupts_gpio_1_IRQn
#define CYBSP_CS_RX_IRQ CYBSP_CSD_RX_IRQ
#define CYBSP_CS_TX_RX_IRQ CYBSP_CSD_RX_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_CSD_RX_HAL_PORT_PIN P1_0
#define CYBSP_CS_RX_HAL_PORT_PIN CYBSP_CSD_RX_HAL_PORT_PIN
#define CYBSP_CS_TX_RX_HAL_PORT_PIN CYBSP_CSD_RX_HAL_PORT_PIN
#define CYBSP_CSD_RX P1_0
#define CYBSP_CS_RX CYBSP_CSD_RX
#define CYBSP_CS_TX_RX CYBSP_CSD_RX
#define CYBSP_CSD_RX_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_CS_RX_HAL_IRQ CYBSP_CSD_RX_HAL_IRQ
#define CYBSP_CS_TX_RX_HAL_IRQ CYBSP_CSD_RX_HAL_IRQ
#define CYBSP_CSD_RX_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_CS_RX_HAL_DIR CYBSP_CSD_RX_HAL_DIR
#define CYBSP_CS_TX_RX_HAL_DIR CYBSP_CSD_RX_HAL_DIR
#define CYBSP_CSD_RX_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#define CYBSP_CS_RX_HAL_DRIVEMODE CYBSP_CSD_RX_HAL_DRIVEMODE
#define CYBSP_CS_TX_RX_HAL_DRIVEMODE CYBSP_CSD_RX_HAL_DRIVEMODE
#define CYBSP_LED_RGB_RED (P1_1)
#define CYBSP_USER_LED3 CYBSP_LED_RGB_RED
#define CYBSP_SW4 (P1_4)
#define CYBSP_USER_BTN2 CYBSP_SW4
#define CYBSP_LED8 (P1_5)
#define CYBSP_USER_LED1 CYBSP_LED8
#define CYBSP_USER_LED CYBSP_LED8
#define CYBSP_WIFI_SDIO_D0 (P2_0)
#define CYBSP_WIFI_SDIO_D1 (P2_1)
#define CYBSP_WIFI_SDIO_D2 (P2_2)
#define CYBSP_WIFI_SDIO_D3 (P2_3)
#define CYBSP_WIFI_SDIO_CMD (P2_4)
#define CYBSP_WIFI_SDIO_CLK (P2_5)
#define CYBSP_WIFI_WL_REG_ON (P2_6)
#define CYBSP_BT_UART_RX (P3_0)
#define CYBSP_BT_UART_TX (P3_1)
#define CYBSP_BT_UART_RTS (P3_2)
#define CYBSP_BT_UART_CTS (P3_3)
#define CYBSP_BT_POWER (P3_4)
#define CYBSP_BT_DEVICE_WAKE (P3_5)
#define CYBSP_BT_HOST_WAKE (P4_0)
#define CYBSP_WIFI_HOST_WAKE (P4_1)
#define CYBSP_DEBUG_UART_RX (P5_0)
#define CYBSP_D0 CYBSP_DEBUG_UART_RX
#define CYBSP_DEBUG_UART_TX (P5_1)
#define CYBSP_D1 CYBSP_DEBUG_UART_TX
#define CYBSP_DEBUG_UART_RTS (P5_2)
#define CYBSP_D2 CYBSP_DEBUG_UART_RTS
#define CYBSP_DEBUG_UART_CTS (P5_3)
#define CYBSP_D3 CYBSP_DEBUG_UART_CTS
#define CYBSP_D4 (P5_4)
#define CYBSP_D5 (P5_5)
#define CYBSP_D6 (P5_6)
#define CYBSP_D7 (P5_7)
#define CYBSP_I2C_SCL (P6_0)
#define CYBSP_D15 CYBSP_I2C_SCL
#define CYBSP_I2C_SDA (P6_1)
#define CYBSP_D14 CYBSP_I2C_SDA
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_SWO_ENABLED 1U
#define CYBSP_SWO_PORT GPIO_PRT6
#define CYBSP_SWO_PORT_NUM 6U
#define CYBSP_SWO_PIN 4U
#define CYBSP_SWO_NUM 4U
#define CYBSP_SWO_DRIVEMODE CY_GPIO_DM_STRONG_IN_OFF
#define CYBSP_SWO_INIT_DRIVESTATE 1
#ifndef ioss_0_port_6_pin_4_HSIOM
    #define ioss_0_port_6_pin_4_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_SWO_HSIOM ioss_0_port_6_pin_4_HSIOM
#define CYBSP_SWO_IRQ ioss_interrupts_gpio_6_IRQn

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_SWO_HAL_PORT_PIN P6_4
#define CYBSP_SWO P6_4
#define CYBSP_SWO_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_SWO_HAL_DIR CYHAL_GPIO_DIR_OUTPUT 
#define CYBSP_SWO_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_STRONG
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_SWDIO_ENABLED 1U
#define CYBSP_SWDIO_PORT GPIO_PRT6
#define CYBSP_SWDIO_PORT_NUM 6U
#define CYBSP_SWDIO_PIN 6U
#define CYBSP_SWDIO_NUM 6U
#define CYBSP_SWDIO_DRIVEMODE CY_GPIO_DM_PULLUP
#define CYBSP_SWDIO_INIT_DRIVESTATE 1
#ifndef ioss_0_port_6_pin_6_HSIOM
    #define ioss_0_port_6_pin_6_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_SWDIO_HSIOM ioss_0_port_6_pin_6_HSIOM
#define CYBSP_SWDIO_IRQ ioss_interrupts_gpio_6_IRQn

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_SWDIO_HAL_PORT_PIN P6_6
#define CYBSP_SWDIO P6_6
#define CYBSP_SWDIO_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_SWDIO_HAL_DIR CYHAL_GPIO_DIR_BIDIRECTIONAL 
#define CYBSP_SWDIO_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_PULLUP
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_SWDCK_ENABLED 1U
#define CYBSP_SWDCK_PORT GPIO_PRT6
#define CYBSP_SWDCK_PORT_NUM 6U
#define CYBSP_SWDCK_PIN 7U
#define CYBSP_SWDCK_NUM 7U
#define CYBSP_SWDCK_DRIVEMODE CY_GPIO_DM_PULLDOWN
#define CYBSP_SWDCK_INIT_DRIVESTATE 1
#ifndef ioss_0_port_6_pin_7_HSIOM
    #define ioss_0_port_6_pin_7_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_SWDCK_HSIOM ioss_0_port_6_pin_7_HSIOM
#define CYBSP_SWDCK_IRQ ioss_interrupts_gpio_6_IRQn

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_SWDCK_HAL_PORT_PIN P6_7
#define CYBSP_SWDCK P6_7
#define CYBSP_SWDCK_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_SWDCK_HAL_DIR CYHAL_GPIO_DIR_BIDIRECTIONAL 
#define CYBSP_SWDCK_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_PULLDOWN
#define CYBSP_TRACE_CLK (P7_0)
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_CINA_ENABLED 1U
#define CYBSP_CINA_PORT GPIO_PRT7
#define CYBSP_CINA_PORT_NUM 7U
#define CYBSP_CINA_PIN 1U
#define CYBSP_CINA_NUM 1U
#define CYBSP_CINA_DRIVEMODE CY_GPIO_DM_ANALOG
#define CYBSP_CINA_INIT_DRIVESTATE 1
#ifndef ioss_0_port_7_pin_1_HSIOM
    #define ioss_0_port_7_pin_1_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_CINA_HSIOM ioss_0_port_7_pin_1_HSIOM
#define CYBSP_CINA_IRQ ioss_interrupts_gpio_7_IRQn

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_CINA_HAL_PORT_PIN P7_1
#define CYBSP_CINA P7_1
#define CYBSP_CINA_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_CINA_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_CINA_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_CINB_ENABLED 1U
#define CYBSP_CINB_PORT GPIO_PRT7
#define CYBSP_CINB_PORT_NUM 7U
#define CYBSP_CINB_PIN 2U
#define CYBSP_CINB_NUM 2U
#define CYBSP_CINB_DRIVEMODE CY_GPIO_DM_ANALOG
#define CYBSP_CINB_INIT_DRIVESTATE 1
#ifndef ioss_0_port_7_pin_2_HSIOM
    #define ioss_0_port_7_pin_2_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_CINB_HSIOM ioss_0_port_7_pin_2_HSIOM
#define CYBSP_CINB_IRQ ioss_interrupts_gpio_7_IRQn

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_CINB_HAL_PORT_PIN P7_2
#define CYBSP_CINB P7_2
#define CYBSP_CINB_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_CINB_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_CINB_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#define CYBSP_LED_RGB_BLUE (P7_3)
#define CYBSP_USER_LED5 CYBSP_LED_RGB_BLUE
#define CYBSP_TRACE_DATA3 (P7_4)
#define CYBSP_D8 (P7_5)
#define CYBSP_TRACE_DATA2 CYBSP_D8
#define CYBSP_D9 (P7_6)
#define CYBSP_TRACE_DATA1 CYBSP_D9
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_CMOD_ENABLED 1U
#define CYBSP_CMOD_PORT GPIO_PRT7
#define CYBSP_CMOD_PORT_NUM 7U
#define CYBSP_CMOD_PIN 7U
#define CYBSP_CMOD_NUM 7U
#define CYBSP_CMOD_DRIVEMODE CY_GPIO_DM_ANALOG
#define CYBSP_CMOD_INIT_DRIVESTATE 1
#ifndef ioss_0_port_7_pin_7_HSIOM
    #define ioss_0_port_7_pin_7_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_CMOD_HSIOM ioss_0_port_7_pin_7_HSIOM
#define CYBSP_CMOD_IRQ ioss_interrupts_gpio_7_IRQn

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_CMOD_HAL_PORT_PIN P7_7
#define CYBSP_CMOD P7_7
#define CYBSP_CMOD_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_CMOD_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_CMOD_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_CSD_BTN0_ENABLED 1U
#define CYBSP_CS_BTN0_ENABLED CYBSP_CSD_BTN0_ENABLED
#define CYBSP_CSD_BTN0_PORT GPIO_PRT8
#define CYBSP_CS_BTN0_PORT CYBSP_CSD_BTN0_PORT
#define CYBSP_CSD_BTN0_PORT_NUM 8U
#define CYBSP_CS_BTN0_PORT_NUM CYBSP_CSD_BTN0_PORT_NUM
#define CYBSP_CSD_BTN0_PIN 1U
#define CYBSP_CS_BTN0_PIN CYBSP_CSD_BTN0_PIN
#define CYBSP_CSD_BTN0_NUM 1U
#define CYBSP_CS_BTN0_NUM CYBSP_CSD_BTN0_NUM
#define CYBSP_CSD_BTN0_DRIVEMODE CY_GPIO_DM_ANALOG
#define CYBSP_CS_BTN0_DRIVEMODE CYBSP_CSD_BTN0_DRIVEMODE
#define CYBSP_CSD_BTN0_INIT_DRIVESTATE 1
#define CYBSP_CS_BTN0_INIT_DRIVESTATE CYBSP_CSD_BTN0_INIT_DRIVESTATE
#ifndef ioss_0_port_8_pin_1_HSIOM
    #define ioss_0_port_8_pin_1_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_CSD_BTN0_HSIOM ioss_0_port_8_pin_1_HSIOM
#define CYBSP_CS_BTN0_HSIOM CYBSP_CSD_BTN0_HSIOM
#define CYBSP_CSD_BTN0_IRQ ioss_interrupts_gpio_8_IRQn
#define CYBSP_CS_BTN0_IRQ CYBSP_CSD_BTN0_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_CSD_BTN0_HAL_PORT_PIN P8_1
#define CYBSP_CS_BTN0_HAL_PORT_PIN CYBSP_CSD_BTN0_HAL_PORT_PIN
#define CYBSP_CSD_BTN0 P8_1
#define CYBSP_CS_BTN0 CYBSP_CSD_BTN0
#define CYBSP_CSD_BTN0_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_CS_BTN0_HAL_IRQ CYBSP_CSD_BTN0_HAL_IRQ
#define CYBSP_CSD_BTN0_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_CS_BTN0_HAL_DIR CYBSP_CSD_BTN0_HAL_DIR
#define CYBSP_CSD_BTN0_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#define CYBSP_CS_BTN0_HAL_DRIVEMODE CYBSP_CSD_BTN0_HAL_DRIVEMODE
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_CSD_BTN1_ENABLED 1U
#define CYBSP_CS_BTN1_ENABLED CYBSP_CSD_BTN1_ENABLED
#define CYBSP_CSD_BTN1_PORT GPIO_PRT8
#define CYBSP_CS_BTN1_PORT CYBSP_CSD_BTN1_PORT
#define CYBSP_CSD_BTN1_PORT_NUM 8U
#define CYBSP_CS_BTN1_PORT_NUM CYBSP_CSD_BTN1_PORT_NUM
#define CYBSP_CSD_BTN1_PIN 2U
#define CYBSP_CS_BTN1_PIN CYBSP_CSD_BTN1_PIN
#define CYBSP_CSD_BTN1_NUM 2U
#define CYBSP_CS_BTN1_NUM CYBSP_CSD_BTN1_NUM
#define CYBSP_CSD_BTN1_DRIVEMODE CY_GPIO_DM_ANALOG
#define CYBSP_CS_BTN1_DRIVEMODE CYBSP_CSD_BTN1_DRIVEMODE
#define CYBSP_CSD_BTN1_INIT_DRIVESTATE 1
#define CYBSP_CS_BTN1_INIT_DRIVESTATE CYBSP_CSD_BTN1_INIT_DRIVESTATE
#ifndef ioss_0_port_8_pin_2_HSIOM
    #define ioss_0_port_8_pin_2_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_CSD_BTN1_HSIOM ioss_0_port_8_pin_2_HSIOM
#define CYBSP_CS_BTN1_HSIOM CYBSP_CSD_BTN1_HSIOM
#define CYBSP_CSD_BTN1_IRQ ioss_interrupts_gpio_8_IRQn
#define CYBSP_CS_BTN1_IRQ CYBSP_CSD_BTN1_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_CSD_BTN1_HAL_PORT_PIN P8_2
#define CYBSP_CS_BTN1_HAL_PORT_PIN CYBSP_CSD_BTN1_HAL_PORT_PIN
#define CYBSP_CSD_BTN1 P8_2
#define CYBSP_CS_BTN1 CYBSP_CSD_BTN1
#define CYBSP_CSD_BTN1_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_CS_BTN1_HAL_IRQ CYBSP_CSD_BTN1_HAL_IRQ
#define CYBSP_CSD_BTN1_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_CS_BTN1_HAL_DIR CYBSP_CSD_BTN1_HAL_DIR
#define CYBSP_CSD_BTN1_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#define CYBSP_CS_BTN1_HAL_DRIVEMODE CYBSP_CSD_BTN1_HAL_DRIVEMODE
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_CSD_SLD0_ENABLED 1U
#define CYBSP_CS_SLD0_ENABLED CYBSP_CSD_SLD0_ENABLED
#define CYBSP_CSD_SLD0_PORT GPIO_PRT8
#define CYBSP_CS_SLD0_PORT CYBSP_CSD_SLD0_PORT
#define CYBSP_CSD_SLD0_PORT_NUM 8U
#define CYBSP_CS_SLD0_PORT_NUM CYBSP_CSD_SLD0_PORT_NUM
#define CYBSP_CSD_SLD0_PIN 3U
#define CYBSP_CS_SLD0_PIN CYBSP_CSD_SLD0_PIN
#define CYBSP_CSD_SLD0_NUM 3U
#define CYBSP_CS_SLD0_NUM CYBSP_CSD_SLD0_NUM
#define CYBSP_CSD_SLD0_DRIVEMODE CY_GPIO_DM_ANALOG
#define CYBSP_CS_SLD0_DRIVEMODE CYBSP_CSD_SLD0_DRIVEMODE
#define CYBSP_CSD_SLD0_INIT_DRIVESTATE 1
#define CYBSP_CS_SLD0_INIT_DRIVESTATE CYBSP_CSD_SLD0_INIT_DRIVESTATE
#ifndef ioss_0_port_8_pin_3_HSIOM
    #define ioss_0_port_8_pin_3_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_CSD_SLD0_HSIOM ioss_0_port_8_pin_3_HSIOM
#define CYBSP_CS_SLD0_HSIOM CYBSP_CSD_SLD0_HSIOM
#define CYBSP_CSD_SLD0_IRQ ioss_interrupts_gpio_8_IRQn
#define CYBSP_CS_SLD0_IRQ CYBSP_CSD_SLD0_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_CSD_SLD0_HAL_PORT_PIN P8_3
#define CYBSP_CS_SLD0_HAL_PORT_PIN CYBSP_CSD_SLD0_HAL_PORT_PIN
#define CYBSP_CSD_SLD0 P8_3
#define CYBSP_CS_SLD0 CYBSP_CSD_SLD0
#define CYBSP_CSD_SLD0_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_CS_SLD0_HAL_IRQ CYBSP_CSD_SLD0_HAL_IRQ
#define CYBSP_CSD_SLD0_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_CS_SLD0_HAL_DIR CYBSP_CSD_SLD0_HAL_DIR
#define CYBSP_CSD_SLD0_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#define CYBSP_CS_SLD0_HAL_DRIVEMODE CYBSP_CSD_SLD0_HAL_DRIVEMODE
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_CSD_SLD1_ENABLED 1U
#define CYBSP_CS_SLD1_ENABLED CYBSP_CSD_SLD1_ENABLED
#define CYBSP_CSD_SLD1_PORT GPIO_PRT8
#define CYBSP_CS_SLD1_PORT CYBSP_CSD_SLD1_PORT
#define CYBSP_CSD_SLD1_PORT_NUM 8U
#define CYBSP_CS_SLD1_PORT_NUM CYBSP_CSD_SLD1_PORT_NUM
#define CYBSP_CSD_SLD1_PIN 4U
#define CYBSP_CS_SLD1_PIN CYBSP_CSD_SLD1_PIN
#define CYBSP_CSD_SLD1_NUM 4U
#define CYBSP_CS_SLD1_NUM CYBSP_CSD_SLD1_NUM
#define CYBSP_CSD_SLD1_DRIVEMODE CY_GPIO_DM_ANALOG
#define CYBSP_CS_SLD1_DRIVEMODE CYBSP_CSD_SLD1_DRIVEMODE
#define CYBSP_CSD_SLD1_INIT_DRIVESTATE 1
#define CYBSP_CS_SLD1_INIT_DRIVESTATE CYBSP_CSD_SLD1_INIT_DRIVESTATE
#ifndef ioss_0_port_8_pin_4_HSIOM
    #define ioss_0_port_8_pin_4_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_CSD_SLD1_HSIOM ioss_0_port_8_pin_4_HSIOM
#define CYBSP_CS_SLD1_HSIOM CYBSP_CSD_SLD1_HSIOM
#define CYBSP_CSD_SLD1_IRQ ioss_interrupts_gpio_8_IRQn
#define CYBSP_CS_SLD1_IRQ CYBSP_CSD_SLD1_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_CSD_SLD1_HAL_PORT_PIN P8_4
#define CYBSP_CS_SLD1_HAL_PORT_PIN CYBSP_CSD_SLD1_HAL_PORT_PIN
#define CYBSP_CSD_SLD1 P8_4
#define CYBSP_CS_SLD1 CYBSP_CSD_SLD1
#define CYBSP_CSD_SLD1_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_CS_SLD1_HAL_IRQ CYBSP_CSD_SLD1_HAL_IRQ
#define CYBSP_CSD_SLD1_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_CS_SLD1_HAL_DIR CYBSP_CSD_SLD1_HAL_DIR
#define CYBSP_CSD_SLD1_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#define CYBSP_CS_SLD1_HAL_DRIVEMODE CYBSP_CSD_SLD1_HAL_DRIVEMODE
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_CSD_SLD2_ENABLED 1U
#define CYBSP_CS_SLD2_ENABLED CYBSP_CSD_SLD2_ENABLED
#define CYBSP_CSD_SLD2_PORT GPIO_PRT8
#define CYBSP_CS_SLD2_PORT CYBSP_CSD_SLD2_PORT
#define CYBSP_CSD_SLD2_PORT_NUM 8U
#define CYBSP_CS_SLD2_PORT_NUM CYBSP_CSD_SLD2_PORT_NUM
#define CYBSP_CSD_SLD2_PIN 5U
#define CYBSP_CS_SLD2_PIN CYBSP_CSD_SLD2_PIN
#define CYBSP_CSD_SLD2_NUM 5U
#define CYBSP_CS_SLD2_NUM CYBSP_CSD_SLD2_NUM
#define CYBSP_CSD_SLD2_DRIVEMODE CY_GPIO_DM_ANALOG
#define CYBSP_CS_SLD2_DRIVEMODE CYBSP_CSD_SLD2_DRIVEMODE
#define CYBSP_CSD_SLD2_INIT_DRIVESTATE 1
#define CYBSP_CS_SLD2_INIT_DRIVESTATE CYBSP_CSD_SLD2_INIT_DRIVESTATE
#ifndef ioss_0_port_8_pin_5_HSIOM
    #define ioss_0_port_8_pin_5_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_CSD_SLD2_HSIOM ioss_0_port_8_pin_5_HSIOM
#define CYBSP_CS_SLD2_HSIOM CYBSP_CSD_SLD2_HSIOM
#define CYBSP_CSD_SLD2_IRQ ioss_interrupts_gpio_8_IRQn
#define CYBSP_CS_SLD2_IRQ CYBSP_CSD_SLD2_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_CSD_SLD2_HAL_PORT_PIN P8_5
#define CYBSP_CS_SLD2_HAL_PORT_PIN CYBSP_CSD_SLD2_HAL_PORT_PIN
#define CYBSP_CSD_SLD2 P8_5
#define CYBSP_CS_SLD2 CYBSP_CSD_SLD2
#define CYBSP_CSD_SLD2_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_CS_SLD2_HAL_IRQ CYBSP_CSD_SLD2_HAL_IRQ
#define CYBSP_CSD_SLD2_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_CS_SLD2_HAL_DIR CYBSP_CSD_SLD2_HAL_DIR
#define CYBSP_CSD_SLD2_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#define CYBSP_CS_SLD2_HAL_DRIVEMODE CYBSP_CSD_SLD2_HAL_DRIVEMODE
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_CSD_SLD3_ENABLED 1U
#define CYBSP_CS_SLD3_ENABLED CYBSP_CSD_SLD3_ENABLED
#define CYBSP_CSD_SLD3_PORT GPIO_PRT8
#define CYBSP_CS_SLD3_PORT CYBSP_CSD_SLD3_PORT
#define CYBSP_CSD_SLD3_PORT_NUM 8U
#define CYBSP_CS_SLD3_PORT_NUM CYBSP_CSD_SLD3_PORT_NUM
#define CYBSP_CSD_SLD3_PIN 6U
#define CYBSP_CS_SLD3_PIN CYBSP_CSD_SLD3_PIN
#define CYBSP_CSD_SLD3_NUM 6U
#define CYBSP_CS_SLD3_NUM CYBSP_CSD_SLD3_NUM
#define CYBSP_CSD_SLD3_DRIVEMODE CY_GPIO_DM_ANALOG
#define CYBSP_CS_SLD3_DRIVEMODE CYBSP_CSD_SLD3_DRIVEMODE
#define CYBSP_CSD_SLD3_INIT_DRIVESTATE 1
#define CYBSP_CS_SLD3_INIT_DRIVESTATE CYBSP_CSD_SLD3_INIT_DRIVESTATE
#ifndef ioss_0_port_8_pin_6_HSIOM
    #define ioss_0_port_8_pin_6_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_CSD_SLD3_HSIOM ioss_0_port_8_pin_6_HSIOM
#define CYBSP_CS_SLD3_HSIOM CYBSP_CSD_SLD3_HSIOM
#define CYBSP_CSD_SLD3_IRQ ioss_interrupts_gpio_8_IRQn
#define CYBSP_CS_SLD3_IRQ CYBSP_CSD_SLD3_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_CSD_SLD3_HAL_PORT_PIN P8_6
#define CYBSP_CS_SLD3_HAL_PORT_PIN CYBSP_CSD_SLD3_HAL_PORT_PIN
#define CYBSP_CSD_SLD3 P8_6
#define CYBSP_CS_SLD3 CYBSP_CSD_SLD3
#define CYBSP_CSD_SLD3_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_CS_SLD3_HAL_IRQ CYBSP_CSD_SLD3_HAL_IRQ
#define CYBSP_CSD_SLD3_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_CS_SLD3_HAL_DIR CYBSP_CSD_SLD3_HAL_DIR
#define CYBSP_CSD_SLD3_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#define CYBSP_CS_SLD3_HAL_DRIVEMODE CYBSP_CSD_SLD3_HAL_DRIVEMODE
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_CSD_SLD4_ENABLED 1U
#define CYBSP_CS_SLD4_ENABLED CYBSP_CSD_SLD4_ENABLED
#define CYBSP_CSD_SLD4_PORT GPIO_PRT8
#define CYBSP_CS_SLD4_PORT CYBSP_CSD_SLD4_PORT
#define CYBSP_CSD_SLD4_PORT_NUM 8U
#define CYBSP_CS_SLD4_PORT_NUM CYBSP_CSD_SLD4_PORT_NUM
#define CYBSP_CSD_SLD4_PIN 7U
#define CYBSP_CS_SLD4_PIN CYBSP_CSD_SLD4_PIN
#define CYBSP_CSD_SLD4_NUM 7U
#define CYBSP_CS_SLD4_NUM CYBSP_CSD_SLD4_NUM
#define CYBSP_CSD_SLD4_DRIVEMODE CY_GPIO_DM_ANALOG
#define CYBSP_CS_SLD4_DRIVEMODE CYBSP_CSD_SLD4_DRIVEMODE
#define CYBSP_CSD_SLD4_INIT_DRIVESTATE 1
#define CYBSP_CS_SLD4_INIT_DRIVESTATE CYBSP_CSD_SLD4_INIT_DRIVESTATE
#ifndef ioss_0_port_8_pin_7_HSIOM
    #define ioss_0_port_8_pin_7_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_CSD_SLD4_HSIOM ioss_0_port_8_pin_7_HSIOM
#define CYBSP_CS_SLD4_HSIOM CYBSP_CSD_SLD4_HSIOM
#define CYBSP_CSD_SLD4_IRQ ioss_interrupts_gpio_8_IRQn
#define CYBSP_CS_SLD4_IRQ CYBSP_CSD_SLD4_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_CSD_SLD4_HAL_PORT_PIN P8_7
#define CYBSP_CS_SLD4_HAL_PORT_PIN CYBSP_CSD_SLD4_HAL_PORT_PIN
#define CYBSP_CSD_SLD4 P8_7
#define CYBSP_CS_SLD4 CYBSP_CSD_SLD4
#define CYBSP_CSD_SLD4_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_CS_SLD4_HAL_IRQ CYBSP_CSD_SLD4_HAL_IRQ
#define CYBSP_CSD_SLD4_HAL_DIR CYHAL_GPIO_DIR_INPUT 
#define CYBSP_CS_SLD4_HAL_DIR CYBSP_CSD_SLD4_HAL_DIR
#define CYBSP_CSD_SLD4_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_ANALOG
#define CYBSP_CS_SLD4_HAL_DRIVEMODE CYBSP_CSD_SLD4_HAL_DRIVEMODE
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_A8_ENABLED 1U
#define CYBSP_J2_2_ENABLED CYBSP_A8_ENABLED
#define CYBSP_A8_PORT GPIO_PRT9
#define CYBSP_J2_2_PORT CYBSP_A8_PORT
#define CYBSP_A8_PORT_NUM 9U
#define CYBSP_J2_2_PORT_NUM CYBSP_A8_PORT_NUM
#define CYBSP_A8_PIN 0U
#define CYBSP_J2_2_PIN CYBSP_A8_PIN
#define CYBSP_A8_NUM 0U
#define CYBSP_J2_2_NUM CYBSP_A8_NUM
#define CYBSP_A8_DRIVEMODE CY_GPIO_DM_STRONG_IN_OFF
#define CYBSP_J2_2_DRIVEMODE CYBSP_A8_DRIVEMODE
#define CYBSP_A8_INIT_DRIVESTATE 1
#define CYBSP_J2_2_INIT_DRIVESTATE CYBSP_A8_INIT_DRIVESTATE
#ifndef ioss_0_port_9_pin_0_HSIOM
    #define ioss_0_port_9_pin_0_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_A8_HSIOM ioss_0_port_9_pin_0_HSIOM
#define CYBSP_J2_2_HSIOM CYBSP_A8_HSIOM
#define CYBSP_A8_IRQ ioss_interrupts_gpio_9_IRQn
#define CYBSP_J2_2_IRQ CYBSP_A8_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_A8_HAL_PORT_PIN P9_0
#define CYBSP_J2_2_HAL_PORT_PIN CYBSP_A8_HAL_PORT_PIN
#define CYBSP_A8 P9_0
#define CYBSP_J2_2 CYBSP_A8
#define CYBSP_A8_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_J2_2_HAL_IRQ CYBSP_A8_HAL_IRQ
#define CYBSP_A8_HAL_DIR CYHAL_GPIO_DIR_OUTPUT 
#define CYBSP_J2_2_HAL_DIR CYBSP_A8_HAL_DIR
#define CYBSP_A8_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_STRONG
#define CYBSP_J2_2_HAL_DRIVEMODE CYBSP_A8_HAL_DRIVEMODE
#define CYBSP_A9 (P9_1)
#define CYBSP_J2_4 CYBSP_A9
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_A10_ENABLED 1U
#define CYBSP_J2_6_ENABLED CYBSP_A10_ENABLED
#define CYBSP_A10_PORT GPIO_PRT9
#define CYBSP_J2_6_PORT CYBSP_A10_PORT
#define CYBSP_A10_PORT_NUM 9U
#define CYBSP_J2_6_PORT_NUM CYBSP_A10_PORT_NUM
#define CYBSP_A10_PIN 2U
#define CYBSP_J2_6_PIN CYBSP_A10_PIN
#define CYBSP_A10_NUM 2U
#define CYBSP_J2_6_NUM CYBSP_A10_NUM
#define CYBSP_A10_DRIVEMODE CY_GPIO_DM_STRONG_IN_OFF
#define CYBSP_J2_6_DRIVEMODE CYBSP_A10_DRIVEMODE
#define CYBSP_A10_INIT_DRIVESTATE 1
#define CYBSP_J2_6_INIT_DRIVESTATE CYBSP_A10_INIT_DRIVESTATE
#ifndef ioss_0_port_9_pin_2_HSIOM
    #define ioss_0_port_9_pin_2_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_A10_HSIOM ioss_0_port_9_pin_2_HSIOM
#define CYBSP_J2_6_HSIOM CYBSP_A10_HSIOM
#define CYBSP_A10_IRQ ioss_interrupts_gpio_9_IRQn
#define CYBSP_J2_6_IRQ CYBSP_A10_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_A10_HAL_PORT_PIN P9_2
#define CYBSP_J2_6_HAL_PORT_PIN CYBSP_A10_HAL_PORT_PIN
#define CYBSP_A10 P9_2
#define CYBSP_J2_6 CYBSP_A10
#define CYBSP_A10_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_J2_6_HAL_IRQ CYBSP_A10_HAL_IRQ
#define CYBSP_A10_HAL_DIR CYHAL_GPIO_DIR_OUTPUT 
#define CYBSP_J2_6_HAL_DIR CYBSP_A10_HAL_DIR
#define CYBSP_A10_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_STRONG
#define CYBSP_J2_6_HAL_DRIVEMODE CYBSP_A10_HAL_DRIVEMODE
#define CYBSP_A11 (P9_3)
#define CYBSP_J2_8 CYBSP_A11
#define CYBSP_TRACE_DATA0 CYBSP_A11
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_A12_ENABLED 1U
#define CYBSP_J2_10_ENABLED CYBSP_A12_ENABLED
#define CYBSP_A12_PORT GPIO_PRT9
#define CYBSP_J2_10_PORT CYBSP_A12_PORT
#define CYBSP_A12_PORT_NUM 9U
#define CYBSP_J2_10_PORT_NUM CYBSP_A12_PORT_NUM
#define CYBSP_A12_PIN 4U
#define CYBSP_J2_10_PIN CYBSP_A12_PIN
#define CYBSP_A12_NUM 4U
#define CYBSP_J2_10_NUM CYBSP_A12_NUM
#define CYBSP_A12_DRIVEMODE CY_GPIO_DM_STRONG_IN_OFF
#define CYBSP_J2_10_DRIVEMODE CYBSP_A12_DRIVEMODE
#define CYBSP_A12_INIT_DRIVESTATE 1
#define CYBSP_J2_10_INIT_DRIVESTATE CYBSP_A12_INIT_DRIVESTATE
#ifndef ioss_0_port_9_pin_4_HSIOM
    #define ioss_0_port_9_pin_4_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_A12_HSIOM ioss_0_port_9_pin_4_HSIOM
#define CYBSP_J2_10_HSIOM CYBSP_A12_HSIOM
#define CYBSP_A12_IRQ ioss_interrupts_gpio_9_IRQn
#define CYBSP_J2_10_IRQ CYBSP_A12_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_A12_HAL_PORT_PIN P9_4
#define CYBSP_J2_10_HAL_PORT_PIN CYBSP_A12_HAL_PORT_PIN
#define CYBSP_A12 P9_4
#define CYBSP_J2_10 CYBSP_A12
#define CYBSP_A12_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_J2_10_HAL_IRQ CYBSP_A12_HAL_IRQ
#define CYBSP_A12_HAL_DIR CYHAL_GPIO_DIR_OUTPUT 
#define CYBSP_J2_10_HAL_DIR CYBSP_A12_HAL_DIR
#define CYBSP_A12_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_STRONG
#define CYBSP_J2_10_HAL_DRIVEMODE CYBSP_A12_HAL_DRIVEMODE
#define CYBSP_A13 (P9_5)
#define CYBSP_J2_12 CYBSP_A13
#define CYBSP_A14 (P9_6)
#define CYBSP_J2_14 CYBSP_A14
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

#define CYBSP_A15_ENABLED 1U
#define CYBSP_J2_16_ENABLED CYBSP_A15_ENABLED
#define CYBSP_A15_PORT GPIO_PRT9
#define CYBSP_J2_16_PORT CYBSP_A15_PORT
#define CYBSP_A15_PORT_NUM 9U
#define CYBSP_J2_16_PORT_NUM CYBSP_A15_PORT_NUM
#define CYBSP_A15_PIN 7U
#define CYBSP_J2_16_PIN CYBSP_A15_PIN
#define CYBSP_A15_NUM 7U
#define CYBSP_J2_16_NUM CYBSP_A15_NUM
#define CYBSP_A15_DRIVEMODE CY_GPIO_DM_STRONG_IN_OFF
#define CYBSP_J2_16_DRIVEMODE CYBSP_A15_DRIVEMODE
#define CYBSP_A15_INIT_DRIVESTATE 1
#define CYBSP_J2_16_INIT_DRIVESTATE CYBSP_A15_INIT_DRIVESTATE
#ifndef ioss_0_port_9_pin_7_HSIOM
    #define ioss_0_port_9_pin_7_HSIOM HSIOM_SEL_GPIO
#endif
#define CYBSP_A15_HSIOM ioss_0_port_9_pin_7_HSIOM
#define CYBSP_J2_16_HSIOM CYBSP_A15_HSIOM
#define CYBSP_A15_IRQ ioss_interrupts_gpio_9_IRQn
#define CYBSP_J2_16_IRQ CYBSP_A15_IRQ

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
#define CYBSP_A15_HAL_PORT_PIN P9_7
#define CYBSP_J2_16_HAL_PORT_PIN CYBSP_A15_HAL_PORT_PIN
#define CYBSP_A15 P9_7
#define CYBSP_J2_16 CYBSP_A15
#define CYBSP_A15_HAL_IRQ CYHAL_GPIO_IRQ_NONE
#define CYBSP_J2_16_HAL_IRQ CYBSP_A15_HAL_IRQ
#define CYBSP_A15_HAL_DIR CYHAL_GPIO_DIR_OUTPUT 
#define CYBSP_J2_16_HAL_DIR CYBSP_A15_HAL_DIR
#define CYBSP_A15_HAL_DRIVEMODE CYHAL_GPIO_DRIVE_STRONG
#define CYBSP_J2_16_HAL_DRIVEMODE CYBSP_A15_HAL_DRIVEMODE
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_WCO_IN_config;

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_WCO_IN_obj;
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_WCO_OUT_config;

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_WCO_OUT_obj;
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t ioss_0_port_0_pin_2_config;

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t ioss_0_port_0_pin_2_obj;
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_SW2_config;

#define CYBSP_USER_BTN1_config CYBSP_SW2_config
#define CYBSP_USER_BTN_config CYBSP_SW2_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_SW2_obj;
#define CYBSP_USER_BTN1_obj CYBSP_SW2_obj
#define CYBSP_USER_BTN_obj CYBSP_SW2_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_A0_config;

#define CYBSP_J2_1_config CYBSP_A0_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_A0_obj;
#define CYBSP_J2_1_obj CYBSP_A0_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_A1_config;

#define CYBSP_J2_3_config CYBSP_A1_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_A1_obj;
#define CYBSP_J2_3_obj CYBSP_A1_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_A2_config;

#define CYBSP_J2_5_config CYBSP_A2_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_A2_obj;
#define CYBSP_J2_5_obj CYBSP_A2_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t ioss_0_port_12_pin_6_config;

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t ioss_0_port_12_pin_6_obj;
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t ioss_0_port_12_pin_7_config;

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t ioss_0_port_12_pin_7_obj;
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_CSD_RX_config;

#define CYBSP_CS_RX_config CYBSP_CSD_RX_config
#define CYBSP_CS_TX_RX_config CYBSP_CSD_RX_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_CSD_RX_obj;
#define CYBSP_CS_RX_obj CYBSP_CSD_RX_obj
#define CYBSP_CS_TX_RX_obj CYBSP_CSD_RX_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_SWO_config;

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_SWO_obj;
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_SWDIO_config;

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_SWDIO_obj;
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_SWDCK_config;

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_SWDCK_obj;
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_CINA_config;

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_CINA_obj;
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_CINB_config;

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_CINB_obj;
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_CMOD_config;

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_CMOD_obj;
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_CSD_BTN0_config;

#define CYBSP_CS_BTN0_config CYBSP_CSD_BTN0_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_CSD_BTN0_obj;
#define CYBSP_CS_BTN0_obj CYBSP_CSD_BTN0_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_CSD_BTN1_config;

#define CYBSP_CS_BTN1_config CYBSP_CSD_BTN1_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_CSD_BTN1_obj;
#define CYBSP_CS_BTN1_obj CYBSP_CSD_BTN1_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD0_config;

#define CYBSP_CS_SLD0_config CYBSP_CSD_SLD0_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_CSD_SLD0_obj;
#define CYBSP_CS_SLD0_obj CYBSP_CSD_SLD0_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD1_config;

#define CYBSP_CS_SLD1_config CYBSP_CSD_SLD1_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_CSD_SLD1_obj;
#define CYBSP_CS_SLD1_obj CYBSP_CSD_SLD1_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD2_config;

#define CYBSP_CS_SLD2_config CYBSP_CSD_SLD2_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_CSD_SLD2_obj;
#define CYBSP_CS_SLD2_obj CYBSP_CSD_SLD2_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD3_config;

#define CYBSP_CS_SLD3_config CYBSP_CSD_SLD3_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_CSD_SLD3_obj;
#define CYBSP_CS_SLD3_obj CYBSP_CSD_SLD3_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_CSD_SLD4_config;

#define CYBSP_CS_SLD4_config CYBSP_CSD_SLD4_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_CSD_SLD4_obj;
#define CYBSP_CS_SLD4_obj CYBSP_CSD_SLD4_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_A8_config;

#define CYBSP_J2_2_config CYBSP_A8_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_A8_obj;
#define CYBSP_J2_2_obj CYBSP_A8_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_A10_config;

#define CYBSP_J2_6_config CYBSP_A10_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_A10_obj;
#define CYBSP_J2_6_obj CYBSP_A10_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_A12_config;

#define CYBSP_J2_10_config CYBSP_A12_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_A12_obj;
#define CYBSP_J2_10_obj CYBSP_A12_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

extern const cy_stc_gpio_pin_config_t CYBSP_A15_config;

#define CYBSP_J2_16_config CYBSP_A15_config

#if defined (CY_USING_HAL) || (CY_USING_HAL_LITE)
extern const cyhal_resource_inst_t CYBSP_A15_obj;
#define CYBSP_J2_16_obj CYBSP_A15_obj
#endif /* defined (CY_USING_HAL) || (CY_USING_HAL_LITE) */

void init_cycfg_pins(void);
void reserve_cycfg_pins(void);

#if defined(__cplusplus)
}
#endif /* defined(__cplusplus) */

#endif /* CYCFG_PINS_H */
