Pin definitions and connections specific to the PMG1S0 24-QFN-PMG1-S0 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_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_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_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_TR_COMPARE_MATCH (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for tcpwm_tr_compare_match. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_TCPWM_TR_IN (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for tcpwm_tr_in. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_TCPWM_TR_OVERFLOW (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for tcpwm_tr_overflow. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_ADC_CMP_OUT_GPIO (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for usbpd_adc_cmp_out_gpio. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_AFC_TX_DATA (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for usbpd_afc_tx_data. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_AFC_TX_DATA_EN (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for usbpd_afc_tx_data_en. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_FAULT_GPIO0 (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for usbpd_fault_gpio0. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_FAULT_GPIO1 (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for usbpd_fault_gpio1. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_GPIO_DDFT0 (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for usbpd_gpio_ddft0. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_GPIO_DDFT1 (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for usbpd_gpio_ddft1. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_GPIO_RX_FRS (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for usbpd_gpio_rx_frs. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_HPD (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for usbpd_hpd. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_SBU_IO (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for usbpd_sbu_io. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_SWAPT_IN (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for usbpd_swapt_in. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_SWAPT_OUT (CY_GPIO_DM_STRONG_IN_OFF) |
Indicates that a pin map exists for usbpd_swapt_out. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_TX_DATA (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for usbpd_tx_data. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_TX_DATA_EN (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for usbpd_tx_data_en. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_USBPHY_DM_BCH_DET (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for usbpd_usbphy_dm_bch_det. | |
#define | CYHAL_PIN_MAP_DRIVE_MODE_USBPD_USBPHY_DP_BCH_DET (CY_GPIO_DM_HIGHZ) |
Indicates that a pin map exists for usbpd_usbphy_dp_bch_det. | |
Typedefs | |
typedef cyhal_gpio_pmg1s0_24_qfn_pmg1_s0_t | cyhal_gpio_t |
Create generic name for the series/package specific type. More... | |
Enumerations | |
enum | cyhal_gpio_pmg1s0_24_qfn_pmg1_s0_t { NC = 0xFF, P0_0 = CYHAL_GET_GPIO(CYHAL_PORT_0, 0), P0_1 = CYHAL_GET_GPIO(CYHAL_PORT_0, 1), 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), 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), P3_0 = CYHAL_GET_GPIO(CYHAL_PORT_3, 0), P3_1 = CYHAL_GET_GPIO(CYHAL_PORT_3, 1) } |
Definitions for all of the pins that are bonded out on in the 24-QFN-PMG1-S0 package for the PMG1S0 series. More... | |
Variables | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_scb_i2c_scl [3] |
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 [3] |
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 [2] |
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 [2] |
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 [2] |
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 [2] |
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_s_clk [2] |
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 [2] |
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 [2] |
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 [2] |
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_uart_cts [2] |
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 [2] |
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 [8] |
List of valid pin to peripheral connections for the tcpwm_line signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_tcpwm_tr_compare_match [4] |
List of valid pin to peripheral connections for the tcpwm_tr_compare_match signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_tcpwm_tr_in [7] |
List of valid pin to peripheral connections for the tcpwm_tr_in signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_tcpwm_tr_overflow [4] |
List of valid pin to peripheral connections for the tcpwm_tr_overflow signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_adc_cmp_out_gpio [2] |
List of valid pin to peripheral connections for the usbpd_adc_cmp_out_gpio signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_afc_tx_data [2] |
List of valid pin to peripheral connections for the usbpd_afc_tx_data signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_afc_tx_data_en [1] |
List of valid pin to peripheral connections for the usbpd_afc_tx_data_en signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_fault_gpio0 [1] |
List of valid pin to peripheral connections for the usbpd_fault_gpio0 signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_fault_gpio1 [1] |
List of valid pin to peripheral connections for the usbpd_fault_gpio1 signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_gpio_ddft0 [1] |
List of valid pin to peripheral connections for the usbpd_gpio_ddft0 signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_gpio_ddft1 [1] |
List of valid pin to peripheral connections for the usbpd_gpio_ddft1 signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_gpio_rx_frs [1] |
List of valid pin to peripheral connections for the usbpd_gpio_rx_frs signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_hpd [1] |
List of valid pin to peripheral connections for the usbpd_hpd signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_sbu_io [2] |
List of valid pin to peripheral connections for the usbpd_sbu_io signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_swapt_in [1] |
List of valid pin to peripheral connections for the usbpd_swapt_in signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_swapt_out [2] |
List of valid pin to peripheral connections for the usbpd_swapt_out signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_tx_data [1] |
List of valid pin to peripheral connections for the usbpd_tx_data signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_tx_data_en [1] |
List of valid pin to peripheral connections for the usbpd_tx_data_en signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_usbphy_dm_bch_det [2] |
List of valid pin to peripheral connections for the usbpd_usbphy_dm_bch_det signal. More... | |
const cyhal_resource_pin_mapping_t | cyhal_pin_map_usbpd_usbphy_dp_bch_det [2] |
List of valid pin to peripheral connections for the usbpd_usbphy_dp_bch_det 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 24-QFN-PMG1-S0 package for the PMG1S0 series.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_i2c_scl[3] |
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[3] |
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[2] |
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[2] |
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[2] |
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[2] |
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_s_clk[2] |
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[2] |
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[2] |
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[2] |
List of valid pin to peripheral connections for the scb_spi_s_select0 signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_scb_uart_cts[2] |
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[2] |
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[8] |
List of valid pin to peripheral connections for the tcpwm_line signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_tcpwm_tr_compare_match[4] |
List of valid pin to peripheral connections for the tcpwm_tr_compare_match signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_tcpwm_tr_in[7] |
List of valid pin to peripheral connections for the tcpwm_tr_in signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_tcpwm_tr_overflow[4] |
List of valid pin to peripheral connections for the tcpwm_tr_overflow signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_adc_cmp_out_gpio[2] |
List of valid pin to peripheral connections for the usbpd_adc_cmp_out_gpio signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_afc_tx_data[2] |
List of valid pin to peripheral connections for the usbpd_afc_tx_data signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_afc_tx_data_en[1] |
List of valid pin to peripheral connections for the usbpd_afc_tx_data_en signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_fault_gpio0[1] |
List of valid pin to peripheral connections for the usbpd_fault_gpio0 signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_fault_gpio1[1] |
List of valid pin to peripheral connections for the usbpd_fault_gpio1 signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_gpio_ddft0[1] |
List of valid pin to peripheral connections for the usbpd_gpio_ddft0 signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_gpio_ddft1[1] |
List of valid pin to peripheral connections for the usbpd_gpio_ddft1 signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_gpio_rx_frs[1] |
List of valid pin to peripheral connections for the usbpd_gpio_rx_frs signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_hpd[1] |
List of valid pin to peripheral connections for the usbpd_hpd signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_sbu_io[2] |
List of valid pin to peripheral connections for the usbpd_sbu_io signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_swapt_in[1] |
List of valid pin to peripheral connections for the usbpd_swapt_in signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_swapt_out[2] |
List of valid pin to peripheral connections for the usbpd_swapt_out signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_tx_data[1] |
List of valid pin to peripheral connections for the usbpd_tx_data signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_tx_data_en[1] |
List of valid pin to peripheral connections for the usbpd_tx_data_en signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_usbphy_dm_bch_det[2] |
List of valid pin to peripheral connections for the usbpd_usbphy_dm_bch_det signal.
const cyhal_resource_pin_mapping_t cyhal_pin_map_usbpd_usbphy_dp_bch_det[2] |
List of valid pin to peripheral connections for the usbpd_usbphy_dp_bch_det signal.