请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:MSP-EXP432E401Y 是否有调整内部 比较器电压电平的运行时方法?
SYSCFG 会设置编译时间:Comparator.referenceLevel ="1.65V";,但我看不到之后如何调整它。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
是否有调整内部 比较器电压电平的运行时方法?
SYSCFG 会设置编译时间:Comparator.referenceLevel ="1.65V";,但我看不到之后如何调整它。
C:\ti\simplelink_msp432e4_sdk_4_20_00_12\source\ti\devices\msp432e4\driverlib\comp.h 中的驱动程序似乎提供了一个用于设置比较器 Vref 的 API。 有一个函数 ComparatorRefSet()和一组用于设置电压的定义值,如
#define COMP_REF_1_65V 0x0000030C // 1.65V 内部基准
这是您要寻找的吗?
Jim