{"id":39268,"date":"2023-09-30T01:23:13","date_gmt":"2023-09-29T17:23:13","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=39268"},"modified":"2023-09-30T01:23:13","modified_gmt":"2023-09-29T17:23:13","slug":"udcvzmx","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/39268.html","title":{"rendered":"UART \u9876\u5c42 VIO \u600e\u4e48\u5199"},"content":{"rendered":"

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u5e38\u7528\u7684\u5f02\u6b65\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e24\u53f0\u8ba1\u7b97\u673a\u6216\u8005\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002UART\u7684\u9876\u5c42VIO\uff08Virtual Input\/Output\uff09\u662f\u4e00\u79cd\u865a\u62df\u7684\u8f93\u5165\/\u8f93\u51fa\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u7f16\u5199UART\u7684\u9a71\u52a8\u7a0b\u5e8f\uff0c\u5b9e\u73b0UART\u7684\u6570\u636e\u4f20\u8f93\u3002\u672c\u6587\u5c06\u4ecb\u7ecdUART\u7684\u9876\u5c42VIO\u7684\u7f16\u5199\u65b9\u6cd5\uff0c\u4ee5\u53ca\u5b9e\u73b0UART\u7684\u6570\u636e\u4f20\u8f93\u7684\u4e00\u4e9b\u6280\u5de7\u3002<\/p>\n

UART\u7684\u9876\u5c42VIO\u7f16\u5199<\/h2>\n

  \u786c\u4ef6\u8bbe\u5907\u7684\u521d\u59cb\u5316<\/h3>\n

  \u5728\u7f16\u5199UART\u7684\u9876\u5c42VIO\u4e4b\u524d\uff0c\u5fc5\u987b\u8981\u5148\u5bf9UART\u7684\u786c\u4ef6\u8bbe\u5907\u8fdb\u884c\u521d\u59cb\u5316\uff0c\u5305\u62ec\u8bbe\u7f6eUART\u7684\u6ce2\u7279\u7387\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u548c\u6821\u9a8c\u4f4d\u7b49\u53c2\u6570\uff0c\u4ee5\u53ca\u6fc0\u6d3bUART\u7684\u4e2d\u65ad\u529f\u80fd\u7b49\u3002\u8fd9\u4e9b\u53c2\u6570\u7684\u8bbe\u7f6e\u548c\u6fc0\u6d3b\u90fd\u662f\u5fc5\u987b\u7684\uff0c\u5426\u5219UART\u7684\u9876\u5c42VIO\u5c06\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n

  \u7f16\u5199\u9876\u5c42VIO\u7684\u51fd\u6570<\/h3>\n

  UART\u7684\u9876\u5c42VIO\u7684\u51fd\u6570\u4e00\u822c\u5305\u62ec\u53d1\u9001\u51fd\u6570\u3001\u63a5\u6536\u51fd\u6570\u3001\u4e2d\u65ad\u5904\u7406\u51fd\u6570\u7b49\u3002\u53d1\u9001\u51fd\u6570\u662f\u7528\u6765\u53d1\u9001\u6570\u636e\u7684\uff0c\u5b83\u4f1a\u628a\u8981\u53d1\u9001\u7684\u6570\u636e\u653e\u5165UART\u7684\u53d1\u9001\u7f13\u51b2\u533a\uff0c\u7136\u540e\u4f7f\u80fdUART\u7684\u53d1\u9001\u4e2d\u65ad\uff0c\u4ee5\u5b9e\u73b0\u6570\u636e\u7684\u53d1\u9001\u3002\u63a5\u6536\u51fd\u6570\u662f\u7528\u6765\u63a5\u6536\u6570\u636e\u7684\uff0c\u5b83\u4f1a\u4eceUART\u7684\u63a5\u6536\u7f13\u51b2\u533a\u4e2d\u8bfb\u53d6\u63a5\u6536\u5230\u7684\u6570\u636e\uff0c\u7136\u540e\u4f7f\u80fdUART\u7684\u63a5\u6536\u4e2d\u65ad\uff0c\u4ee5\u5b9e\u73b0\u6570\u636e\u7684\u63a5\u6536\u3002\u4e2d\u65ad\u5904\u7406\u51fd\u6570\u662f\u7528\u6765\u5904\u7406UART\u7684\u4e2d\u65ad\u7684\uff0c\u5b83\u4f1a\u6839\u636eUART\u7684\u4e2d\u65ad\u72b6\u6001\u6765\u5224\u65ad\u662f\u53d1\u9001\u4e2d\u65ad\u8fd8\u662f\u63a5\u6536\u4e2d\u65ad\uff0c\u7136\u540e\u6267\u884c\u76f8\u5e94\u7684\u64cd\u4f5c\u3002<\/p>\n

  \u7f16\u5199\u9876\u5c42VIO\u7684\u5e94\u7528\u7a0b\u5e8f<\/h3>\n

  \u5728\u7f16\u5199\u5b8cUART\u7684\u9876\u5c42VIO\u7684\u51fd\u6570\u540e\uff0c\u5c31\u53ef\u4ee5\u7f16\u5199UART\u7684\u9876\u5c42VIO\u7684\u5e94\u7528\u7a0b\u5e8f\u4e86\uff0c\u8fd9\u4e2a\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u5b9e\u73b0UART\u7684\u6570\u636e\u4f20\u8f93\uff0c\u5b83\u4f1a\u8c03\u7528UART\u7684\u9876\u5c42VIO\u7684\u51fd\u6570\u6765\u5b9e\u73b0UART\u7684\u6570\u636e\u53d1\u9001\u548c\u63a5\u6536\uff0c\u5e76\u4e14\u4f1a\u5904\u7406UART\u7684\u4e2d\u65ad\uff0c\u4ee5\u5b9e\u73b0UART\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

\u5b9e\u73b0UART\u7684\u6570\u636e\u4f20\u8f93<\/h2>\n

  \u786e\u5b9aUART\u7684\u6ce2\u7279\u7387<\/h3>\n

  UART\u7684\u6ce2\u7279\u7387\u662f\u6307UART\u6bcf\u79d2\u4f20\u8f93\u7684\u6570\u636e\u5b57\u8282\u6570\uff0c\u5b83\u662f\u5b9e\u73b0UART\u7684\u6570\u636e\u4f20\u8f93\u7684\u5173\u952e\u53c2\u6570\uff0c\u5fc5\u987b\u8981\u5148\u786e\u5b9aUART\u7684\u6ce2\u7279\u7387\u624d\u80fd\u6b63\u786e\u5b9e\u73b0UART\u7684\u6570\u636e\u4f20\u8f93\u3002\u4e00\u822c\u6765\u8bf4\uff0cUART\u7684\u6ce2\u7279\u7387\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u9700\u8981\u8fdb\u884c\u8c03\u6574\uff0c\u5e38\u7528\u7684\u6ce2\u7279\u7387\u67092400bps\u30014800bps\u30019600bps\u300119200bps\u300138400bps\u7b49\u3002<\/p>\n

  \u786e\u5b9aUART\u7684\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u548c\u6821\u9a8c\u4f4d<\/h3>\n

  \u5728\u786e\u5b9aUART\u7684\u6ce2\u7279\u7387\u4e4b\u540e\uff0c\u8fd8\u9700\u8981\u786e\u5b9aUART\u7684\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u548c\u6821\u9a8c\u4f4d\uff0c\u8fd9\u4e9b\u53c2\u6570\u4e5f\u662f\u5b9e\u73b0UART\u7684\u6570\u636e\u4f20\u8f93\u7684\u5173\u952e\u53c2\u6570\uff0c\u5fc5\u987b\u8981\u5148\u786e\u5b9a\u8fd9\u4e9b\u53c2\u6570\u624d\u80fd\u6b63\u786e\u5b9e\u73b0UART\u7684\u6570\u636e\u4f20\u8f93\u3002\u4e00\u822c\u6765\u8bf4\uff0cUART\u7684\u6570\u636e\u4f4d\u53ef\u4ee5\u9009\u62e97\u4f4d\u6216\u80058\u4f4d\uff0c\u505c\u6b62\u4f4d\u53ef\u4ee5\u9009\u62e91\u4f4d\u6216\u80052\u4f4d\uff0c\u6821\u9a8c\u4f4d\u53ef\u4ee5\u9009\u62e9\u65e0\u6821\u9a8c\u3001\u5947\u6821\u9a8c\u6216\u8005\u5076\u6821\u9a8c\u3002<\/p>\n

  \u4f7f\u80fdUART\u7684\u4e2d\u65ad\u529f\u80fd<\/h3>\n

  \u5728\u786e\u5b9aUART\u7684\u6ce2\u7279\u7387\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u548c\u6821\u9a8c\u4f4d\u4e4b\u540e\uff0c\u8fd8\u9700\u8981\u4f7f\u80fdUART\u7684\u4e2d\u65ad\u529f\u80fd\uff0c\u8fd9\u6837\u624d\u80fd\u6b63\u786e\u5b9e\u73b0UART\u7684\u6570\u636e\u4f20\u8f93\u3002UART\u7684\u4e2d\u65ad\u529f\u80fd\u4e00\u822c\u5305\u62ec\u53d1\u9001\u4e2d\u65ad\u548c\u63a5\u6536\u4e2d\u65ad\uff0c\u5b83\u4eec\u5206\u522b\u7528\u6765\u5904\u7406UART\u7684\u53d1\u9001\u548c\u63a5\u6536\uff0c\u5fc5\u987b\u8981\u4f7f\u80fd\u8fd9\u4e24\u4e2a\u4e2d\u65ad\u624d\u80fd\u6b63\u786e\u5b9e\u73b0UART\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  UART\u7684\u9876\u5c42VIO\u662f\u4e00\u79cd\u865a\u62df\u7684\u8f93\u5165\/\u8f93\u51fa\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u7f16\u5199UART\u7684\u9a71\u52a8\u7a0b\u5e8f\uff0c\u5b9e\u73b0UART\u7684\u6570\u636e\u4f20\u8f93\u3002<\/strong>UART\u7684\u9876\u5c42VIO\u7684\u7f16\u5199\u9700\u8981\u5148\u5bf9UART\u7684\u786c\u4ef6\u8bbe\u5907\u8fdb\u884c\u521d\u59cb\u5316\uff0c\u7136\u540e\u7f16\u5199\u9876\u5c42VIO\u7684\u51fd\u6570\uff0c\u6700\u540e\u7f16\u5199\u9876\u5c42VIO\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u4ee5\u5b9e\u73b0UART\u7684\u6570\u636e\u4f20\u8f93\u3002\u5b9e\u73b0UART\u7684\u6570\u636e\u4f20\u8f93\u8fd8\u9700\u8981\u786e\u5b9aUART\u7684\u6ce2\u7279\u7387\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u548c\u6821\u9a8c\u4f4d\uff0c\u4ee5\u53ca\u4f7f\u80fdUART\u7684\u4e2d\u65ad\u529f\u80fd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\uff08UniversalAsynchronousReceiver\/Transmitter\uff09\u662f\u4e00\u79cd\u5e38\u7528\u7684\u5f02\u6b65\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e24\u53f0\u8ba1\u7b97\u673a\u6216\u8005\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20<\/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-39268","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\/39268","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=39268"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/39268\/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=39268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=39268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=39268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}