Home
last modified time | relevance | path

Searched refs:COMP_CSR_WINMODE (Results 1 – 25 of 90) sorted by relevance

1234

/hal_stm32-3.7.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_comp.c316 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
344 CLEAR_BIT(*comp_common_odd, COMP_CSR_WINMODE); in HAL_COMP_Init()
345 SET_BIT(*comp_common_even, COMP_CSR_WINMODE); in HAL_COMP_Init()
349 SET_BIT(*comp_common_odd, COMP_CSR_WINMODE); in HAL_COMP_Init()
350 CLEAR_BIT(*comp_common_even, COMP_CSR_WINMODE); in HAL_COMP_Init()
354 CLEAR_BIT(*comp_common_odd, COMP_CSR_WINMODE); in HAL_COMP_Init()
355 CLEAR_BIT(*comp_common_even, COMP_CSR_WINMODE); in HAL_COMP_Init()
387 CLEAR_BIT(COMP12_COMMON->CSR_ODD, COMP_CSR_WINMODE); in HAL_COMP_Init()
388 SET_BIT(COMP12_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in HAL_COMP_Init()
392 SET_BIT(COMP12_COMMON->CSR_ODD, COMP_CSR_WINMODE); in HAL_COMP_Init()
[all …]
/hal_stm32-3.7.0/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_ll_comp.h59 #define LL_COMP_WINDOWMODE_COMPX_SETTING_MASK (COMP_CSR_WINMODE)
150 #define LL_COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE | LL_COMP_WINDOWMODE_COMP_EVEN…
151 #define LL_COMP_WINDOWMODE_COMP2_INPUT_PLUS_COMMON (COMP_CSR_WINMODE | LL_COMP_WINDOWMODE_COMP_ODD_…
397 COMP_CSR_WINMODE in LL_COMP_SetCommonWindowMode()
402 COMP_CSR_WINMODE, in LL_COMP_SetCommonWindowMode()
434 window_mode_comp_odd = (uint32_t)READ_BIT(COMPxy_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in LL_COMP_GetCommonWindowMode()
435 window_mode_comp_even = (uint32_t)READ_BIT(COMPxy_COMMON->CSR_ODD, COMP_CSR_WINMODE); in LL_COMP_GetCommonWindowMode()
439 window_mode_comp_odd = (uint32_t)READ_BIT(COMPxy_COMMON->CSR_ODD, COMP_CSR_WINMODE); in LL_COMP_GetCommonWindowMode()
440 window_mode_comp_even = (uint32_t)READ_BIT(COMPxy_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in LL_COMP_GetCommonWindowMode()
443 …const uint32_t window_mode_comp_odd = (uint32_t)READ_BIT(COMPxy_COMMON->CSR_ODD, COMP_CSR_WINMODE); in LL_COMP_GetCommonWindowMode()
[all …]
Dstm32g0xx_hal_comp.h166 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: …
172 #define COMP_WINDOWMODE_COMP2_INPUT_PLUS_COMMON (COMP_CSR_WINMODE \
/hal_stm32-3.7.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_comp.c312 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
325 CLEAR_BIT(COMP12_COMMON->CSR_ODD, COMP_CSR_WINMODE); in HAL_COMP_Init()
326 SET_BIT(COMP12_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in HAL_COMP_Init()
330 SET_BIT(COMP12_COMMON->CSR_ODD, COMP_CSR_WINMODE); in HAL_COMP_Init()
331 CLEAR_BIT(COMP12_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in HAL_COMP_Init()
335 CLEAR_BIT(COMP12_COMMON->CSR_ODD, COMP_CSR_WINMODE); in HAL_COMP_Init()
336 CLEAR_BIT(COMP12_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in HAL_COMP_Init()
820 comparator_window_mode = READ_BIT(COMP12_COMMON->CSR_ODD, COMP_CSR_WINMODE); in HAL_COMP_IRQHandler()
821 comparator_window_mode |= READ_BIT(COMP12_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in HAL_COMP_IRQHandler()
/hal_stm32-3.7.0/stm32cube/stm32wbaxx/drivers/include/
Dstm32wbaxx_ll_comp.h59 #define LL_COMP_WINDOWMODE_COMPX_SETTING_MASK (COMP_CSR_WINMODE)
150 #define LL_COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE | LL_COMP_WINDOWMODE_COMP_EVEN…
151 #define LL_COMP_WINDOWMODE_COMP2_INPUT_PLUS_COMMON (COMP_CSR_WINMODE | LL_COMP_WINDOWMODE_COMP_ODD_…
357 COMP_CSR_WINMODE in LL_COMP_SetCommonWindowMode()
362 COMP_CSR_WINMODE, in LL_COMP_SetCommonWindowMode()
382 …const uint32_t window_mode_comp_odd = (uint32_t)READ_BIT(COMPxy_COMMON->CSR_ODD, COMP_CSR_WINMODE); in LL_COMP_GetCommonWindowMode()
383 …nst uint32_t window_mode_comp_even = (uint32_t)READ_BIT(COMPxy_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in LL_COMP_GetCommonWindowMode()
Dstm32wbaxx_hal_comp.h165 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: …
171 #define COMP_WINDOWMODE_COMP2_INPUT_PLUS_COMMON (COMP_CSR_WINMODE \
/hal_stm32-3.7.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_comp.c318 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
331 CLEAR_BIT(COMP12_COMMON->CSR_ODD, COMP_CSR_WINMODE); in HAL_COMP_Init()
332 SET_BIT(COMP12_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in HAL_COMP_Init()
336 SET_BIT(COMP12_COMMON->CSR_ODD, COMP_CSR_WINMODE); in HAL_COMP_Init()
337 CLEAR_BIT(COMP12_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in HAL_COMP_Init()
341 CLEAR_BIT(COMP12_COMMON->CSR_ODD, COMP_CSR_WINMODE); in HAL_COMP_Init()
342 CLEAR_BIT(COMP12_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in HAL_COMP_Init()
825 uint32_t comparator_window_mode = READ_BIT(hcomp->Instance->CSR, COMP_CSR_WINMODE); in HAL_COMP_IRQHandler()
/hal_stm32-3.7.0/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_comp.h59 #define LL_COMP_WINDOWMODE_COMPX_SETTING_MASK (COMP_CSR_WINMODE)
150 #define LL_COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE | LL_COMP_WINDOWMODE_COMP_EVEN…
151 #define LL_COMP_WINDOWMODE_COMP2_INPUT_PLUS_COMMON (COMP_CSR_WINMODE | LL_COMP_WINDOWMODE_COMP_ODD_…
370 CLEAR_BIT(*preg_clear, COMP_CSR_WINMODE); in LL_COMP_SetCommonWindowMode()
373 MODIFY_REG(*preg, COMP_CSR_WINMODE, (WindowMode & LL_COMP_WINDOWMODE_COMPX_SETTING_MASK)); in LL_COMP_SetCommonWindowMode()
394 …const uint32_t window_mode_comp_odd = (uint32_t)READ_BIT(COMPxy_COMMON->CSR_ODD, COMP_CSR_WINMODE); in LL_COMP_GetCommonWindowMode()
395 …nst uint32_t window_mode_comp_even = (uint32_t)READ_BIT(COMPxy_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in LL_COMP_GetCommonWindowMode()
Dstm32u5xx_hal_comp.h167 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: …
173 #define COMP_WINDOWMODE_COMP2_INPUT_PLUS_COMMON (COMP_CSR_WINMODE \
/hal_stm32-3.7.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_comp.c344 #if defined (COMP_CSR_WINMODE) in HAL_COMP_Init()
347 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
362 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
376 SET_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
380 CLEAR_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
841 if (READ_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE) != 0UL) in HAL_COMP_IRQHandler()
/hal_stm32-3.7.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_comp.c308 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
320 SET_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
324 CLEAR_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
784 if (READ_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE) != 0UL) in HAL_COMP_IRQHandler()
811 if (READ_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE) != 0UL) in HAL_COMP_IRQHandler()
/hal_stm32-3.7.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_comp.c311 #if defined (COMP_CSR_WINMODE) in HAL_COMP_Init()
314 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
335 SET_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
339 CLEAR_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
800 if (READ_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE) != 0UL) in HAL_COMP_IRQHandler()
/hal_stm32-3.7.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_comp.c308 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
319 SET_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
323 CLEAR_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
804 if(READ_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE) != 0UL) in HAL_COMP_IRQHandler()
/hal_stm32-3.7.0/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_ll_comp.h121 #define LL_COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable:…
314 MODIFY_REG(COMPxy_COMMON->CSR, COMP_CSR_WINMODE, WindowMode); in LL_COMP_SetCommonWindowMode()
329 return (uint32_t)(READ_BIT(COMPxy_COMMON->CSR, COMP_CSR_WINMODE)); in LL_COMP_GetCommonWindowMode()
Dstm32l5xx_hal_comp.h162 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: …
/hal_stm32-3.7.0/stm32cube/stm32wlxx/drivers/include/
Dstm32wlxx_ll_comp.h120 #define LL_COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable:…
308 MODIFY_REG(COMPxy_COMMON->CSR, COMP_CSR_WINMODE, WindowMode); in LL_COMP_SetCommonWindowMode()
323 return (uint32_t)(READ_BIT(COMPxy_COMMON->CSR, COMP_CSR_WINMODE)); in LL_COMP_GetCommonWindowMode()
Dstm32wlxx_hal_comp.h158 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: Com…
/hal_stm32-3.7.0/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_ll_comp.h122 #define LL_COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable:…
322 MODIFY_REG(COMPxy_COMMON->CSR, COMP_CSR_WINMODE, WindowMode); in LL_COMP_SetCommonWindowMode()
337 return (uint32_t)(READ_BIT(COMPxy_COMMON->CSR, COMP_CSR_WINMODE)); in LL_COMP_GetCommonWindowMode()
Dstm32wbxx_hal_comp.h164 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: Com…
/hal_stm32-3.7.0/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_ll_comp.h122 #define LL_COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable:…
365 MODIFY_REG(COMPxy_COMMON->CSR, COMP_CSR_WINMODE, WindowMode); in LL_COMP_SetCommonWindowMode()
380 return (uint32_t)(READ_BIT(COMPxy_COMMON->CSR, COMP_CSR_WINMODE)); in LL_COMP_GetCommonWindowMode()
Dstm32l4xx_hal_comp.h165 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: …
/hal_stm32-3.7.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_comp.c443 SET_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
447 CLEAR_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
874 if(READ_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE) != 0) in HAL_COMP_IRQHandler()
/hal_stm32-3.7.0/stm32cube/stm32l0xx/soc/
Dstm32l021xx.h1087 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
Dstm32l031xx.h968 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
Dstm32l041xx.h1096 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro

1234