Searched refs:inst (Results 1 – 4 of 4) 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()
539 for(uint8_t inst=0; inst < _CYHAL_LPTIMER_INSTANCES; ++inst) in cyhal_lptimer_init() local541 if(_CYHAL_MCWDT_IRQS[inst] != _CYHAL_MCWDT_DISCONNECTED_IRQ) in cyhal_lptimer_init()546 .block_num = inst, in cyhal_lptimer_init()
103 … cyhal_comp_t* inst = _cyhal_comp_ctb_config_structs[(ctb_num * _CYHAL_OPAMP_PER_CTB) + oa_num]; in _cyhal_ctb_get_interrupt_source() local104 if (NULL != inst) in _cyhal_ctb_get_interrupt_source()106 return inst; in _cyhal_ctb_get_interrupt_source()
260 …cyhal_resource_inst_t inst = { CYHAL_RSC_ADCMIC, cyhal_pin_map_adcmic_gpio_adc_in[i].block_num, 0 … in _cyhal_adc_config_hw() local261 if (CY_RSLT_SUCCESS == cyhal_hwmgr_reserve(&inst)) in _cyhal_adc_config_hw()263 obj->resource = inst; in _cyhal_adc_config_hw()