Lines Matching refs:pin_map
538 …e_pin_mapping_t* _cyhal_scb_find_map(cyhal_gpio_t pin, const cyhal_resource_pin_mapping_t *pin_map, in _cyhal_scb_find_map() argument
543 if (pin == pin_map[i].pin) in _cyhal_scb_find_map()
548 if (_cyhal_utils_map_resource_equal(block_res, &(pin_map[i]), false)) in _cyhal_scb_find_map()
550 return &pin_map[i]; in _cyhal_scb_find_map()
556 … cyhal_resource_inst_t rsc = { CYHAL_RSC_SCB, pin_map[i].block_num, pin_map[i].channel_num }; in _cyhal_scb_find_map()
560 return &pin_map[i]; in _cyhal_scb_find_map()
568 …2_t _cyhal_scb_check_pin_affiliation(cyhal_gpio_t pin, const cyhal_resource_pin_mapping_t *pin_map, in _cyhal_scb_check_pin_affiliation() argument
574 if (pin == pin_map[i].pin) in _cyhal_scb_check_pin_affiliation()
576 uint8_t scb_arr_index = _cyhal_scb_get_block_index(pin_map[i].block_num); in _cyhal_scb_check_pin_affiliation()
577 cyhal_resource_inst_t rsc = { CYHAL_RSC_SCB, scb_arr_index, pin_map[i].channel_num }; in _cyhal_scb_check_pin_affiliation()
581 bitband_blocks |= 1 << pin_map[i].block_num; in _cyhal_scb_check_pin_affiliation()