0
点赞
收藏
分享

微信扫一扫

第三章 图论 No.6负环之01分数规划与特殊建图方式

钎探穗 2023-08-09 阅读 13
linuxgpio

author

daisy.skye的博客_CSDN博客-Qt,嵌入式,Linux领域博主

https://blog.csdn.net/qq_40715266?type=blog

系列基于RK3568的Linux驱动开发——GPIO知识点(一)_daisy.skye的博客-CSDN博客

基于RK3568的Linux驱动开发—— GPIO知识点(二)_daisy.skye的博客-CSDN博客

adb 查看

显示不同的状态

NO PULL

                bias-disable; /* No PULL */

                drive-strength = <2>; /* 2 MA */

代码修改:

			qdsd_cmd_trace: cmd_trace {
				config {
					pins = "gpio2";
					bias-pull-down; /* pull down */
					drive-strength = <2>; /* 2 MA */
				};
			};
			qdsd_cmd_swduart: cmd_uart {
				config {
					pins = "gpio3";
					bias-pull-up; /* pull up */
					drive-strength = <2>; /* 2 MA */
				};
			};
			qdsd_cmd_jtag: cmd_jtag {
				config {
					pins = "gpio4";
					bias-disable; /* NO pull */
					drive-strength = <8>; /* 8 MA */
				};
			};

举报

相关推荐

0 条评论