Searched refs:inst (Results 1 – 3 of 3) sorted by relevance
63 cyhal_resource_inst_t inst = { rsc, pin_map[i].block_num, pin_map[i].channel_num }; in _cyhal_utils_try_alloc() local64 if (CY_RSLT_SUCCESS == cyhal_hwmgr_reserve(&inst)) in _cyhal_utils_try_alloc()
101 … cyhal_comp_t* inst = _cyhal_comp_ctb_config_structs[(ctb_num * _CYHAL_OPAMP_PER_CTB) + oa_num]; in _cyhal_ctb_get_interrupt_source() local102 if (NULL != inst) in _cyhal_ctb_get_interrupt_source()104 return inst; in _cyhal_ctb_get_interrupt_source()
267 …cyhal_resource_inst_t inst = { CYHAL_RSC_ADCMIC, cyhal_pin_map_adcmic_gpio_adc_in[i].block_num, 0 … in _cyhal_adc_config_hw() local268 if (CY_RSLT_SUCCESS == cyhal_hwmgr_reserve(&inst)) in _cyhal_adc_config_hw()270 obj->resource = inst; in _cyhal_adc_config_hw()