您好,我有一个现有的硬件依赖于引脚26(RB5)是一个可读的输入。它与T3CKI共享,这是默认的28针设备。问题是,如何重新配置它成为一个输入?没有寄存器来禁用定时器3,在T3CON中设置SOSCEN=1也不起作用。我还是看不懂这一点——PORTB的所有其他部分都很好。谢谢,克里斯。 以上来自于百度翻译 以下为原文 Hello,I have an existing hardware that relies on pin 26 (RB5) being a readable input. It is shared with T3CKI which is the default for 28-pin devices. The question is, how to reconfigure it to become an input? There is no register to disable timer 3, and setting SOSCEN=1 in T3CON didn't do the trick either. I still can't read this bit - all other bits in PORTB work fine.Thanks,Chris
2019-04-09 11:37