|
STM32G474xx HAL User Manual
|
函数 | |
| ErrorStatus | LL_COMP_DeInit (COMP_TypeDef *COMPx) |
| 将所选COMP实例的寄存器去初始化为默认复位值。 | |
| ErrorStatus | LL_COMP_Init (COMP_TypeDef *COMPx, const LL_COMP_InitTypeDef *COMP_InitStruct) |
| 初始化COMP实例的部分功能特性。 | |
| void | LL_COMP_StructInit (LL_COMP_InitTypeDef *COMP_InitStruct) |
| 将每个LL_COMP_InitTypeDef字段设置为默认值。 | |
| ErrorStatus LL_COMP_DeInit | ( | COMP_TypeDef * | COMPx | ) |
将所选COMP实例的寄存器去初始化为默认复位值。
| COMPx | COMP实例 |
| 一个 | ErrorStatus枚举值:
|
定义位于文件stm32g4xx_ll_comp.c的第328行。
| ErrorStatus LL_COMP_Init | ( | COMP_TypeDef * | COMPx, |
| const LL_COMP_InitTypeDef * | COMP_InitStruct | ||
| ) |
初始化COMP实例的部分功能特性。
| COMPx | COMP实例 |
| COMP_InitStruct | 指向LL_COMP_InitTypeDef结构的指针 |
| 一个 | ErrorStatus枚举值:
|
定义位于文件stm32g4xx_ll_comp.c的第365行。
引用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、LL_COMP_IsLocked()、LL_COMP_InitTypeDef::OutputBlankingSource和LL_COMP_InitTypeDef::OutputPolarity。
| void LL_COMP_StructInit | ( | LL_COMP_InitTypeDef * | COMP_InitStruct | ) |
将每个LL_COMP_InitTypeDef字段设置为默认值。
| COMP_InitStruct | 指向其字段将被设置为默认值的LL_COMP_InitTypeDef结构。 |
| 无 |
定义位于文件stm32g4xx_ll_comp.c的第419行。
引用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_InitTypeDef::OutputBlankingSource和LL_COMP_InitTypeDef::OutputPolarity。
1.7.6.1