Pin definitions and connections specific to the PSoC4000S 32-TQFP 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_DRIVE_MODE_LPCOMP_DSI_COMP (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for lpcomp_dsi_comp. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_LPCOMP_INN_COMP (CY_GPIO_DM_ANALOG) |
Indicates that a pin map exists for lpcomp_inn_comp. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_LPCOMP_INP_COMP (CY_GPIO_DM_ANALOG) |
Indicates that a pin map exists for lpcomp_inp_comp. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_I2C_SCL (CY_GPIO_DM_OD_DRIVESLOW) |
Indicates that a pin map exists for scb_i2c_scl. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_I2C_SDA (CY_GPIO_DM_OD_DRIVESLOW) |
Indicates that a pin map exists for scb_i2c_sda. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_M_CLK (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for scb_spi_m_clk. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_M_MISO (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for scb_spi_m_miso. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_M_MOSI (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for scb_spi_m_mosi. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_M_SELECT0 (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for scb_spi_m_select0. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_M_SELECT1 (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for scb_spi_m_select1. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_M_SELECT2 (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for scb_spi_m_select2. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_M_SELECT3 (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for scb_spi_m_select3. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_S_CLK (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for scb_spi_s_clk. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_S_MISO (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for scb_spi_s_miso. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_S_MOSI (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for scb_spi_s_mosi. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_S_SELECT0 (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for scb_spi_s_select0. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_S_SELECT1 (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for scb_spi_s_select1. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_S_SELECT2 (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for scb_spi_s_select2. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_S_SELECT3 (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for scb_spi_s_select3. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_UART_CTS (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for scb_uart_cts. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_UART_RTS (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for scb_uart_rts. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_UART_RX (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for scb_uart_rx. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_SCB_UART_TX (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for scb_uart_tx. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_TCPWM_LINE (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for tcpwm_line. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_TCPWM_LINE_COMPL (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for tcpwm_line_compl. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_TCPWM_TR_IN (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for tcpwm_tr_in. | |
Typedefs | |
typedef cyhal_gpio_psoc4000s_32_tqfp_t | cyhal_gpio_t |
Create generic name for the series/package specific type. More... | |
Enumerations | |
enum | cyhal_gpio_psoc4000s_32_tqfp_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), P0_6 = CYHAL_GET_GPIO(CYHAL_PORT_0, 6), P1_0 = CYHAL_GET_GPIO(CYHAL_PORT_1, 0), P1_1 = CYHAL_GET_GPIO(CYHAL_PORT_1, 1), P1_2 = CYHAL_GET_GPIO(CYHAL_PORT_1, 2), P1_3 = CYHAL_GET_GPIO(CYHAL_PORT_1, 3), P1_7 = CYHAL_GET_GPIO(CYHAL_PORT_1, 7), 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_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), P3_0 = CYHAL_GET_GPIO(CYHAL_PORT_3, 0), P3_1 = CYHAL_GET_GPIO(CYHAL_PORT_3, 1), P3_2 = CYHAL_GET_GPIO(CYHAL_PORT_3, 2), P3_3 = CYHAL_GET_GPIO(CYHAL_PORT_3, 3), P4_0 = CYHAL_GET_GPIO(CYHAL_PORT_4, 0), P4_1 = CYHAL_GET_GPIO(CYHAL_PORT_4, 1), P4_2 = CYHAL_GET_GPIO(CYHAL_PORT_4, 2), P4_3 = CYHAL_GET_GPIO(CYHAL_PORT_4, 3) } |
Definitions for all of the pins that are bonded out on in the 32-TQFP package for the PSoC4000S series. More... | |
Variables | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_lpcomp_dsi_comp [3] |
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_scb_i2c_scl [5] |
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 [5] |
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 [5] |
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 [5] |
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 [5] |
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 [4] |
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 [1] |
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 [2] |
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 [2] |
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 [5] |
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 [5] |
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 [5] |
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 [4] |
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 [1] |
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 [2] |
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 [2] |
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 [4] |
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 [3] |
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 [4] |
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 [4] |
List of valid pin to peripheral connections for the scb_uart_tx signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_tcpwm_line [6] |
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 [7] |
List of valid pin to peripheral connections for the tcpwm_line_compl signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_tcpwm_tr_in [8] |
List of valid pin to peripheral connections for the tcpwm_tr_in signal. More... | |
struct cyhal_resource_pin_mapping_t |
Data Fields | ||
---|---|---|
uint8_t | block_num | The block number of the resource with this connection. |
uint8_t | channel_num | The channel number of the block with this connection. |
cyhal_gpio_t | pin | The GPIO pin the connection is with. |
en_hsiom_sel_t | hsiom | The HSIOM configuration value. |
Create generic name for the series/package specific type.
Definitions for all of the pins that are bonded out on in the 32-TQFP package for the PSoC4000S series.
const cyhal_resource_pin_mapping_t cyhal_pin_map_lpcomp_dsi_comp[3] |
List of valid pin to peripheral connections for the lpcomp_dsi_comp signal.
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.
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.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_i2c_scl[5] |
List of valid pin to peripheral connections for the scb_i2c_scl signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_i2c_sda[5] |
List of valid pin to peripheral connections for the scb_i2c_sda signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_clk[5] |
List of valid pin to peripheral connections for the scb_spi_m_clk signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_miso[5] |
List of valid pin to peripheral connections for the scb_spi_m_miso signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_mosi[5] |
List of valid pin to peripheral connections for the scb_spi_m_mosi signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_select0[4] |
List of valid pin to peripheral connections for the scb_spi_m_select0 signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_select1[1] |
List of valid pin to peripheral connections for the scb_spi_m_select1 signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_select2[2] |
List of valid pin to peripheral connections for the scb_spi_m_select2 signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_m_select3[2] |
List of valid pin to peripheral connections for the scb_spi_m_select3 signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_clk[5] |
List of valid pin to peripheral connections for the scb_spi_s_clk signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_miso[5] |
List of valid pin to peripheral connections for the scb_spi_s_miso signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_mosi[5] |
List of valid pin to peripheral connections for the scb_spi_s_mosi signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_select0[4] |
List of valid pin to peripheral connections for the scb_spi_s_select0 signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_select1[1] |
List of valid pin to peripheral connections for the scb_spi_s_select1 signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_select2[2] |
List of valid pin to peripheral connections for the scb_spi_s_select2 signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_spi_s_select3[2] |
List of valid pin to peripheral connections for the scb_spi_s_select3 signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_uart_cts[4] |
List of valid pin to peripheral connections for the scb_uart_cts signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_uart_rts[3] |
List of valid pin to peripheral connections for the scb_uart_rts signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_uart_rx[4] |
List of valid pin to peripheral connections for the scb_uart_rx signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_uart_tx[4] |
List of valid pin to peripheral connections for the scb_uart_tx signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_tcpwm_line[6] |
List of valid pin to peripheral connections for the tcpwm_line signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_tcpwm_line_compl[7] |
List of valid pin to peripheral connections for the tcpwm_line_compl signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_tcpwm_tr_in[8] |
List of valid pin to peripheral connections for the tcpwm_tr_in signal.