STM32L443xx HAL User Manual
|
Functions | |
ErrorStatus | LL_COMP_DeInit (COMP_TypeDef *COMPx) |
De-initialize registers of the selected COMP instance to their default reset values. | |
ErrorStatus | LL_COMP_Init (COMP_TypeDef *COMPx, LL_COMP_InitTypeDef *COMP_InitStruct) |
Initialize some features of COMP instance. | |
void | LL_COMP_StructInit (LL_COMP_InitTypeDef *COMP_InitStruct) |
Set each LL_COMP_InitTypeDef field to default value. |
ErrorStatus LL_COMP_DeInit | ( | COMP_TypeDef * | COMPx | ) |
De-initialize registers of the selected COMP instance to their default reset values.
COMPx | COMP instance |
An | ErrorStatus enumeration value:
|
Definition at line 193 of file stm32l4xx_ll_comp.c.
References assert_param, LL_COMP_IsLocked(), and LL_COMP_WriteReg.
ErrorStatus LL_COMP_Init | ( | COMP_TypeDef * | COMPx, |
LL_COMP_InitTypeDef * | COMP_InitStruct | ||
) |
Initialize some features of COMP instance.
COMPx | COMP instance |
COMP_InitStruct | Pointer to a LL_COMP_InitTypeDef structure |
An | ErrorStatus enumeration value:
|
Definition at line 230 of file stm32l4xx_ll_comp.c.
References assert_param, LL_COMP_InitTypeDef::InputHysteresis, LL_COMP_InitTypeDef::InputMinus, LL_COMP_InitTypeDef::InputPlus, IS_LL_COMP_INPUT_HYSTERESIS, IS_LL_COMP_INPUT_MINUS, IS_LL_COMP_INPUT_PLUS, IS_LL_COMP_OUTPUT_BLANKING_SOURCE, IS_LL_COMP_OUTPUT_POLARITY, IS_LL_COMP_POWER_MODE, LL_COMP_IsLocked(), LL_COMP_InitTypeDef::OutputBlankingSource, LL_COMP_InitTypeDef::OutputPolarity, and LL_COMP_InitTypeDef::PowerMode.
void LL_COMP_StructInit | ( | LL_COMP_InitTypeDef * | COMP_InitStruct | ) |
Set each LL_COMP_InitTypeDef field to default value.
COMP_InitStruct | Pointer to a LL_COMP_InitTypeDef structure whose fields will be set to default values. |
None |
Definition at line 309 of file stm32l4xx_ll_comp.c.
References LL_COMP_InitTypeDef::InputHysteresis, LL_COMP_InitTypeDef::InputMinus, LL_COMP_InitTypeDef::InputPlus, LL_COMP_BLANKINGSRC_NONE, LL_COMP_HYSTERESIS_NONE, LL_COMP_INPUT_MINUS_VREFINT, LL_COMP_INPUT_PLUS_IO1, LL_COMP_OUTPUTPOL_NONINVERTED, LL_COMP_POWERMODE_ULTRALOWPOWER, LL_COMP_InitTypeDef::OutputBlankingSource, LL_COMP_InitTypeDef::OutputPolarity, and LL_COMP_InitTypeDef::PowerMode.