Hardware Abstraction Layer (HAL)

General Description

Pin definitions and connections specific to the PSoC6_02 100-WLCSP package.

Data Structures

struct  cyhal_resource_pin_mapping_t
 Represents an association between a pin and a resource. More...
 

Macros

#define CYHAL_GET_GPIO(port, pin)   ((((uint8_t)(port)) << 3U) + ((uint8_t)(pin)))
 Gets a pin definition from the provided port and pin numbers.
 
#define CYHAL_GET_PIN(pin)   ((uint8_t)(((uint8_t)pin) & 0x07U))
 Macro that, given a gpio, will extract the pin number.
 
#define CYHAL_GET_PORT(pin)   ((uint8_t)((((uint8_t)pin) >> 3U) & 0x1FU))
 Macro that, given a gpio, will extract the port number.
 
#define CYHAL_PIN_MAP_AUDIOSS_CLK_I2S_IF
 Indicates that a pin map exists for audioss_clk_i2s_if.
 
#define CYHAL_PIN_MAP_AUDIOSS_PDM_CLK
 Indicates that a pin map exists for audioss_pdm_clk.
 
#define CYHAL_PIN_MAP_AUDIOSS_PDM_DATA
 Indicates that a pin map exists for audioss_pdm_data.
 
#define CYHAL_PIN_MAP_AUDIOSS_RX_SCK
 Indicates that a pin map exists for audioss_rx_sck.
 
#define CYHAL_PIN_MAP_AUDIOSS_RX_SDI
 Indicates that a pin map exists for audioss_rx_sdi.
 
#define CYHAL_PIN_MAP_AUDIOSS_RX_WS
 Indicates that a pin map exists for audioss_rx_ws.
 
#define CYHAL_PIN_MAP_AUDIOSS_TX_SCK
 Indicates that a pin map exists for audioss_tx_sck.
 
#define CYHAL_PIN_MAP_AUDIOSS_TX_SDO
 Indicates that a pin map exists for audioss_tx_sdo.
 
#define CYHAL_PIN_MAP_AUDIOSS_TX_WS
 Indicates that a pin map exists for audioss_tx_ws.
 
#define CYHAL_PIN_MAP_LPCOMP_DSI_COMP
 Indicates that a pin map exists for lpcomp_dsi_comp.
 
#define CYHAL_PIN_MAP_LPCOMP_INN_COMP
 Indicates that a pin map exists for lpcomp_inn_comp.
 
#define CYHAL_PIN_MAP_LPCOMP_INP_COMP
 Indicates that a pin map exists for lpcomp_inp_comp.
 
#define CYHAL_PIN_MAP_PASS_SARMUX_PADS
 Indicates that a pin map exists for pass_sarmux_pads.
 
#define CYHAL_PIN_MAP_SCB_I2C_SCL
 Indicates that a pin map exists for scb_i2c_scl.
 
#define CYHAL_PIN_MAP_SCB_I2C_SDA
 Indicates that a pin map exists for scb_i2c_sda.
 
#define CYHAL_PIN_MAP_SCB_SPI_M_CLK
 Indicates that a pin map exists for scb_spi_m_clk.
 
#define CYHAL_PIN_MAP_SCB_SPI_M_MISO
 Indicates that a pin map exists for scb_spi_m_miso.
 
#define CYHAL_PIN_MAP_SCB_SPI_M_MOSI
 Indicates that a pin map exists for scb_spi_m_mosi.
 
#define CYHAL_PIN_MAP_SCB_SPI_M_SELECT0
 Indicates that a pin map exists for scb_spi_m_select0.
 
#define CYHAL_PIN_MAP_SCB_SPI_M_SELECT1
 Indicates that a pin map exists for scb_spi_m_select1.
 
#define CYHAL_PIN_MAP_SCB_SPI_M_SELECT2
 Indicates that a pin map exists for scb_spi_m_select2.
 
#define CYHAL_PIN_MAP_SCB_SPI_M_SELECT3
 Indicates that a pin map exists for scb_spi_m_select3.
 
#define CYHAL_PIN_MAP_SCB_SPI_S_CLK
 Indicates that a pin map exists for scb_spi_s_clk.
 
#define CYHAL_PIN_MAP_SCB_SPI_S_MISO
 Indicates that a pin map exists for scb_spi_s_miso.
 
#define CYHAL_PIN_MAP_SCB_SPI_S_MOSI
 Indicates that a pin map exists for scb_spi_s_mosi.
 
#define CYHAL_PIN_MAP_SCB_SPI_S_SELECT0
 Indicates that a pin map exists for scb_spi_s_select0.
 
#define CYHAL_PIN_MAP_SCB_SPI_S_SELECT1
 Indicates that a pin map exists for scb_spi_s_select1.
 
#define CYHAL_PIN_MAP_SCB_SPI_S_SELECT2
 Indicates that a pin map exists for scb_spi_s_select2.
 
#define CYHAL_PIN_MAP_SCB_SPI_S_SELECT3
 Indicates that a pin map exists for scb_spi_s_select3.
 
#define CYHAL_PIN_MAP_SCB_UART_CTS
 Indicates that a pin map exists for scb_uart_cts.
 
#define CYHAL_PIN_MAP_SCB_UART_RTS
 Indicates that a pin map exists for scb_uart_rts.
 
#define CYHAL_PIN_MAP_SCB_UART_RX
 Indicates that a pin map exists for scb_uart_rx.
 
#define CYHAL_PIN_MAP_SCB_UART_TX
 Indicates that a pin map exists for scb_uart_tx.
 
#define CYHAL_PIN_MAP_SDHC_CARD_CMD
 Indicates that a pin map exists for sdhc_card_cmd.
 
#define CYHAL_PIN_MAP_SDHC_CARD_DAT_3TO0
 Indicates that a pin map exists for sdhc_card_dat_3to0.
 
#define CYHAL_PIN_MAP_SDHC_CARD_DAT_7TO4
 Indicates that a pin map exists for sdhc_card_dat_7to4.
 
#define CYHAL_PIN_MAP_SDHC_CARD_DETECT_N
 Indicates that a pin map exists for sdhc_card_detect_n.
 
#define CYHAL_PIN_MAP_SDHC_CARD_EMMC_RESET_N
 Indicates that a pin map exists for sdhc_card_emmc_reset_n.
 
#define CYHAL_PIN_MAP_SDHC_CARD_IF_PWR_EN
 Indicates that a pin map exists for sdhc_card_if_pwr_en.
 
#define CYHAL_PIN_MAP_SDHC_CARD_MECH_WRITE_PROT
 Indicates that a pin map exists for sdhc_card_mech_write_prot.
 
#define CYHAL_PIN_MAP_SDHC_CLK_CARD
 Indicates that a pin map exists for sdhc_clk_card.
 
#define CYHAL_PIN_MAP_SDHC_IO_VOLT_SEL
 Indicates that a pin map exists for sdhc_io_volt_sel.
 
#define CYHAL_PIN_MAP_SDHC_LED_CTRL
 Indicates that a pin map exists for sdhc_led_ctrl.
 
#define CYHAL_PIN_MAP_SMIF_SPI_CLK
 Indicates that a pin map exists for smif_spi_clk.
 
#define CYHAL_PIN_MAP_SMIF_SPI_DATA0
 Indicates that a pin map exists for smif_spi_data0.
 
#define CYHAL_PIN_MAP_SMIF_SPI_DATA1
 Indicates that a pin map exists for smif_spi_data1.
 
#define CYHAL_PIN_MAP_SMIF_SPI_DATA2
 Indicates that a pin map exists for smif_spi_data2.
 
#define CYHAL_PIN_MAP_SMIF_SPI_DATA3
 Indicates that a pin map exists for smif_spi_data3.
 
#define CYHAL_PIN_MAP_SMIF_SPI_DATA4
 Indicates that a pin map exists for smif_spi_data4.
 
#define CYHAL_PIN_MAP_SMIF_SPI_DATA5
 Indicates that a pin map exists for smif_spi_data5.
 
#define CYHAL_PIN_MAP_SMIF_SPI_DATA6
 Indicates that a pin map exists for smif_spi_data6.
 
#define CYHAL_PIN_MAP_SMIF_SPI_DATA7
 Indicates that a pin map exists for smif_spi_data7.
 
#define CYHAL_PIN_MAP_SMIF_SPI_SELECT0
 Indicates that a pin map exists for smif_spi_select0.
 
#define CYHAL_PIN_MAP_SMIF_SPI_SELECT1
 Indicates that a pin map exists for smif_spi_select1.
 
#define CYHAL_PIN_MAP_SMIF_SPI_SELECT2
 Indicates that a pin map exists for smif_spi_select2.
 
#define CYHAL_PIN_MAP_SMIF_SPI_SELECT3
 Indicates that a pin map exists for smif_spi_select3.
 
#define CYHAL_PIN_MAP_TCPWM_LINE
 Indicates that a pin map exists for tcpwm_line.
 
#define CYHAL_PIN_MAP_TCPWM_LINE_COMPL
 Indicates that a pin map exists for tcpwm_line_compl.
 
#define CYHAL_PIN_MAP_USB_USB_DM_PAD
 Indicates that a pin map exists for usb_usb_dm_pad.
 
#define CYHAL_PIN_MAP_USB_USB_DP_PAD
 Indicates that a pin map exists for usb_usb_dp_pad.
 

Typedefs

typedef cyhal_gpio_psoc6_02_100_wlcsp_t cyhal_gpio_t
 Create generic name for the series/package specific type. More...
 

Enumerations

enum  cyhal_gpio_psoc6_02_100_wlcsp_t {
  NC = 0xFF,
  P0_0 = CYHAL_GET_GPIO(CYHAL_PORT_0, 0),
  P0_1 = CYHAL_GET_GPIO(CYHAL_PORT_0, 1),
  P0_2 = CYHAL_GET_GPIO(CYHAL_PORT_0, 2),
  P0_3 = CYHAL_GET_GPIO(CYHAL_PORT_0, 3),
  P0_4 = CYHAL_GET_GPIO(CYHAL_PORT_0, 4),
  P0_5 = CYHAL_GET_GPIO(CYHAL_PORT_0, 5),
  P1_0 = CYHAL_GET_GPIO(CYHAL_PORT_1, 0),
  P1_1 = CYHAL_GET_GPIO(CYHAL_PORT_1, 1),
  P1_4 = CYHAL_GET_GPIO(CYHAL_PORT_1, 4),
  P1_5 = CYHAL_GET_GPIO(CYHAL_PORT_1, 5),
  P2_0 = CYHAL_GET_GPIO(CYHAL_PORT_2, 0),
  P2_1 = CYHAL_GET_GPIO(CYHAL_PORT_2, 1),
  P2_2 = CYHAL_GET_GPIO(CYHAL_PORT_2, 2),
  P2_3 = CYHAL_GET_GPIO(CYHAL_PORT_2, 3),
  P2_4 = CYHAL_GET_GPIO(CYHAL_PORT_2, 4),
  P2_5 = CYHAL_GET_GPIO(CYHAL_PORT_2, 5),
  P2_6 = CYHAL_GET_GPIO(CYHAL_PORT_2, 6),
  P2_7 = CYHAL_GET_GPIO(CYHAL_PORT_2, 7),
  P5_0 = CYHAL_GET_GPIO(CYHAL_PORT_5, 0),
  P5_1 = CYHAL_GET_GPIO(CYHAL_PORT_5, 1),
  P5_2 = CYHAL_GET_GPIO(CYHAL_PORT_5, 2),
  P5_3 = CYHAL_GET_GPIO(CYHAL_PORT_5, 3),
  P5_4 = CYHAL_GET_GPIO(CYHAL_PORT_5, 4),
  P5_5 = CYHAL_GET_GPIO(CYHAL_PORT_5, 5),
  P5_6 = CYHAL_GET_GPIO(CYHAL_PORT_5, 6),
  P5_7 = CYHAL_GET_GPIO(CYHAL_PORT_5, 7),
  P6_0 = CYHAL_GET_GPIO(CYHAL_PORT_6, 0),
  P6_1 = CYHAL_GET_GPIO(CYHAL_PORT_6, 1),
  P6_2 = CYHAL_GET_GPIO(CYHAL_PORT_6, 2),
  P6_3 = CYHAL_GET_GPIO(CYHAL_PORT_6, 3),
  P6_4 = CYHAL_GET_GPIO(CYHAL_PORT_6, 4),
  P6_5 = CYHAL_GET_GPIO(CYHAL_PORT_6, 5),
  P6_6 = CYHAL_GET_GPIO(CYHAL_PORT_6, 6),
  P6_7 = CYHAL_GET_GPIO(CYHAL_PORT_6, 7),
  P7_0 = CYHAL_GET_GPIO(CYHAL_PORT_7, 0),
  P7_1 = CYHAL_GET_GPIO(CYHAL_PORT_7, 1),
  P7_2 = CYHAL_GET_GPIO(CYHAL_PORT_7, 2),
  P7_3 = CYHAL_GET_GPIO(CYHAL_PORT_7, 3),
  P7_7 = CYHAL_GET_GPIO(CYHAL_PORT_7, 7),
  P8_0 = CYHAL_GET_GPIO(CYHAL_PORT_8, 0),
  P8_1 = CYHAL_GET_GPIO(CYHAL_PORT_8, 1),
  P8_2 = CYHAL_GET_GPIO(CYHAL_PORT_8, 2),
  P8_3 = CYHAL_GET_GPIO(CYHAL_PORT_8, 3),
  P8_4 = CYHAL_GET_GPIO(CYHAL_PORT_8, 4),
  P9_0 = CYHAL_GET_GPIO(CYHAL_PORT_9, 0),
  P9_1 = CYHAL_GET_GPIO(CYHAL_PORT_9, 1),
  P9_2 = CYHAL_GET_GPIO(CYHAL_PORT_9, 2),
  P9_3 = CYHAL_GET_GPIO(CYHAL_PORT_9, 3),
  P9_4 = CYHAL_GET_GPIO(CYHAL_PORT_9, 4),
  P9_7 = CYHAL_GET_GPIO(CYHAL_PORT_9, 7),
  P10_0 = CYHAL_GET_GPIO(CYHAL_PORT_10, 0),
  P10_1 = CYHAL_GET_GPIO(CYHAL_PORT_10, 1),
  P10_2 = CYHAL_GET_GPIO(CYHAL_PORT_10, 2),
  P10_3 = CYHAL_GET_GPIO(CYHAL_PORT_10, 3),
  P10_4 = CYHAL_GET_GPIO(CYHAL_PORT_10, 4),
  P10_5 = CYHAL_GET_GPIO(CYHAL_PORT_10, 5),
  P10_6 = CYHAL_GET_GPIO(CYHAL_PORT_10, 6),
  P10_7 = CYHAL_GET_GPIO(CYHAL_PORT_10, 7),
  P11_0 = CYHAL_GET_GPIO(CYHAL_PORT_11, 0),
  P11_1 = CYHAL_GET_GPIO(CYHAL_PORT_11, 1),
  P11_2 = CYHAL_GET_GPIO(CYHAL_PORT_11, 2),
  P11_3 = CYHAL_GET_GPIO(CYHAL_PORT_11, 3),
  P11_4 = CYHAL_GET_GPIO(CYHAL_PORT_11, 4),
  P11_5 = CYHAL_GET_GPIO(CYHAL_PORT_11, 5),
  P11_6 = CYHAL_GET_GPIO(CYHAL_PORT_11, 6),
  P11_7 = CYHAL_GET_GPIO(CYHAL_PORT_11, 7),
  P12_0 = CYHAL_GET_GPIO(CYHAL_PORT_12, 0),
  P12_1 = CYHAL_GET_GPIO(CYHAL_PORT_12, 1),
  P12_2 = CYHAL_GET_GPIO(CYHAL_PORT_12, 2),
  P12_3 = CYHAL_GET_GPIO(CYHAL_PORT_12, 3),
  P12_4 = CYHAL_GET_GPIO(CYHAL_PORT_12, 4),
  P12_5 = CYHAL_GET_GPIO(CYHAL_PORT_12, 5),
  P12_6 = CYHAL_GET_GPIO(CYHAL_PORT_12, 6),
  P12_7 = CYHAL_GET_GPIO(CYHAL_PORT_12, 7),
  P13_0 = CYHAL_GET_GPIO(CYHAL_PORT_13, 0),
  P13_1 = CYHAL_GET_GPIO(CYHAL_PORT_13, 1),
  P13_2 = CYHAL_GET_GPIO(CYHAL_PORT_13, 2),
  P13_3 = CYHAL_GET_GPIO(CYHAL_PORT_13, 3),
  P13_4 = CYHAL_GET_GPIO(CYHAL_PORT_13, 4),
  P13_5 = CYHAL_GET_GPIO(CYHAL_PORT_13, 5),
  P13_6 = CYHAL_GET_GPIO(CYHAL_PORT_13, 6),
  P13_7 = CYHAL_GET_GPIO(CYHAL_PORT_13, 7),
  USBDP = CYHAL_GET_GPIO(CYHAL_PORT_14, 0),
  USBDM = CYHAL_GET_GPIO(CYHAL_PORT_14, 1)
}
 Definitions for all of the pins that are bonded out on in the 100-WLCSP package for the PSoC6_02 series. More...
 

Variables

const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_clk_i2s_if [4]
 List of valid pin to peripheral connections for the audioss_clk_i2s_if signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_pdm_clk [2]
 List of valid pin to peripheral connections for the audioss_pdm_clk signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_pdm_data [2]
 List of valid pin to peripheral connections for the audioss_pdm_data signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_rx_sck [4]
 List of valid pin to peripheral connections for the audioss_rx_sck signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_rx_sdi [3]
 List of valid pin to peripheral connections for the audioss_rx_sdi signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_rx_ws [3]
 List of valid pin to peripheral connections for the audioss_rx_ws signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_tx_sck [4]
 List of valid pin to peripheral connections for the audioss_tx_sck signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_tx_sdo [4]
 List of valid pin to peripheral connections for the audioss_tx_sdo signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_tx_ws [4]
 List of valid pin to peripheral connections for the audioss_tx_ws signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_lpcomp_dsi_comp [2]
 List of valid pin to peripheral connections for the lpcomp_dsi_comp signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_lpcomp_inn_comp [2]
 List of valid pin to peripheral connections for the lpcomp_inn_comp signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_lpcomp_inp_comp [2]
 List of valid pin to peripheral connections for the lpcomp_inp_comp signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_pass_sarmux_pads [8]
 List of valid pin to peripheral connections for the pass_sarmux_pads signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_i2c_scl [19]
 List of valid pin to peripheral connections for the scb_i2c_scl signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_i2c_sda [18]
 List of valid pin to peripheral connections for the scb_i2c_sda signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_clk [14]
 List of valid pin to peripheral connections for the scb_spi_m_clk signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_miso [15]
 List of valid pin to peripheral connections for the scb_spi_m_miso signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_mosi [15]
 List of valid pin to peripheral connections for the scb_spi_m_mosi signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_select0 [14]
 List of valid pin to peripheral connections for the scb_spi_m_select0 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_select1 [11]
 List of valid pin to peripheral connections for the scb_spi_m_select1 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_select2 [8]
 List of valid pin to peripheral connections for the scb_spi_m_select2 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_select3 [7]
 List of valid pin to peripheral connections for the scb_spi_m_select3 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_clk [14]
 List of valid pin to peripheral connections for the scb_spi_s_clk signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_miso [15]
 List of valid pin to peripheral connections for the scb_spi_s_miso signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_mosi [15]
 List of valid pin to peripheral connections for the scb_spi_s_mosi signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_select0 [14]
 List of valid pin to peripheral connections for the scb_spi_s_select0 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_select1 [11]
 List of valid pin to peripheral connections for the scb_spi_s_select1 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_select2 [8]
 List of valid pin to peripheral connections for the scb_spi_s_select2 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_select3 [7]
 List of valid pin to peripheral connections for the scb_spi_s_select3 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_uart_cts [15]
 List of valid pin to peripheral connections for the scb_uart_cts signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_uart_rts [15]
 List of valid pin to peripheral connections for the scb_uart_rts signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_uart_rx [17]
 List of valid pin to peripheral connections for the scb_uart_rx signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_uart_tx [16]
 List of valid pin to peripheral connections for the scb_uart_tx signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_card_cmd [2]
 List of valid pin to peripheral connections for the sdhc_card_cmd signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_card_dat_3to0 [8]
 List of valid pin to peripheral connections for the sdhc_card_dat_3to0 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_card_dat_7to4 [4]
 List of valid pin to peripheral connections for the sdhc_card_dat_7to4 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_card_detect_n [2]
 List of valid pin to peripheral connections for the sdhc_card_detect_n signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_card_emmc_reset_n [1]
 List of valid pin to peripheral connections for the sdhc_card_emmc_reset_n signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_card_if_pwr_en [1]
 List of valid pin to peripheral connections for the sdhc_card_if_pwr_en signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_card_mech_write_prot [2]
 List of valid pin to peripheral connections for the sdhc_card_mech_write_prot signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_clk_card [2]
 List of valid pin to peripheral connections for the sdhc_clk_card signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_io_volt_sel [1]
 List of valid pin to peripheral connections for the sdhc_io_volt_sel signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_led_ctrl [1]
 List of valid pin to peripheral connections for the sdhc_led_ctrl signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_clk [1]
 List of valid pin to peripheral connections for the smif_spi_clk signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data0 [1]
 List of valid pin to peripheral connections for the smif_spi_data0 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data1 [1]
 List of valid pin to peripheral connections for the smif_spi_data1 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data2 [1]
 List of valid pin to peripheral connections for the smif_spi_data2 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data3 [1]
 List of valid pin to peripheral connections for the smif_spi_data3 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data4 [1]
 List of valid pin to peripheral connections for the smif_spi_data4 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data5 [1]
 List of valid pin to peripheral connections for the smif_spi_data5 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data6 [1]
 List of valid pin to peripheral connections for the smif_spi_data6 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data7 [1]
 List of valid pin to peripheral connections for the smif_spi_data7 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_select0 [1]
 List of valid pin to peripheral connections for the smif_spi_select0 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_select1 [1]
 List of valid pin to peripheral connections for the smif_spi_select1 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_select2 [1]
 List of valid pin to peripheral connections for the smif_spi_select2 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_select3 [1]
 List of valid pin to peripheral connections for the smif_spi_select3 signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_tcpwm_line [80]
 List of valid pin to peripheral connections for the tcpwm_line signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_tcpwm_line_compl [80]
 List of valid pin to peripheral connections for the tcpwm_line_compl signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_usb_usb_dm_pad [1]
 List of valid pin to peripheral connections for the usb_usb_dm_pad signal. More...
 
const cyhal_resource_pin_mapping_t cyhal_pin_map_usb_usb_dp_pad [1]
 List of valid pin to peripheral connections for the usb_usb_dp_pad signal. More...
 

Data Structure Documentation

◆ cyhal_resource_pin_mapping_t

struct cyhal_resource_pin_mapping_t
Data Fields
const cyhal_resource_inst_t * inst The associated resource instance.
cyhal_gpio_t pin The GPIO pin.
uint8_t drive_mode The DriveMode configuration value.
en_hsiom_sel_t hsiom The HSIOM configuration value.

Typedef Documentation

◆ cyhal_gpio_t

Create generic name for the series/package specific type.

Enumeration Type Documentation

◆ cyhal_gpio_psoc6_02_100_wlcsp_t

Definitions for all of the pins that are bonded out on in the 100-WLCSP package for the PSoC6_02 series.

Enumerator
NC 

No Connect/Invalid Pin.

P0_0 

Port 0 Pin 0.

P0_1 

Port 0 Pin 1.

P0_2 

Port 0 Pin 2.

P0_3 

Port 0 Pin 3.

P0_4 

Port 0 Pin 4.

P0_5 

Port 0 Pin 5.

P1_0 

Port 1 Pin 0.

P1_1 

Port 1 Pin 1.

P1_4 

Port 1 Pin 4.

P1_5 

Port 1 Pin 5.

P2_0 

Port 2 Pin 0.

P2_1 

Port 2 Pin 1.

P2_2 

Port 2 Pin 2.

P2_3 

Port 2 Pin 3.

P2_4 

Port 2 Pin 4.

P2_5 

Port 2 Pin 5.

P2_6 

Port 2 Pin 6.

P2_7 

Port 2 Pin 7.

P5_0 

Port 5 Pin 0.

P5_1 

Port 5 Pin 1.

P5_2 

Port 5 Pin 2.

P5_3 

Port 5 Pin 3.

P5_4 

Port 5 Pin 4.

P5_5 

Port 5 Pin 5.

P5_6 

Port 5 Pin 6.

P5_7 

Port 5 Pin 7.

P6_0 

Port 6 Pin 0.

P6_1 

Port 6 Pin 1.

P6_2 

Port 6 Pin 2.

P6_3 

Port 6 Pin 3.

P6_4 

Port 6 Pin 4.

P6_5 

Port 6 Pin 5.

P6_6 

Port 6 Pin 6.

P6_7 

Port 6 Pin 7.

P7_0 

Port 7 Pin 0.

P7_1 

Port 7 Pin 1.

P7_2 

Port 7 Pin 2.

P7_3 

Port 7 Pin 3.

P7_7 

Port 7 Pin 7.

P8_0 

Port 8 Pin 0.

P8_1 

Port 8 Pin 1.

P8_2 

Port 8 Pin 2.

P8_3 

Port 8 Pin 3.

P8_4 

Port 8 Pin 4.

P9_0 

Port 9 Pin 0.

P9_1 

Port 9 Pin 1.

P9_2 

Port 9 Pin 2.

P9_3 

Port 9 Pin 3.

P9_4 

Port 9 Pin 4.

P9_7 

Port 9 Pin 7.

P10_0 

Port 10 Pin 0.

P10_1 

Port 10 Pin 1.

P10_2 

Port 10 Pin 2.

P10_3 

Port 10 Pin 3.

P10_4 

Port 10 Pin 4.

P10_5 

Port 10 Pin 5.

P10_6 

Port 10 Pin 6.

P10_7 

Port 10 Pin 7.

P11_0 

Port 11 Pin 0.

P11_1 

Port 11 Pin 1.

P11_2 

Port 11 Pin 2.

P11_3 

Port 11 Pin 3.

P11_4 

Port 11 Pin 4.

P11_5 

Port 11 Pin 5.

P11_6 

Port 11 Pin 6.

P11_7 

Port 11 Pin 7.

P12_0 

Port 12 Pin 0.

P12_1 

Port 12 Pin 1.

P12_2 

Port 12 Pin 2.

P12_3 

Port 12 Pin 3.

P12_4 

Port 12 Pin 4.

P12_5 

Port 12 Pin 5.

P12_6 

Port 12 Pin 6.

P12_7 

Port 12 Pin 7.

P13_0 

Port 13 Pin 0.

P13_1 

Port 13 Pin 1.

P13_2 

Port 13 Pin 2.

P13_3 

Port 13 Pin 3.

P13_4 

Port 13 Pin 4.

P13_5 

Port 13 Pin 5.

P13_6 

Port 13 Pin 6.

P13_7 

Port 13 Pin 7.

USBDP 

Port 14 Pin 0.

USBDM 

Port 14 Pin 1.

Variable Documentation

◆ cyhal_pin_map_audioss_clk_i2s_if

const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_clk_i2s_if[4]

List of valid pin to peripheral connections for the audioss_clk_i2s_if signal.

◆ cyhal_pin_map_audioss_pdm_clk

const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_pdm_clk[2]

List of valid pin to peripheral connections for the audioss_pdm_clk signal.

◆ cyhal_pin_map_audioss_pdm_data

const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_pdm_data[2]

List of valid pin to peripheral connections for the audioss_pdm_data signal.

◆ cyhal_pin_map_audioss_rx_sck

const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_rx_sck[4]

List of valid pin to peripheral connections for the audioss_rx_sck signal.

◆ cyhal_pin_map_audioss_rx_sdi

const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_rx_sdi[3]

List of valid pin to peripheral connections for the audioss_rx_sdi signal.

◆ cyhal_pin_map_audioss_rx_ws

const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_rx_ws[3]

List of valid pin to peripheral connections for the audioss_rx_ws signal.

◆ cyhal_pin_map_audioss_tx_sck

const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_tx_sck[4]

List of valid pin to peripheral connections for the audioss_tx_sck signal.

◆ cyhal_pin_map_audioss_tx_sdo

const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_tx_sdo[4]

List of valid pin to peripheral connections for the audioss_tx_sdo signal.

◆ cyhal_pin_map_audioss_tx_ws

const cyhal_resource_pin_mapping_t cyhal_pin_map_audioss_tx_ws[4]

List of valid pin to peripheral connections for the audioss_tx_ws signal.

◆ cyhal_pin_map_lpcomp_dsi_comp

const cyhal_resource_pin_mapping_t cyhal_pin_map_lpcomp_dsi_comp[2]

List of valid pin to peripheral connections for the lpcomp_dsi_comp signal.

◆ cyhal_pin_map_lpcomp_inn_comp

const cyhal_resource_pin_mapping_t cyhal_pin_map_lpcomp_inn_comp[2]

List of valid pin to peripheral connections for the lpcomp_inn_comp signal.

◆ cyhal_pin_map_lpcomp_inp_comp

const cyhal_resource_pin_mapping_t cyhal_pin_map_lpcomp_inp_comp[2]

List of valid pin to peripheral connections for the lpcomp_inp_comp signal.

◆ cyhal_pin_map_pass_sarmux_pads

const cyhal_resource_pin_mapping_t cyhal_pin_map_pass_sarmux_pads[8]

List of valid pin to peripheral connections for the pass_sarmux_pads signal.

◆ cyhal_pin_map_scb_i2c_scl

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_i2c_scl[19]

List of valid pin to peripheral connections for the scb_i2c_scl signal.

◆ cyhal_pin_map_scb_i2c_sda

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_i2c_sda[18]

List of valid pin to peripheral connections for the scb_i2c_sda signal.

◆ cyhal_pin_map_scb_spi_m_clk

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_clk[14]

List of valid pin to peripheral connections for the scb_spi_m_clk signal.

◆ cyhal_pin_map_scb_spi_m_miso

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_miso[15]

List of valid pin to peripheral connections for the scb_spi_m_miso signal.

◆ cyhal_pin_map_scb_spi_m_mosi

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_mosi[15]

List of valid pin to peripheral connections for the scb_spi_m_mosi signal.

◆ cyhal_pin_map_scb_spi_m_select0

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_select0[14]

List of valid pin to peripheral connections for the scb_spi_m_select0 signal.

◆ cyhal_pin_map_scb_spi_m_select1

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_select1[11]

List of valid pin to peripheral connections for the scb_spi_m_select1 signal.

◆ cyhal_pin_map_scb_spi_m_select2

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_select2[8]

List of valid pin to peripheral connections for the scb_spi_m_select2 signal.

◆ cyhal_pin_map_scb_spi_m_select3

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_select3[7]

List of valid pin to peripheral connections for the scb_spi_m_select3 signal.

◆ cyhal_pin_map_scb_spi_s_clk

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_clk[14]

List of valid pin to peripheral connections for the scb_spi_s_clk signal.

◆ cyhal_pin_map_scb_spi_s_miso

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_miso[15]

List of valid pin to peripheral connections for the scb_spi_s_miso signal.

◆ cyhal_pin_map_scb_spi_s_mosi

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_mosi[15]

List of valid pin to peripheral connections for the scb_spi_s_mosi signal.

◆ cyhal_pin_map_scb_spi_s_select0

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_select0[14]

List of valid pin to peripheral connections for the scb_spi_s_select0 signal.

◆ cyhal_pin_map_scb_spi_s_select1

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_select1[11]

List of valid pin to peripheral connections for the scb_spi_s_select1 signal.

◆ cyhal_pin_map_scb_spi_s_select2

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_select2[8]

List of valid pin to peripheral connections for the scb_spi_s_select2 signal.

◆ cyhal_pin_map_scb_spi_s_select3

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_select3[7]

List of valid pin to peripheral connections for the scb_spi_s_select3 signal.

◆ cyhal_pin_map_scb_uart_cts

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_uart_cts[15]

List of valid pin to peripheral connections for the scb_uart_cts signal.

◆ cyhal_pin_map_scb_uart_rts

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_uart_rts[15]

List of valid pin to peripheral connections for the scb_uart_rts signal.

◆ cyhal_pin_map_scb_uart_rx

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_uart_rx[17]

List of valid pin to peripheral connections for the scb_uart_rx signal.

◆ cyhal_pin_map_scb_uart_tx

const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_uart_tx[16]

List of valid pin to peripheral connections for the scb_uart_tx signal.

◆ cyhal_pin_map_sdhc_card_cmd

const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_card_cmd[2]

List of valid pin to peripheral connections for the sdhc_card_cmd signal.

◆ cyhal_pin_map_sdhc_card_dat_3to0

const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_card_dat_3to0[8]

List of valid pin to peripheral connections for the sdhc_card_dat_3to0 signal.

◆ cyhal_pin_map_sdhc_card_dat_7to4

const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_card_dat_7to4[4]

List of valid pin to peripheral connections for the sdhc_card_dat_7to4 signal.

◆ cyhal_pin_map_sdhc_card_detect_n

const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_card_detect_n[2]

List of valid pin to peripheral connections for the sdhc_card_detect_n signal.

◆ cyhal_pin_map_sdhc_card_emmc_reset_n

const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_card_emmc_reset_n[1]

List of valid pin to peripheral connections for the sdhc_card_emmc_reset_n signal.

◆ cyhal_pin_map_sdhc_card_if_pwr_en

const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_card_if_pwr_en[1]

List of valid pin to peripheral connections for the sdhc_card_if_pwr_en signal.

◆ cyhal_pin_map_sdhc_card_mech_write_prot

const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_card_mech_write_prot[2]

List of valid pin to peripheral connections for the sdhc_card_mech_write_prot signal.

◆ cyhal_pin_map_sdhc_clk_card

const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_clk_card[2]

List of valid pin to peripheral connections for the sdhc_clk_card signal.

◆ cyhal_pin_map_sdhc_io_volt_sel

const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_io_volt_sel[1]

List of valid pin to peripheral connections for the sdhc_io_volt_sel signal.

◆ cyhal_pin_map_sdhc_led_ctrl

const cyhal_resource_pin_mapping_t cyhal_pin_map_sdhc_led_ctrl[1]

List of valid pin to peripheral connections for the sdhc_led_ctrl signal.

◆ cyhal_pin_map_smif_spi_clk

const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_clk[1]

List of valid pin to peripheral connections for the smif_spi_clk signal.

◆ cyhal_pin_map_smif_spi_data0

const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data0[1]

List of valid pin to peripheral connections for the smif_spi_data0 signal.

◆ cyhal_pin_map_smif_spi_data1

const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data1[1]

List of valid pin to peripheral connections for the smif_spi_data1 signal.

◆ cyhal_pin_map_smif_spi_data2

const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data2[1]

List of valid pin to peripheral connections for the smif_spi_data2 signal.

◆ cyhal_pin_map_smif_spi_data3

const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data3[1]

List of valid pin to peripheral connections for the smif_spi_data3 signal.

◆ cyhal_pin_map_smif_spi_data4

const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data4[1]

List of valid pin to peripheral connections for the smif_spi_data4 signal.

◆ cyhal_pin_map_smif_spi_data5

const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data5[1]

List of valid pin to peripheral connections for the smif_spi_data5 signal.

◆ cyhal_pin_map_smif_spi_data6

const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data6[1]

List of valid pin to peripheral connections for the smif_spi_data6 signal.

◆ cyhal_pin_map_smif_spi_data7

const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_data7[1]

List of valid pin to peripheral connections for the smif_spi_data7 signal.

◆ cyhal_pin_map_smif_spi_select0

const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_select0[1]

List of valid pin to peripheral connections for the smif_spi_select0 signal.

◆ cyhal_pin_map_smif_spi_select1

const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_select1[1]

List of valid pin to peripheral connections for the smif_spi_select1 signal.

◆ cyhal_pin_map_smif_spi_select2

const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_select2[1]

List of valid pin to peripheral connections for the smif_spi_select2 signal.

◆ cyhal_pin_map_smif_spi_select3

const cyhal_resource_pin_mapping_t cyhal_pin_map_smif_spi_select3[1]

List of valid pin to peripheral connections for the smif_spi_select3 signal.

◆ cyhal_pin_map_tcpwm_line

const cyhal_resource_pin_mapping_t cyhal_pin_map_tcpwm_line[80]

List of valid pin to peripheral connections for the tcpwm_line signal.

◆ cyhal_pin_map_tcpwm_line_compl

const cyhal_resource_pin_mapping_t cyhal_pin_map_tcpwm_line_compl[80]

List of valid pin to peripheral connections for the tcpwm_line_compl signal.

◆ cyhal_pin_map_usb_usb_dm_pad

const cyhal_resource_pin_mapping_t cyhal_pin_map_usb_usb_dm_pad[1]

List of valid pin to peripheral connections for the usb_usb_dm_pad signal.

◆ cyhal_pin_map_usb_usb_dp_pad

const cyhal_resource_pin_mapping_t cyhal_pin_map_usb_usb_dp_pad[1]

List of valid pin to peripheral connections for the usb_usb_dp_pad signal.