Home
last modified time | relevance | path

Searched refs:ssel_map (Results 1 – 2 of 2) sorted by relevance

/hal_infineon-3.6.0/mtb-hal-cat1/source/
Dcyhal_spi.c443 …slt_t _cyhal_spi_get_ssel_map_idx(cyhal_gpio_t ssel, const cyhal_resource_pin_mapping_t **ssel_map, 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()
479 if (NULL != *ssel_map) in _cyhal_spi_get_ssel_map_idx()
523 const cyhal_resource_pin_mapping_t *ssel_map = NULL; in _cyhal_spi_ssel_config() local
524 … if (CY_RSLT_SUCCESS == _cyhal_spi_get_ssel_map_idx(ssel, &ssel_map, &found_idx, &(obj->resource))) in _cyhal_spi_ssel_config()
527 if ((NULL != ssel_map) && (NC == obj->pin_ssel[found_idx]) && in _cyhal_spi_ssel_config()
528 (ssel_map->block_num == obj->resource.block_num) && in _cyhal_spi_ssel_config()
529 (ssel_map->channel_num == obj->resource.channel_num)) in _cyhal_spi_ssel_config()
532 … ? _cyhal_utils_reserve_and_connect(ssel_map, (uint8_t)CYHAL_PIN_MAP_DRIVE_MODE_SCB_SPI_S_SELECT0) in _cyhal_spi_ssel_config()
692 const cyhal_resource_pin_mapping_t *ssel_map = NULL; in _cyhal_spi_setup_resources() local
[all …]
Dcyhal_qspi.c654 const cyhal_resource_pin_mapping_t *ssel_map = _cyhal_qspi_get_slaveselect(ssel, found_idx); in _cyhal_qspi_slave_select_check_reserve() local
656 if ((NULL == ssel_map) || !_cyhal_utils_map_resource_equal(&obj->resource, ssel_map, true)) in _cyhal_qspi_slave_select_check_reserve()
669 ? _cyhal_qspi_check_pin_and_reserve(ssel_map, CYHAL_PIN_MAP_DRIVE_MODE_SMIF_SPI_SELECT0) in _cyhal_qspi_slave_select_check_reserve()
869 const cyhal_resource_pin_mapping_t *ssel_map; in _cyhal_qspi_init_common() local
872 ssel_map = _cyhal_qspi_get_slaveselect(ssel, &found_ssel_idx); in _cyhal_qspi_init_common()
873 if(ssel_map == NULL) in _cyhal_qspi_init_common()
886 … cyhal_resource_inst_t rsc = { CYHAL_RSC_SMIF, ssel_map->block_num, ssel_map->channel_num }; in _cyhal_qspi_init_common()