您的位置 首页 模拟

GPIO的上拉下拉功用阐明

Theportpull-upregistercontrolsthepull-upresisterenabledisableofeachportgroupWhenthecorresponding

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)

上拉存放器是操控对应端口上拉使能的。当对应位为0时,设置对应引脚上拉使能,为1时,制止对应引脚上拉使能。假如上拉存放器使能,不管引脚功用存放器怎么设置(输入,输出,数据,中止等),对应引脚输出高电平。

可见对应于S3C2410的GPB-BPH口内部有上拉电阻存放器,当相应的上拉电阻使能时,对应的I/O引脚悬空时,表现出高电平。反之,表现出低电平。

上拉是一个电阻接到一个电压,其实便是增强IO的驱动才能。
下拉是一个电阻接到地,确保IO口是低电平。

声明:本文内容来自网络转载或用户投稿,文章版权归原作者和原出处所有。文中观点,不代表本站立场。若有侵权请联系本站删除(kf@86ic.com)https://www.86ic.net/zhishi/moni/259370.html

为您推荐

联系我们

联系我们

在线咨询: QQ交谈

邮箱: kf@86ic.com

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

返回顶部