PIC16F68 8的数据表没有说明内部电压基准是如何连接到比较器-倒相或非倒相输入的?
http://WW1.Microchip .com……N/DeviceDoc /4120 3E.PDFAL,我只想使用一个比较器,但我不希望输出在外部引脚上——我只需要在代码中看到它,无论是通过中断还是轮询。“一个独立的比较器CM & lt;2:0& gt;=101”将输出放在外部引脚上。我不想为比较器的输出浪费一个引脚。有可能吗?综上所述,我想使用一个带有内部电压基准的比较器,并用软件处理比较器输出。
以上来自于百度翻译
以下为原文
The datasheet for the PIC16F688 does not say how the internal voltage reference is connected to the comparators - inverted or non-inverted inputs?
http://ww1.microchip.com/...n/DeviceDoc/41203E.pdf
Also, I would like to use only one comparator but I do not want the output on an external pin - I only need to see it in code, whether by an interrupt or by polling.
"One Independent Comparator CM<2:0> = 101" puts the output on an external pin.
And I do not want to waste a pin for the comparator output. Is it possible?
So, to sum up, I want to use a single comparator, with internal voltage reference, and process the comparator output in software.
Total I/O pins used: 1
Thanks.