Home
last modified time | relevance | path

Searched refs:CS_CMP0HST (Results 1 – 4 of 4) sorted by relevance

/hal_gigadevice-latest/gd32f3x0/standard_peripheral/include/
Dgd32f3x0_cmp.h141 #define CS_CMP0HST(regval) (BITS(12,13) & ((uint32_t)(regval) << 12)) macro
142 #define CS_CMP0HST_HYSTERESIS_NO CS_CMP0HST(0) /*!< CMP0 output no…
143 #define CS_CMP0HST_HYSTERESIS_LOW CS_CMP0HST(1) /*!< CMP0 output lo…
144 #define CS_CMP0HST_HYSTERESIS_MIDDLE CS_CMP0HST(2) /*!< CMP0 output mi…
145 #define CS_CMP0HST_HYSTERESIS_HIGH CS_CMP0HST(3) /*!< CMP0 output hi…
/hal_gigadevice-latest/gd32l23x/standard_peripheral/include/
Dgd32l23x_cmp.h175 #define CS_CMP0HST(regval) (BITS(16,17) & ((uint32_t)(regval) << 16)) macro
176 #define CS_CMP0HST_HYSTERESIS_NO CS_CMP0HST(0) /*!< CMP0 output n…
177 #define CS_CMP0HST_HYSTERESIS_LOW CS_CMP0HST(1) /*!< CMP0 output l…
178 #define CS_CMP0HST_HYSTERESIS_MEDIUM CS_CMP0HST(2) /*!< CMP0 output m…
179 #define CS_CMP0HST_HYSTERESIS_HIGH CS_CMP0HST(3) /*!< CMP0 output h…
/hal_gigadevice-latest/gd32f3x0/standard_peripheral/source/
Dgd32f3x0_cmp.c83 …CMPx_CS |= CS_CMP0M(operating_mode) | CS_CMP0MSEL(inverting_input) | CS_CMP0HST(output_hysteresis); in cmp_mode_init()
/hal_gigadevice-latest/gd32l23x/standard_peripheral/source/
Dgd32l23x_cmp.c88 …CMPx_CS |= (uint32_t)(CS_CMP0PM(operating_mode) | CS_CMP0MSEL(inverting_input) | CS_CMP0HST(output… in cmp_mode_init()