{"id":20695,"date":"2023-09-21T12:43:48","date_gmt":"2023-09-21T04:43:48","guid":{"rendered":"\/\/www.viralrail.com\/?p=20695"},"modified":"2023-09-21T12:43:48","modified_gmt":"2023-09-21T04:43:48","slug":"utxxyjs","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/20695.html","title":{"rendered":"UART\u901a\u4fe1\u534f\u8bae\u7b80\u8ff0"},"content":{"rendered":"

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u901a\u4fe1\u534f\u8bae\u662f\u4e00\u79cd\u5e7f\u6cdb\u4f7f\u7528\u7684\u65e0\u7ebf\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u5feb\u901f\u3001\u53ef\u9760\u7684\u6570\u636e\u4f20\u8f93\u3002UART\u901a\u4fe1\u534f\u8bae\u662f\u4e00\u79cd\u5f02\u6b65\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u4f7f\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u66f4\u52a0\u9ad8\u6548\u3001\u7a33\u5b9a\uff0c\u5e76\u4e14\u53ef\u4ee5\u663e\u8457\u964d\u4f4e\u4f20\u8f93\u65f6\u95f4\u548c\u6570\u636e\u4f20\u8f93\u5931\u8d25\u7684\u6982\u7387\u3002\u672c\u6587\u5c06\u4e3a\u5927\u5bb6\u4ecb\u7ecdUART\u901a\u4fe1\u534f\u8bae\u7684\u57fa\u672c\u539f\u7406\u3001\u4f18\u52bf\u4ee5\u53ca\u5176\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u91cd\u8981\u4f5c\u7528\u3002<\/p>\n

UART\u901a\u4fe1\u534f\u8bae\u7684\u57fa\u672c\u539f\u7406<\/h2>\n

  UART\u901a\u4fe1\u534f\u8bae\u7684\u57fa\u672c\u539f\u7406\u662f\u5229\u7528\u4e32\u884c\u6570\u636e\u4f20\u8f93\u6280\u672f\uff0c\u5c06\u4e00\u4e2a\u5b57\u8282\u7684\u6570\u636e\u5206\u5272\u6210\u591a\u4e2a\u4f4d\uff0c\u7136\u540e\u4f9d\u6b21\u4f20\u8f93\u3002UART\u901a\u4fe1\u534f\u8bae\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230\u6bcf\u79d29.6Kbit\/s\uff0c\u6bcf\u6b21\u4f20\u8f93\u7684\u6570\u636e\u91cf\u53ef\u4ee5\u8fbe\u52308\u4f4d\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u6ee1\u8db3\u5927\u591a\u6570\u5b9e\u9645\u5e94\u7528\u7684\u9700\u6c42\u3002\u6b64\u5916\uff0cUART\u901a\u4fe1\u534f\u8bae\u8fd8\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u6570\u636e\u683c\u5f0f\uff0c\u59828\u4f4d\u65e0\u6821\u9a8c\u30018\u4f4d\u5947\u5076\u6821\u9a8c\u7b49\uff0c\u4ece\u800c\u66f4\u52a0\u7075\u6d3b\u5730\u6ee1\u8db3\u4e0d\u540c\u7684\u6570\u636e\u4f20\u8f93\u9700\u6c42\u3002<\/p>\n

UART\u901a\u4fe1\u534f\u8bae\u7684\u4f18\u52bf<\/h3>\n

  UART\u901a\u4fe1\u534f\u8bae\u5177\u6709\u4ee5\u4e0b\u4f18\u52bf\uff1a<\/p>\n

1. \u5feb\u901f\u4f20\u8f93<\/h4>\n

  UART\u901a\u4fe1\u534f\u8bae\u53ef\u4ee5\u652f\u6301\u9ad8\u901f\u4f20\u8f93\uff0c\u5176\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230\u6bcf\u79d29.6Kbit\/s\uff0c\u8fd9\u6837\u53ef\u4ee5\u5927\u5e45\u5ea6\u63d0\u9ad8\u4f20\u8f93\u6548\u7387\uff0c\u6781\u5927\u5730\u6ee1\u8db3\u5b9e\u65f6\u6570\u636e\u4f20\u8f93\u7684\u9700\u6c42\u3002<\/p>\n

2. \u7a33\u5b9a\u53ef\u9760<\/h4>\n

  UART\u901a\u4fe1\u534f\u8bae\u91c7\u7528\u4e86\u5f02\u6b65\u901a\u4fe1\u6280\u672f\uff0c\u53ef\u4ee5\u6709\u6548\u964d\u4f4e\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u7684\u5ef6\u8fdf\uff0c\u5e76\u4e14\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u6570\u636e\u683c\u5f0f\uff0c\u4ece\u800c\u663e\u8457\u63d0\u9ad8\u6570\u636e\u4f20\u8f93\u7684\u53ef\u9760\u6027\u3002<\/p>\n

3. \u6613\u4e8e\u5b9e\u73b0<\/h4>\n

  UART\u901a\u4fe1\u534f\u8bae\u7684\u5b9e\u73b0\u6bd4\u8f83\u7b80\u5355\uff0c\u53ea\u9700\u8981\u4f7f\u7528\u4e32\u884c\u63a5\u53e3\u548c\u4e00\u4e9b\u7b80\u5355\u7684\u786c\u4ef6\u7535\u8def\uff0c\u5c31\u53ef\u4ee5\u5b9e\u73b0UART\u901a\u4fe1\u534f\u8bae\u7684\u529f\u80fd\u3002<\/p>\n

UART\u901a\u4fe1\u534f\u8bae\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u91cd\u8981\u4f5c\u7528<\/h2>\n

  UART\u901a\u4fe1\u534f\u8bae\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u6709\u7740\u91cd\u8981\u7684\u4f5c\u7528\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u5feb\u901f\u3001\u53ef\u9760\u7684\u6570\u636e\u4f20\u8f93\u3002\u4f8b\u5982\uff0cUART\u901a\u4fe1\u534f\u8bae\u53ef\u4ee5\u7528\u6765\u4f20\u8f93\u4e32\u53e3\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\uff0c\u4e5f\u53ef\u4ee5\u7528\u6765\u4f20\u8f93\u65e0\u7ebf\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\uff0c\u8fd9\u6837\u53ef\u4ee5\u5927\u5927\u63d0\u9ad8\u6570\u636e\u4f20\u8f93\u7684\u6548\u7387\u548c\u53ef\u9760\u6027\u3002\u6b64\u5916\uff0cUART\u901a\u4fe1\u534f\u8bae\u8fd8\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u4ece\u800c\u5b9e\u73b0\u591a\u8bbe\u5907\u4e4b\u95f4\u7684\u8054\u52a8\u63a7\u5236\uff0c\u4e3a\u5b9e\u73b0\u66f4\u9ad8\u6548\u7684\u63a7\u5236\u64cd\u4f5c\u63d0\u4f9b\u4e86\u53ef\u80fd\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  UART\u901a\u4fe1\u534f\u8bae\u662f\u4e00\u79cd\u5e7f\u6cdb\u4f7f\u7528\u7684\u65e0\u7ebf\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u5feb\u901f\u3001\u53ef\u9760\u7684\u6570\u636e\u4f20\u8f93\u3002<\/strong>UART\u901a\u4fe1\u534f\u8bae\u5177\u6709\u5feb\u901f\u4f20\u8f93\u3001\u7a33\u5b9a\u53ef\u9760\u4ee5\u53ca\u6613\u4e8e\u5b9e\u73b0\u7b49\u4f18\u52bf\uff0c\u5e76\u4e14\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u4ece\u800c\u5b9e\u73b0\u591a\u8bbe\u5907\u4e4b\u95f4\u7684\u8054\u52a8\u63a7\u5236\u3002\u56e0\u6b64\uff0cUART\u901a\u4fe1\u534f\u8bae\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u6709\u7740\u91cd\u8981\u7684\u4f5c\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\uff08UniversalAsynchronousReceiver\/Transmitter\uff09\u901a\u4fe1\u534f\u8bae\u662f\u4e00\u79cd\u5e7f\u6cdb\u4f7f\u7528\u7684\u65e0\u7ebf\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u5feb\u901f\u3001\u53ef\u9760\u7684<\/p>\n","protected":false},"author":1,"featured_media":3671,"comment_status":"closed","ping_status":"open","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-20695","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-uart"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/20695"}],"collection":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/comments?post=20695"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/20695\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/3671"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=20695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=20695"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=20695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}