blob: d8e3c8ab28fc58559e9e3be163b1ea6f0296842a [file] [log] [blame]
/*******************************************************************************
* File Name: cycfg_pins.h
*
* Description:
* Pin configuration
* This file was automatically generated and should not be modified.
* Tools Package 2.3.0.4276
* 30739A0 CSP
* personalities 1.0.0.31
* udd 3.0.0.1636
*
********************************************************************************
* Copyright 2022 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 "cycfg_routing.h"
#include "wiced_platform.h"
#if defined(__cplusplus)
extern "C" {
#endif
#define amplifiers_0_ENABLED 1U
#define bluetooth_0_ENABLED 1U
#define ioss_0_ENABLED 1U
#define WICED_GET_PIN_FOR_LED(idx) (*(platform_led[(idx)].gpio))
#define WICED_GET_PIN_FOR_BUTTON(idx) (*(platform_button[(idx)].gpio))
#define WICED_GET_PIN_FOR_IO(idx) (*(platform_gpio[(idx)].gpio))
#define BUTTON_USER_ENABLED 1U
#define BUTTON_USER WICED_P00
#define PUART_TXD_ENABLED 1U
#define PUART_TXD WICED_P10
//#define GPIO3_ENABLED 1U
//#define GPIO3 WICED_P16
#define RX_PU_ENABLED 1U
#define RX_PU WICED_P17
//#define GPIO4_ENABLED 1U
//#define GPIO4 WICED_P25
#define TX_PU_ENABLED 1U
#define TX_PU WICED_P26
//#define GPIO5_ENABLED 1U
//#define GPIO5 WICED_P28
//#define GPIO6_ENABLED 1U
//#define GPIO6 WICED_P29
#define DEBUG_UART_TXD_ENABLED 1U
#define DEBUG_UART_TXD WICED_P33
#define LED1_ENABLED 1U
#define LED1 WICED_P34
#define LED2_ENABLED 1U
#define LED2 WICED_P38
#define PWM0_ENABLED 1U
#define PWM0 WICED_P04
#define PUART_RXD_ENABLED 1U
#define PUART_RXD WICED_P06
#define GPIO2_ENABLED 1U
#define GPIO2 WICED_P07
#define pwm_0_ENABLED 1U
#define spi_1_ENABLED 1U
#define uart_1_ENABLED 1U
extern const wiced_platform_gpio_t platform_gpio_pins[];
extern const size_t platform_gpio_pin_count;
extern const wiced_platform_led_config_t platform_led[];
extern const size_t led_count;
extern const wiced_platform_button_config_t platform_button[];
extern const size_t button_count;
extern const wiced_platform_gpio_config_t platform_gpio[];
extern const size_t gpio_count;
#if defined(__cplusplus)
}
#endif
#endif /* CYCFG_PINS_H */