COMP初始化结构体句柄,初始化时请定义该句柄,并用其地址来传参。 更多...
#include <STC8x_COMP.h>
成员变量 | |
uint8_t | PEPin |
uint8_t | NEPin |
BOOL | AC_FTW |
uint16_t | DC_FTW |
COMPDIRPut_Type | DIRPut |
BOOL | Output |
BOOL | Run |
COMP初始化结构体句柄,初始化时请定义该句柄,并用其地址来传参。
The COMP initializes the structure handle. When initializing, please define the handle and use its address to pass parameters.
BOOL AC_FTW |
模拟滤波控制位。 COMP 0.1us analog filter control bit.
uint16_t DC_FTW |
数字滤波控制时间参数,0为关闭数字滤波。COMP digital filter clock number.
COMPDIRPut_Type DIRPut |
比较结果输出方向。COMP output direction.
uint8_t NEPin |
正极输入脚。COMP negative input selection bit.
BOOL Output |
比较结果输出控制位。COMP result output control bit.
uint8_t PEPin |
负极输入脚。COMP positive input selection bit.
BOOL Run |
比较器运行控制位。 COMP operation control bit.