{"id":56784,"date":"2023-10-19T07:45:14","date_gmt":"2023-10-18T23:45:14","guid":{"rendered":"https:\/\/www.techphant.cn\/blog\/56784.html"},"modified":"2023-10-19T07:45:14","modified_gmt":"2023-10-18T23:45:14","slug":"ghutmssm","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/56784.html","title":{"rendered":"GPIO\u548cUART\uff1a\u5b83\u4eec\u662f\u4ec0\u4e48\uff1f"},"content":{"rendered":"
GPIO\u548cUART\u662f\u4e24\u79cd\u4e0d\u540c\u7c7b\u578b\u7684\u63a5\u53e3\uff0c\u5b83\u4eec\u90fd\u53ef\u4ee5\u7528\u4e8e\u5916\u90e8\u8bbe\u5907\u548c\u7535\u8111\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/strong>\u5b83\u4eec\u7684\u7279\u70b9\u548c\u5e94\u7528\u573a\u666f\u6709\u5f88\u5927\u7684\u4e0d\u540c\uff0c\u4eca\u5929\u6211\u4eec\u5c31\u6765\u804a\u804a\u5b83\u4eec\u7684\u533a\u522b\u3002<\/p>\n GPIO\uff08General Purpose Input Output\uff09\u53c8\u79f0\u901a\u7528\u8f93\u5165\u8f93\u51fa\u63a5\u53e3\uff0c\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u5916\u90e8\u8bbe\u5907\u548c\u7535\u8111\u4e4b\u95f4\u7684\u901a\u4fe1\u3002GPIO\u63a5\u53e3\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u5404\u79cd\u529f\u80fd\uff0c\u6bd4\u5982\u63a7\u5236LED\u706f\u7684\u4eae\u706d\uff0c\u63a7\u5236\u7535\u673a\u7684\u8f6c\u52a8\uff0c\u8bfb\u53d6\u6e29\u5ea6\u4f20\u611f\u5668\u7684\u503c\u7b49\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u5404\u79cd\u7269\u8054\u7f51\u5e94\u7528\uff0c\u6bd4\u5982\u667a\u80fd\u5bb6\u5c45\uff0c\u667a\u80fd\u5b89\u9632\uff0c\u667a\u80fd\u519c\u4e1a\u7b49\u3002<\/p>\n GPIO\u63a5\u53e3\u7684\u4f18\u70b9\u662f\u5b83\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u5404\u79cd\u529f\u80fd\uff0c\u53ef\u4ee5\u63a7\u5236\u5916\u90e8\u8bbe\u5907\uff0c\u53ef\u4ee5\u8bfb\u53d6\u4f20\u611f\u5668\u7684\u6570\u636e\u7b49\u3002\u7f3a\u70b9\u662f\u5b83\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\u8f83\u6162\uff0c\u800c\u4e14\u5b83\u53ea\u80fd\u7528\u4e8e\u8fde\u63a5\u5916\u90e8\u8bbe\u5907\uff0c\u4e0d\u80fd\u7528\u4e8e\u8fde\u63a5\u7535\u8111\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/p>\n UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u53c8\u79f0\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\uff0c\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u7535\u8111\u4e4b\u95f4\u7684\u901a\u4fe1\u3002UART\u63a5\u53e3\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u5404\u79cd\u6570\u636e\u4f20\u8f93\uff0c\u6bd4\u5982\u6587\u4ef6\u4f20\u8f93\uff0c\u6570\u636e\u4f20\u8f93\uff0c\u56fe\u50cf\u4f20\u8f93\u7b49\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u5404\u79cd\u7f51\u7edc\u5e94\u7528\uff0c\u6bd4\u5982\u804a\u5929\uff0c\u7f51\u7edc\u6e38\u620f\uff0c\u8fdc\u7a0b\u63a7\u5236\u7b49\u3002<\/p>\n UART\u63a5\u53e3\u7684\u4f18\u70b9\u662f\u5b83\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u591a\u79cd\u6570\u636e\u4f20\u8f93\uff0c\u800c\u4e14\u6570\u636e\u4f20\u8f93\u901f\u7387\u8f83\u5feb\uff0c\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u7535\u8111\u4e4b\u95f4\u7684\u901a\u4fe1\u3002\u7f3a\u70b9\u662f\u5b83\u53ea\u80fd\u7528\u4e8e\u8fde\u63a5\u7535\u8111\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u4e0d\u80fd\u7528\u4e8e\u63a7\u5236\u5916\u90e8\u8bbe\u5907\uff0c\u4e5f\u4e0d\u80fd\u7528\u4e8e\u8bfb\u53d6\u4f20\u611f\u5668\u7684\u6570\u636e\u3002<\/p>\n GPIO\u548cUART\u662f\u4e24\u79cd\u4e0d\u540c\u7c7b\u578b\u7684\u63a5\u53e3\uff0c\u5b83\u4eec\u90fd\u53ef\u4ee5\u7528\u4e8e\u5916\u90e8\u8bbe\u5907\u548c\u7535\u8111\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/strong>GPIO\u63a5\u53e3\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u5404\u79cd\u529f\u80fd\uff0c\u6bd4\u5982\u63a7\u5236LED\u706f\u7684\u4eae\u706d\uff0c\u63a7\u5236\u7535\u673a\u7684\u8f6c\u52a8\uff0c\u8bfb\u53d6\u6e29\u5ea6\u4f20\u611f\u5668\u7684\u503c\u7b49\uff1b\u800cUART\u63a5\u53e3\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u5404\u79cd\u6570\u636e\u4f20\u8f93\uff0c\u6bd4\u5982\u6587\u4ef6\u4f20\u8f93\uff0c\u6570\u636e\u4f20\u8f93\uff0c\u56fe\u50cf\u4f20\u8f93\u7b49\u3002\u603b\u4e4b\uff0cGPIO\u548cUART\u662f\u4e24\u79cd\u4e0d\u540c\u7684\u63a5\u53e3\uff0c\u5b83\u4eec\u7684\u5e94\u7528\u573a\u666f\u4e5f\u4e0d\u540c\uff0c\u8981\u6839\u636e\u5b9e\u9645\u9700\u6c42\u6765\u9009\u62e9\u5408\u9002\u7684\u63a5\u53e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" GPIO\u548cUART\u662f\u4e24\u79cd\u4e0d\u540c\u7c7b\u578b\u7684\u63a5\u53e3\uff0c\u5b83\u4eec\u90fd\u53ef\u4ee5\u7528\u4e8e\u5916\u90e8\u8bbe\u5907\u548c\u7535\u8111\u4e4b\u95f4\u7684\u901a\u4fe1\u3002\u5b83\u4eec\u7684\u7279\u70b9\u548c\u5e94\u7528\u573a\u666f\u6709\u5f88\u5927\u7684\u4e0d\u540c\uff0c\u4eca\u5929\u6211\u4eec\u5c31\u6765\u804a\u804a\u5b83\u4eec\u7684<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[145],"class_list":["post-56784","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-uart"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/56784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=56784"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/56784\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=56784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=56784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=56784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}GPIO\uff1a\u901a\u7528\u8f93\u5165\u8f93\u51fa\u63a5\u53e3<\/h2>\n
GPIO\u7684\u4f18\u7f3a\u70b9<\/h3>\n
UART\uff1a\u4e32\u884c\u901a\u4fe1\u63a5\u53e3<\/h2>\n
UART\u7684\u4f18\u7f3a\u70b9<\/h3>\n
\u603b\u7ed3<\/h2>\n