Searched refs:ssel (Results 1 – 6 of 6) sorted by relevance
/hal_infineon-3.5.0/mtb-hal-cat1/source/ |
D | cyhal_spi.c | 443 static cy_rslt_t _cyhal_spi_get_ssel_map_idx(cyhal_gpio_t ssel, const cyhal_resource_pin_mapping_t … in _cyhal_spi_get_ssel_map_idx() argument 477 *ssel_map = _cyhal_scb_find_map(ssel, ssel_s_pin_maps[i], in _cyhal_spi_get_ssel_map_idx() 493 static cy_rslt_t _cyhal_spi_ssel_config(cyhal_spi_t *obj, cyhal_gpio_t ssel, in _cyhal_spi_ssel_config() argument 499 if ((NC != ssel) && (_CYHAL_SPI_PENDING_NONE == obj->pending)) in _cyhal_spi_ssel_config() 503 if ((configuring_existing = (ssel == obj->pin_ssel[i]))) in _cyhal_spi_ssel_config() 514 … result = reserve_n_connect ? cyhal_gpio_init(ssel, CYHAL_GPIO_DIR_OUTPUT, CYHAL_GPIO_DRIVE_STRONG, in _cyhal_spi_ssel_config() 524 … if (CY_RSLT_SUCCESS == _cyhal_spi_get_ssel_map_idx(ssel, &ssel_map, &found_idx, &(obj->resource))) in _cyhal_spi_ssel_config() 540 obj->pin_ssel[found_idx] = ssel; in _cyhal_spi_ssel_config() 599 …urces(cyhal_spi_t *obj, cyhal_gpio_t mosi, cyhal_gpio_t miso, cyhal_gpio_t sclk, cyhal_gpio_t ssel, in _cyhal_spi_setup_resources() argument 634 if (NC != ssel) in _cyhal_spi_setup_resources() [all …]
|
D | cyhal_qspi.c | 546 static const cyhal_resource_pin_mapping_t *_cyhal_qspi_get_slaveselect(cyhal_gpio_t ssel, uint8_t *… in _cyhal_qspi_get_slaveselect() argument 551 …const cyhal_resource_pin_mapping_t *pin_mapping = _CYHAL_UTILS_GET_RESOURCE(ssel, cyhal_pin_map_sm… in _cyhal_qspi_get_slaveselect() 563 pin_mapping = _CYHAL_UTILS_GET_RESOURCE(ssel, cyhal_pin_map_smif_spi_select1); in _cyhal_qspi_get_slaveselect() 575 pin_mapping = _CYHAL_UTILS_GET_RESOURCE(ssel, cyhal_pin_map_smif_spi_select2); in _cyhal_qspi_get_slaveselect() 587 pin_mapping = _CYHAL_UTILS_GET_RESOURCE(ssel, cyhal_pin_map_smif_spi_select3); in _cyhal_qspi_get_slaveselect() 650 static cy_rslt_t _cyhal_qspi_slave_select_check_reserve(cyhal_qspi_t *obj, cyhal_gpio_t ssel, uint8… in _cyhal_qspi_slave_select_check_reserve() argument 654 const cyhal_resource_pin_mapping_t *ssel_map = _cyhal_qspi_get_slaveselect(ssel, found_idx); in _cyhal_qspi_slave_select_check_reserve() 673 obj->pin_ssel[*found_idx] = ssel; in _cyhal_qspi_slave_select_check_reserve() 761 …result = _cyhal_qspi_slave_select_check_reserve(obj, pin_set->ssel, found_ssel_idx, reserve_n_conn… in _cyhal_qspi_process_pin_set() 819 cyhal_gpio_t ssel = NC; in _cyhal_qspi_init_common() local [all …]
|
/hal_infineon-3.5.0/mtb-hal-cat1/include/ |
D | cyhal_spi.h | 254 …_init(cyhal_spi_t *obj, cyhal_gpio_t mosi, cyhal_gpio_t miso, cyhal_gpio_t sclk, cyhal_gpio_t ssel, 284 cy_rslt_t cyhal_spi_slave_select_config(cyhal_spi_t *obj, cyhal_gpio_t ssel, cyhal_spi_ssel_polarit… 295 cy_rslt_t cyhal_spi_select_active_ssel(cyhal_spi_t *obj, cyhal_gpio_t ssel);
|
D | cyhal_qspi.h | 219 cyhal_gpio_t ssel; /**< Slave Select line of connected memory */ member 311 cy_rslt_t cyhal_qspi_select_active_ssel(cyhal_qspi_t *obj, cyhal_gpio_t ssel);
|
/hal_infineon-3.5.0/mtb-hal-cat1/include_pvt/ |
D | cyhal_hw_types.h | 1081 cyhal_gpio_t ssel[4]; member 1443 cyhal_gpio_t ssel[4]; member
|
/hal_infineon-3.5.0/mtb-hal-cat1/ |
D | RELEASE.md | 101 …2. cyhal_qspi_init() now takes io[x] and ssel pins as pointer to cyhal_qspi_slave_pin_config_t str…
|