STM32G474xx HAL 用户手册
宏定义 | 函数
stm32g4xx_ll_comp.c 文件参考

COMP LL 模块驱动。 更多...

#include "stm32g4xx_ll_comp.h"

跳转到该文件的源代码。

宏定义

#define assert_param(expr)   ((void)0U)
#define IS_LL_COMP_INPUT_PLUS(__COMP_INSTANCE__, __INPUT_PLUS__)
#define IS_LL_COMP_INPUT_MINUS(__COMP_INSTANCE__, __INPUT_MINUS__)
#define IS_LL_COMP_INPUT_HYSTERESIS(__INPUT_HYSTERESIS__)
#define IS_LL_COMP_OUTPUT_POLARITY(__POLARITY__)
#define IS_LL_COMP_OUTPUT_BLANKING_SOURCE(__INSTANCE__, __OUTPUT_BLANKING_SOURCE__)

函数

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 字段设置为默认值。

详细描述

COMP LL 模块驱动。

作者:
MCD 应用团队
注意:

版权所有 (c) 2019 STMicroelectronics。保留所有权利。

本软件根据本软件组件根目录中 LICENSE 文件中的条款进行许可。如果没有随本软件提供 LICENSE 文件,则按“原样”提供。

该定义位于文件 stm32g4xx_ll_comp.c 中。


宏定义文档

#define assert_param (   expr)    ((void)0U)

定义位于文件 27 行,文件 stm32g4xx_ll_comp.c

LL_COMP_DeInit()LL_COMP_Init() 引用。