Home
last modified time | relevance | path

Searched refs:hysteresis (Results 1 – 9 of 9) sorted by relevance

/hal_infineon-3.7.0/mtb-pdl-cat1/drivers/source/
Dcy_lpcomp.c86 CY_ASSERT_L3(CY_LPCOMP_IS_HYSTERESIS_VALID(config->hysteresis)); in Cy_LPComp_Init_Ext()
94 … LPCOMP_CMP0_CTRL(base) = _VAL2FLD(LPCOMP_CMP0_CTRL_HYST0, (uint32_t)config->hysteresis) | in Cy_LPComp_Init_Ext()
100 … LPCOMP_CMP1_CTRL(base) = _VAL2FLD(LPCOMP_CMP1_CTRL_HYST1, (uint32_t)config->hysteresis) | in Cy_LPComp_Init_Ext()
147 CY_ASSERT_L3(CY_LPCOMP_IS_HYSTERESIS_VALID(config->hysteresis)); in Cy_LPComp_Init()
155 … LPCOMP_CMP0_CTRL(base) = _VAL2FLD(LPCOMP_CMP0_CTRL_HYST0, (uint32_t)config->hysteresis) | in Cy_LPComp_Init()
161 … LPCOMP_CMP1_CTRL(base) = _VAL2FLD(LPCOMP_CMP1_CTRL_HYST1, (uint32_t)config->hysteresis) | in Cy_LPComp_Init()
599 …mp_SetHysteresis(LPCOMP_Type* base, cy_en_lpcomp_channel_t channel, cy_en_lpcomp_hyst_t hysteresis) in Cy_LPComp_SetHysteresis() argument
602 CY_ASSERT_L3(CY_LPCOMP_IS_HYSTERESIS_VALID(hysteresis)); in Cy_LPComp_SetHysteresis()
606 …CTRL(base) = _CLR_SET_FLD32U(LPCOMP_CMP0_CTRL(base), LPCOMP_CMP0_CTRL_HYST0, (uint32_t)hysteresis); in Cy_LPComp_SetHysteresis()
610 …TRL(base) = _CLR_SET_FLD32U(LPCOMP_CMP1_CTRL(base) , LPCOMP_CMP1_CTRL_HYST1, (uint32_t)hysteresis); in Cy_LPComp_SetHysteresis()
/hal_infineon-3.7.0/mtb-hal-cat1/include_pvt/
Dcyhal_analog_common.h44 …#define _CYHAL_COMP_CTB_HIST(hysteresis) ((hysteresis) ? CY_CTB_COMP_HYST_10MV : CY_CTB_COMP_HY… argument
51 #define _CYHAL_COMP_CTB_HIST(hysteresis) (hysteresis) argument
/hal_infineon-3.7.0/XMCLib/drivers/inc/
Dxmc1_gpio.h121 #define XMC_GPIO_CHECK_INPUT_HYSTERESIS(hysteresis) ((hysteresis == XMC_GPIO_INPUT_HYSTERESIS_STAND… argument
122 … (hysteresis == XMC_GPIO_INPUT_HYSTERESIS_LARGE))
292 const XMC_GPIO_INPUT_HYSTERESIS_t hysteresis);
Dxmc_acmp.h204 …uint32_t hysteresis : 2; /**< Hysteresis voltage to reduce noise sensitivity. Select the vol… member
/hal_infineon-3.7.0/XMCLib/drivers/src/
Dxmc1_gpio.c108 const XMC_GPIO_INPUT_HYSTERESIS_t hysteresis) in XMC_GPIO_SetInputHysteresis() argument
111 …C_GPIO_SetInputHysteresis: Invalid input hysteresis", XMC_GPIO_CHECK_INPUT_HYSTERESIS(hysteresis)); in XMC_GPIO_SetInputHysteresis()
114 …port->PHCR[(uint32_t)pin >> 3U] |= (uint32_t)hysteresis << ((uint32_t)PORT_PHCR_Size * ((uint32_t)… in XMC_GPIO_SetInputHysteresis()
/hal_infineon-3.7.0/mtb-hal-cat1/source/
Dcyhal_comp_ctb.c233 config.oaCompHyst = _CYHAL_COMP_CTB_HIST(cfg->hysteresis); in _cyhal_comp_ctb_init()
236 config.compHyst = _CYHAL_COMP_CTB_HIST(cfg->hysteresis); in _cyhal_comp_ctb_init()
326 …COMP_DSI_TRIGGER_OUT_LEVEL, _CYHAL_COMP_CTB_DEFAULT_BYPASS, _CYHAL_COMP_CTB_HIST(cfg->hysteresis)); in _cyhal_comp_ctb_configure()
331 config.compHyst = _CYHAL_COMP_CTB_HIST(cfg->hysteresis); in _cyhal_comp_ctb_configure()
Dcyhal_comp_lp.c312 … comp_lp_config.hysteresis = cfg->hysteresis ? CY_LPCOMP_HYST_ENABLE : CY_LPCOMP_HYST_DISABLE; in _cyhal_comp_lp_init()
393 …>base_lpcomp, _CYHAL_COMP_GET_CHANNEL(obj->resource.channel_num), cfg->hysteresis ? CY_LPCOMP_HYST… in _cyhal_comp_lp_configure()
/hal_infineon-3.7.0/mtb-hal-cat1/include/
Dcyhal_comp.h118 bool hysteresis; member
/hal_infineon-3.7.0/mtb-pdl-cat1/drivers/include/
Dcy_lpcomp.h423 cy_en_lpcomp_hyst_t hysteresis; /**< Enables or disables the low-power comparator hysteresis */ member
521 …p_SetHysteresis(LPCOMP_Type* base, cy_en_lpcomp_channel_t channel, cy_en_lpcomp_hyst_t hysteresis);