/hal_stm32-2.7.6/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_comp.c | 319 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/ |
D | stm32g0xx_ll_comp.h | 57 #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 …]
|
D | stm32g0xx_hal_comp.h | 162 #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/ |
D | stm32u5xx_hal_comp.c | 314 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/ |
D | stm32u5xx_ll_comp.h | 59 #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()
|
D | stm32u5xx_hal_comp.h | 161 #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/ |
D | stm32l4xx_hal_comp.c | 348 #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/ |
D | stm32wbxx_hal_comp.c | 314 #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/ |
D | stm32l5xx_hal_comp.c | 311 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/ |
D | stm32wlxx_hal_comp.c | 311 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/ |
D | stm32l5xx_ll_comp.h | 121 #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()
|
D | stm32l5xx_hal_comp.h | 159 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: Com…
|
/hal_stm32-2.7.6/stm32cube/stm32wbxx/drivers/include/ |
D | stm32wbxx_ll_comp.h | 122 #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()
|
D | stm32wbxx_hal_comp.h | 162 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: Com…
|
/hal_stm32-2.7.6/stm32cube/stm32wlxx/drivers/include/ |
D | stm32wlxx_ll_comp.h | 121 #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()
|
D | stm32wlxx_hal_comp.h | 159 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: Com…
|
/hal_stm32-2.7.6/stm32cube/stm32l4xx/drivers/include/ |
D | stm32l4xx_ll_comp.h | 122 #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()
|
D | stm32l4xx_hal_comp.h | 162 #define COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON (COMP_CSR_WINMODE) /*!< Window mode enable: Com…
|
/hal_stm32-2.7.6/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_hal_comp.c | 445 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/ |
D | stm32l031xx.h | 969 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
|
D | stm32l041xx.h | 1097 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
|
D | stm32l051xx.h | 1004 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
|
D | stm32l011xx.h | 960 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
|
D | stm32l021xx.h | 1088 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
|
D | stm32l071xx.h | 1026 #define COMP_CSR_WINMODE COMP_CSR_COMP1WM /*!< Bit intended to be used with COMP common instance … macro
|