<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > GPIO的上拉下拉功能說明

          GPIO的上拉下拉功能說明

          作者: 時間:2016-11-25 來源:網(wǎng)絡(luò) 收藏
          The port pull-up register controls the pull-up resister enable/disable of each port group. When the corresponding bit is 0, the pull-up resister of the pin is enabled. When 1, the pull-up resister is disabled.
          If the port pull-up register is enabled then the pull-up resisters work without pin’s functional setting(input, output,DATAn, EINTn and etc)

          上拉寄存器是控制對應(yīng)端口上拉使能的。當(dāng)對應(yīng)位為0時,設(shè)置對應(yīng)引腳上拉使能,為1時,禁止對應(yīng)引腳上拉使能。如果上拉寄存器使能,無論引腳功能寄存器如何設(shè)置(輸入,輸出,數(shù)據(jù),中斷等),對應(yīng)引腳輸出高電平。

          本文引用地址:http://www.ex-cimer.com/article/201611/321410.htm

          可見對應(yīng)于S3C2410的GPB-BPH口內(nèi)部有上拉電阻寄存器,當(dāng)相應(yīng)的上拉電阻使能時,對應(yīng)的I/O引腳懸空時,表現(xiàn)出高電平。反之,表現(xiàn)出低電平。

          上拉是一個電阻接到一個電壓,其實就是增強IO的驅(qū)動能力。
          下拉是一個電阻接到地,保證IO口是低電平。



          關(guān)鍵詞: GPIO上拉下拉功

          評論


          技術(shù)專區(qū)

          關(guān)閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();