/hal_stm32-3.7.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_comp.c | 316 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/ |
D | stm32g0xx_ll_comp.h | 59 #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 …]
|
D | stm32g0xx_hal_comp.h | 166 #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/ |
D | stm32wbaxx_hal_comp.c | 312 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/ |
D | stm32wbaxx_ll_comp.h | 59 #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()
|
D | stm32wbaxx_hal_comp.h | 165 #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/ |
D | stm32u5xx_hal_comp.c | 318 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/ |
D | stm32u5xx_ll_comp.h | 59 #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()
|
D | stm32u5xx_hal_comp.h | 167 #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/ |
D | stm32l4xx_hal_comp.c | 344 #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/ |
D | stm32l5xx_hal_comp.c | 308 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/ |
D | stm32wbxx_hal_comp.c | 311 #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/ |
D | stm32wlxx_hal_comp.c | 308 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/ |
D | stm32l5xx_ll_comp.h | 121 #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()
|
D | stm32l5xx_hal_comp.h | 162 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: …
|
/hal_stm32-3.7.0/stm32cube/stm32wlxx/drivers/include/ |
D | stm32wlxx_ll_comp.h | 120 #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()
|
D | stm32wlxx_hal_comp.h | 158 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: Com…
|
/hal_stm32-3.7.0/stm32cube/stm32wbxx/drivers/include/ |
D | stm32wbxx_ll_comp.h | 122 #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()
|
D | stm32wbxx_hal_comp.h | 164 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: Com…
|
/hal_stm32-3.7.0/stm32cube/stm32l4xx/drivers/include/ |
D | stm32l4xx_ll_comp.h | 122 #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()
|
D | stm32l4xx_hal_comp.h | 165 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: …
|
/hal_stm32-3.7.0/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_hal_comp.c | 443 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/ |
D | stm32l021xx.h | 1087 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
|
D | stm32l031xx.h | 968 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
|
D | stm32l041xx.h | 1096 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
|