{"id":46093,"date":"2023-09-28T14:06:43","date_gmt":"2023-09-28T06:06:43","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=46093"},"modified":"2023-09-28T14:06:43","modified_gmt":"2023-09-28T06:06:43","slug":"ujssjcrmdjt","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/46093.html","title":{"rendered":"UART\u63a5\u6536\u6570\u636e\uff1a\u4ece\u5165\u95e8\u5230\u7cbe\u901a"},"content":{"rendered":"

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u63a5\u6536\u6570\u636e\u662f\u4e00\u79cd\u901a\u7528\u7684\u5f02\u6b65\u6536\u53d1\u5668\uff0c\u7528\u4e8e\u5728\u4e24\u4e2a\u8ba1\u7b97\u673a\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002\u5b83\u53ef\u4ee5\u901a\u8fc7\u4e32\u884c\u6570\u636e\u7ebf\uff08\u7531\u4e24\u6839\u7ebf\u7ec4\u6210\uff09\u6765\u4f20\u8f93\u6570\u636e\uff0c\u8fd9\u79cd\u65b9\u5f0f\u6bd4\u8d77\u5176\u4ed6\u6570\u636e\u4f20\u8f93\u65b9\u5f0f\uff08\u5982USB\uff09\u8981\u6162\u5f97\u591a\uff0c\u4f46\u662f\u5b83\u7684\u4f18\u52bf\u5728\u4e8e\u5b83\u7684\u7b80\u5355\u6027\u548c\u53ef\u9760\u6027\u3002\u672c\u6587\u5c06\u4ecb\u7ecdUART\u63a5\u6536\u6570\u636e\u7684\u57fa\u672c\u539f\u7406\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u6765\u63a5\u6536\u548c\u53d1\u9001\u6570\u636e\u3002<\/p>\n

UART\u63a5\u6536\u6570\u636e\u7684\u57fa\u672c\u539f\u7406<\/h2>\n

  UART\u63a5\u6536\u6570\u636e\u7684\u57fa\u672c\u539f\u7406\u662f\u5c06\u6570\u636e\u4ee5\u4e32\u884c\u7684\u65b9\u5f0f\u4f20\u8f93\uff0c\u5176\u4e2d\u4e00\u6839\u7ebf\u7528\u4e8e\u53d1\u9001\u6570\u636e\uff0c\u53e6\u4e00\u6839\u7ebf\u7528\u4e8e\u63a5\u6536\u6570\u636e\u3002\u4e24\u6839\u7ebf\u4e4b\u95f4\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8bbe\u5b9a\uff0c\u8fd9\u4e2a\u901f\u7387\u79f0\u4e3a\u201c\u6ce2\u7279\u7387\u201d\u3002<\/p>\n

  UART\u63a5\u6536\u6570\u636e\u7684\u53e6\u4e00\u4e2a\u91cd\u8981\u7279\u6027\u662f\u5b83\u7684\u201c\u6821\u9a8c\u4f4d\u201d\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u63a5\u6536\u65b9\u786e\u8ba4\u6536\u5230\u7684\u6570\u636e\u662f\u5426\u6b63\u786e\u3002\u6821\u9a8c\u4f4d\u662f\u4e00\u4e2a\u7279\u6b8a\u7684\u4f4d\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u6821\u9a8c\u6536\u5230\u7684\u6570\u636e\u662f\u5426\u548c\u53d1\u9001\u65b9\u53d1\u9001\u7684\u6570\u636e\u4e00\u81f4\u3002\u5982\u679c\u6536\u5230\u7684\u6570\u636e\u4e0d\u4e00\u81f4\uff0c\u63a5\u6536\u65b9\u5c31\u4f1a\u62d2\u7edd\u63a5\u6536\u8fd9\u4e9b\u6570\u636e\uff0c\u4ece\u800c\u4fdd\u8bc1\u6570\u636e\u7684\u5b8c\u6574\u6027\u3002<\/p>\n

\u5982\u4f55\u4f7f\u7528UART\u63a5\u6536\u6570\u636e<\/h2>\n

  \u4f7f\u7528UART\u63a5\u6536\u6570\u636e\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u8981\u5c06\u4e24\u6839\u7ebf\u8fde\u63a5\u5230\u8ba1\u7b97\u673a\u7684\u4e32\u884c\u7aef\u53e3\uff0c\u7136\u540e\u8bbe\u7f6e\u6b63\u786e\u7684\u6ce2\u7279\u7387\u548c\u6821\u9a8c\u4f4d\uff0c\u5c31\u53ef\u4ee5\u5f00\u59cb\u4f20\u8f93\u6570\u636e\u4e86\u3002<\/p>\n

  \u8bbe\u7f6e\u6ce2\u7279\u7387<\/h3>\n

  \u8bbe\u7f6e\u6ce2\u7279\u7387\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u8981\u5728\u8ba1\u7b97\u673a\u4e0a\u8bbe\u7f6e\u6b63\u786e\u7684\u6ce2\u7279\u7387\u5373\u53ef\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u6ce2\u7279\u7387\u8d8a\u9ad8\uff0c\u4f20\u8f93\u901f\u7387\u4e5f\u5c31\u8d8a\u5feb\uff0c\u4f46\u662f\u4e5f\u8981\u6ce8\u610f\uff0c\u5982\u679c\u6ce2\u7279\u7387\u8bbe\u7f6e\u7684\u592a\u9ad8\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u4f20\u8f93\u7684\u6570\u636e\u4e0d\u51c6\u786e\u3002<\/p>\n

  \u8bbe\u7f6e\u6821\u9a8c\u4f4d<\/h3>\n

  \u6821\u9a8c\u4f4d\u662f\u7528\u6765\u786e\u8ba4\u6536\u5230\u7684\u6570\u636e\u662f\u5426\u6b63\u786e\u7684\u4e00\u79cd\u68c0\u67e5\u673a\u5236\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u63a5\u6536\u65b9\u786e\u8ba4\u6536\u5230\u7684\u6570\u636e\u662f\u5426\u6b63\u786e\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u6821\u9a8c\u4f4d\u7684\u8bbe\u7f6e\u9700\u8981\u6839\u636e\u4f20\u8f93\u7684\u6570\u636e\u7c7b\u578b\u6765\u786e\u5b9a\uff0c\u6bd4\u5982\u5bf9\u4e8e\u6587\u672c\u6570\u636e\uff0c\u53ef\u4ee5\u4f7f\u7528CRC\u6821\u9a8c\uff1b\u800c\u5bf9\u4e8e\u56fe\u50cf\u6570\u636e\uff0c\u53ef\u4ee5\u4f7f\u7528MD5\u6821\u9a8c\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  UART\u63a5\u6536\u6570\u636e\u662f\u4e00\u79cd\u901a\u7528\u7684\u5f02\u6b65\u6536\u53d1\u5668\uff0c\u7528\u4e8e\u5728\u4e24\u4e2a\u8ba1\u7b97\u673a\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002<\/strong>\u5b83\u53ef\u4ee5\u901a\u8fc7\u4e32\u884c\u6570\u636e\u7ebf\u6765\u4f20\u8f93\u6570\u636e\uff0c\u5176\u4e2d\u4e00\u6839\u7ebf\u7528\u4e8e\u53d1\u9001\u6570\u636e\uff0c\u53e6\u4e00\u6839\u7ebf\u7528\u4e8e\u63a5\u6536\u6570\u636e\u3002\u4e24\u6839\u7ebf\u4e4b\u95f4\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8bbe\u5b9a\uff0c\u8fd9\u4e2a\u901f\u7387\u79f0\u4e3a\u201c\u6ce2\u7279\u7387\u201d\u3002UART\u63a5\u6536\u6570\u636e\u7684\u53e6\u4e00\u4e2a\u91cd\u8981\u7279\u6027\u662f\u5b83\u7684\u201c\u6821\u9a8c\u4f4d\u201d\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u63a5\u6536\u65b9\u786e\u8ba4\u6536\u5230\u7684\u6570\u636e\u662f\u5426\u6b63\u786e\u3002\u4f7f\u7528UART\u63a5\u6536\u6570\u636e\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u8981\u5c06\u4e24\u6839\u7ebf\u8fde\u63a5\u5230\u8ba1\u7b97\u673a\u7684\u4e32\u884c\u7aef\u53e3\uff0c\u7136\u540e\u8bbe\u7f6e\u6b63\u786e\u7684\u6ce2\u7279\u7387\u548c\u6821\u9a8c\u4f4d\uff0c\u5c31\u53ef\u4ee5\u5f00\u59cb\u4f20\u8f93\u6570\u636e\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\uff08UniversalAsynchronousReceiver\/Transmitter\uff09\u63a5\u6536\u6570\u636e\u662f\u4e00\u79cd\u901a\u7528\u7684\u5f02\u6b65\u6536\u53d1\u5668\uff0c\u7528\u4e8e\u5728\u4e24\u4e2a\u8ba1\u7b97\u673a\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002\u5b83\u53ef\u4ee5\u901a\u8fc7<\/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-46093","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\/46093","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=46093"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/46093\/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=46093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=46093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=46093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}