Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
Configuration of comparator modes
[COMP Exported Functions]
Functions | |
__STATIC_INLINE void | LL_COMP_SetPowerMode (COMP_TypeDef *COMPx, uint32_t PowerMode) |
Set comparator instance operating mode to adjust power and speed. | |
__STATIC_INLINE uint32_t | LL_COMP_GetPowerMode (COMP_TypeDef *COMPx) |
Get comparator instance operating mode to adjust power and speed. | |
__STATIC_INLINE void | LL_COMP_SetWindowMode (COMP_TypeDef *COMPx, uint32_t WindowMode) |
Set window mode of the comparators. | |
__STATIC_INLINE uint32_t | LL_COMP_GetWindowMode (COMP_TypeDef *COMPx) |
Get window mode of the comparators. |
Function Documentation
__STATIC_INLINE uint32_t LL_COMP_GetPowerMode | ( | COMP_TypeDef * | COMPx ) |
Get comparator instance operating mode to adjust power and speed.
CSR PWRMODE LL_COMP_GetPowerMode
- Parameters:
-
COMPx Comparator instance
- Return values:
-
Returned value can be one of the following values: - LL_COMP_POWERMODE_HIGHSPEED
- LL_COMP_POWERMODE_MEDIUMSPEED
- LL_COMP_POWERMODE_ULTRALOWPOWER
Definition at line 227 of file stm32l4xx_ll_comp.h.
__STATIC_INLINE uint32_t LL_COMP_GetWindowMode | ( | COMP_TypeDef * | COMPx ) |
Get window mode of the comparators.
CSR WINMODE LL_COMP_GetWindowMode
- Parameters:
-
COMPx Comparator instance On this STM32 family, window mode can be set only from COMP instance: COMP2.
- Return values:
-
Returned value can be one of the following values: - LL_COMP_WINDOWMODE_DISABLE
- LL_COMP_WINDOWMODE_ENABLE
Definition at line 256 of file stm32l4xx_ll_comp.h.
__STATIC_INLINE void LL_COMP_SetPowerMode | ( | COMP_TypeDef * | COMPx, |
uint32_t | PowerMode | ||
) |
Set comparator instance operating mode to adjust power and speed.
CSR PWRMODE LL_COMP_SetPowerMode
- Parameters:
-
COMPx Comparator instance PowerMode This parameter can be one of the following values: - LL_COMP_POWERMODE_HIGHSPEED
- LL_COMP_POWERMODE_MEDIUMSPEED
- LL_COMP_POWERMODE_ULTRALOWPOWER
- Return values:
-
None
Definition at line 213 of file stm32l4xx_ll_comp.h.
__STATIC_INLINE void LL_COMP_SetWindowMode | ( | COMP_TypeDef * | COMPx, |
uint32_t | WindowMode | ||
) |
Set window mode of the comparators.
CSR WINMODE LL_COMP_SetWindowMode
- Parameters:
-
COMPx Comparator instance. On this STM32 family, window mode can be set only from COMP instance: COMP2. WindowMode This parameter can be one of the following values: - LL_COMP_WINDOWMODE_DISABLE
- LL_COMP_WINDOWMODE_ENABLE
- Return values:
-
None
Definition at line 242 of file stm32l4xx_ll_comp.h.
Generated on Tue Jul 12 2022 11:35:21 by 1.7.2