Home
last modified time | relevance | path

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

123

/hal_stm32-2.7.6/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_comp.c319 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
345 CLEAR_BIT(*comp_common_odd, COMP_CSR_WINMODE); in HAL_COMP_Init()
346 SET_BIT(*comp_common_even, COMP_CSR_WINMODE); in HAL_COMP_Init()
350 SET_BIT(*comp_common_odd, COMP_CSR_WINMODE); in HAL_COMP_Init()
351 CLEAR_BIT(*comp_common_even, COMP_CSR_WINMODE); in HAL_COMP_Init()
355 CLEAR_BIT(*comp_common_odd, COMP_CSR_WINMODE); in HAL_COMP_Init()
356 CLEAR_BIT(*comp_common_even, COMP_CSR_WINMODE); in HAL_COMP_Init()
388 CLEAR_BIT(COMP12_COMMON->CSR_ODD, COMP_CSR_WINMODE); in HAL_COMP_Init()
389 SET_BIT(COMP12_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in HAL_COMP_Init()
393 SET_BIT(COMP12_COMMON->CSR_ODD, COMP_CSR_WINMODE); in HAL_COMP_Init()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_ll_comp.h57 #define LL_COMP_WINDOWMODE_COMPX_SETTING_MASK (COMP_CSR_WINMODE)
147 #define LL_COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE | LL_COMP_WINDOWMODE_COMP_EVEN…
148 #define LL_COMP_WINDOWMODE_COMP2_INPUT_PLUS_COMMON (COMP_CSR_WINMODE | LL_COMP_WINDOWMODE_COMP_ODD_…
389 COMP_CSR_WINMODE in LL_COMP_SetCommonWindowMode()
394 COMP_CSR_WINMODE, in LL_COMP_SetCommonWindowMode()
426 window_mode_comp_odd = (uint32_t)READ_BIT(COMPxy_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in LL_COMP_GetCommonWindowMode()
427 window_mode_comp_even = (uint32_t)READ_BIT(COMPxy_COMMON->CSR_ODD, COMP_CSR_WINMODE); in LL_COMP_GetCommonWindowMode()
431 window_mode_comp_odd = (uint32_t)READ_BIT(COMPxy_COMMON->CSR_ODD, COMP_CSR_WINMODE); in LL_COMP_GetCommonWindowMode()
432 window_mode_comp_even = (uint32_t)READ_BIT(COMPxy_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in LL_COMP_GetCommonWindowMode()
435 …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.h162 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: Com…
163 #define COMP_WINDOWMODE_COMP2_INPUT_PLUS_COMMON (COMP_CSR_WINMODE | COMP_WINDOWMODE_COMP2) /*!< Win…
/hal_stm32-2.7.6/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_comp.c314 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
326 CLEAR_BIT(COMP12_COMMON->CSR_ODD, COMP_CSR_WINMODE); in HAL_COMP_Init()
327 SET_BIT(COMP12_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in HAL_COMP_Init()
331 SET_BIT(COMP12_COMMON->CSR_ODD, COMP_CSR_WINMODE); in HAL_COMP_Init()
332 CLEAR_BIT(COMP12_COMMON->CSR_EVEN, COMP_CSR_WINMODE); in HAL_COMP_Init()
336 CLEAR_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()
824 if (READ_BIT(hcomp->Instance->CSR, COMP_CSR_WINMODE) != 0UL) in HAL_COMP_IRQHandler()
851 if (READ_BIT(hcomp->Instance->CSR, COMP_CSR_WINMODE) != 0UL) in HAL_COMP_IRQHandler()
/hal_stm32-2.7.6/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_comp.h59 #define LL_COMP_WINDOWMODE_COMPX_SETTING_MASK (COMP_CSR_WINMODE)
149 #define LL_COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE | LL_COMP_WINDOWMODE_COMP_EVEN…
150 #define LL_COMP_WINDOWMODE_COMP2_INPUT_PLUS_COMMON (COMP_CSR_WINMODE | LL_COMP_WINDOWMODE_COMP_ODD_…
362 CLEAR_BIT(*preg_clear, COMP_CSR_WINMODE); in LL_COMP_SetCommonWindowMode()
365 MODIFY_REG(*preg, COMP_CSR_WINMODE, (WindowMode & LL_COMP_WINDOWMODE_COMPX_SETTING_MASK)); in LL_COMP_SetCommonWindowMode()
386 …const uint32_t window_mode_comp_odd = (uint32_t)READ_BIT(COMPxy_COMMON->CSR_ODD, COMP_CSR_WINMODE); in LL_COMP_GetCommonWindowMode()
387 …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.h161 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: Com…
162 #define COMP_WINDOWMODE_COMP2_INPUT_PLUS_COMMON (COMP_CSR_WINMODE | COMP_WINDOWMODE_COMP2) /*!< Win…
/hal_stm32-2.7.6/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_comp.c348 #if defined (COMP_CSR_WINMODE) in HAL_COMP_Init()
351 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
366 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
379 SET_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
383 CLEAR_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
842 if(READ_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE) != 0UL) in HAL_COMP_IRQHandler()
/hal_stm32-2.7.6/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_comp.c314 #if defined (COMP_CSR_WINMODE) in HAL_COMP_Init()
317 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
337 SET_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
341 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-2.7.6/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_comp.c311 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
322 SET_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
326 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-2.7.6/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_comp.c311 COMP_CSR_WINMODE | COMP_CSR_POLARITY | COMP_CSR_HYST | in HAL_COMP_Init()
322 SET_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
326 CLEAR_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
807 if(READ_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE) != 0UL) in HAL_COMP_IRQHandler()
/hal_stm32-2.7.6/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_ll_comp.h121 #define LL_COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable:…
311 MODIFY_REG(COMPxy_COMMON->CSR, COMP_CSR_WINMODE, WindowMode); in LL_COMP_SetCommonWindowMode()
326 return (uint32_t)(READ_BIT(COMPxy_COMMON->CSR, COMP_CSR_WINMODE)); in LL_COMP_GetCommonWindowMode()
Dstm32l5xx_hal_comp.h159 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: Com…
/hal_stm32-2.7.6/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_ll_comp.h122 #define LL_COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable:…
320 MODIFY_REG(COMPxy_COMMON->CSR, COMP_CSR_WINMODE, WindowMode); in LL_COMP_SetCommonWindowMode()
335 return (uint32_t)(READ_BIT(COMPxy_COMMON->CSR, COMP_CSR_WINMODE)); in LL_COMP_GetCommonWindowMode()
Dstm32wbxx_hal_comp.h162 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: Com…
/hal_stm32-2.7.6/stm32cube/stm32wlxx/drivers/include/
Dstm32wlxx_ll_comp.h121 #define LL_COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable:…
309 MODIFY_REG(COMPxy_COMMON->CSR, COMP_CSR_WINMODE, WindowMode); in LL_COMP_SetCommonWindowMode()
324 return (uint32_t)(READ_BIT(COMPxy_COMMON->CSR, COMP_CSR_WINMODE)); in LL_COMP_GetCommonWindowMode()
Dstm32wlxx_hal_comp.h159 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: Com…
/hal_stm32-2.7.6/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_ll_comp.h122 #define LL_COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable:…
363 MODIFY_REG(COMPxy_COMMON->CSR, COMP_CSR_WINMODE, WindowMode); in LL_COMP_SetCommonWindowMode()
378 return (uint32_t)(READ_BIT(COMPxy_COMMON->CSR, COMP_CSR_WINMODE)); in LL_COMP_GetCommonWindowMode()
Dstm32l4xx_hal_comp.h162 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: Com…
/hal_stm32-2.7.6/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_comp.c445 SET_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
449 CLEAR_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE); in HAL_COMP_Init()
876 if(READ_BIT(COMP12_COMMON->CSR, COMP_CSR_WINMODE) != 0) in HAL_COMP_IRQHandler()
/hal_stm32-2.7.6/stm32cube/stm32l0xx/soc/
Dstm32l031xx.h969 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
Dstm32l041xx.h1097 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
Dstm32l051xx.h1004 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
Dstm32l011xx.h960 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
Dstm32l021xx.h1088 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
Dstm32l071xx.h1026 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro

123