• 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
返回

电子发烧友 电子发烧友

  • 全文搜索
    • 全文搜索
    • 标题搜索
  • 全部时间
    • 全部时间
    • 1小时内
    • 1天内
    • 1周内
    • 1个月内
  • 默认排序
    • 默认排序
    • 按时间排序
  • 全部板块
    • 全部板块
大家还在搜
  • 不能将RB5用作28引脚PIC18F26K80的输入

    您好,我有一个现有的硬件依赖于引脚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