Lines Matching refs:base_opamp
177 result = Cy_CTB_OpampInit(obj->base_opamp, CY_CTB_OPAMP_0, &config); in _cyhal_dac_configure_oa0()
178 …Cy_CTB_SetAnalogSwitch(obj->base_opamp, CY_CTB_SWITCH_OA0_SW, CY_CTB_SW_OA0_NEG_OUT_MASK | CY_CTB_… in _cyhal_dac_configure_oa0()
179 …Cy_CTB_SetAnalogSwitch(obj->base_opamp, CY_CTB_SWITCH_CTD_SW, CY_CTB_SW_CTD_OUT_CHOLD_MASK | CY_CT… in _cyhal_dac_configure_oa0()
180 cyhal_analog_ctb_init(obj->base_opamp); in _cyhal_dac_configure_oa0()
185 …Cy_CTB_SetAnalogSwitch(obj->base_opamp, CY_CTB_SWITCH_OA0_SW, CY_CTB_SW_OA0_NEG_OUT_MASK | CY_CTB_… in _cyhal_dac_configure_oa0()
186 …Cy_CTB_SetAnalogSwitch(obj->base_opamp, CY_CTB_SWITCH_CTD_SW, CY_CTB_SW_CTD_OUT_CHOLD_MASK | CY_CT… in _cyhal_dac_configure_oa0()
187 cyhal_analog_ctb_free(obj->base_opamp); in _cyhal_dac_configure_oa0()
200 result = Cy_CTB_OpampInit(obj->base_opamp, CY_CTB_OPAMP_1, &cyhal_opamp_default_config); in _cyhal_dac_configure_oa1()
201 …Cy_CTB_SetAnalogSwitch(obj->base_opamp, CY_CTB_SWITCH_OA1_SW, CY_CTB_SW_OA1_NEG_OUT_MASK | CY_CTB_… in _cyhal_dac_configure_oa1()
202 …Cy_CTB_SetAnalogSwitch(obj->base_opamp, CY_CTB_SWITCH_CTD_SW, CY_CTB_SW_CTD_REF_OA1_OUT_MASK, CY_C… in _cyhal_dac_configure_oa1()
203 cyhal_analog_ctb_init(obj->base_opamp); in _cyhal_dac_configure_oa1()
208 …Cy_CTB_SetAnalogSwitch(obj->base_opamp, CY_CTB_SWITCH_OA1_SW, CY_CTB_SW_OA1_NEG_OUT_MASK | CY_CTB_… in _cyhal_dac_configure_oa1()
209 …Cy_CTB_SetAnalogSwitch(obj->base_opamp, CY_CTB_SWITCH_CTD_SW, CY_CTB_SW_CTD_REF_OA1_OUT_MASK, CY_C… in _cyhal_dac_configure_oa1()
210 cyhal_analog_ctb_free(obj->base_opamp); in _cyhal_dac_configure_oa1()
223 obj->base_opamp = _cyhal_ctb_base[obj->resource_dac.block_num]; in _cyhal_dac_init_hw()
389 …Cy_CTB_SetPower(obj->base_opamp, _cyhal_opamp_convert_sel(OPAMP_IDX_REF), (cy_en_ctb_power_t)_cyha… in cyhal_dac_free()
399 …Cy_CTB_SetPower(obj->base_opamp, _cyhal_opamp_convert_sel(OPAMP_IDX_OUTPUT), (cy_en_ctb_power_t)_c… in cyhal_dac_free()
427 obj->base_opamp = NULL; in cyhal_dac_free()
543 …Cy_CTB_SetPower(obj->base_opamp, _cyhal_opamp_convert_sel(OPAMP_IDX_OUTPUT), power_level, CY_CTB_P… in cyhal_dac_set_power()
547 …Cy_CTB_SetPower(obj->base_opamp, _cyhal_opamp_convert_sel(OPAMP_IDX_REF), power_level, CY_CTB_PUMP… in cyhal_dac_set_power()
555 Cy_CTB_Disable(obj->base_opamp); in cyhal_dac_set_power()
559 Cy_CTB_Enable(obj->base_opamp); in cyhal_dac_set_power()