{"id":32937,"date":"2023-09-16T10:02:26","date_gmt":"2023-09-16T02:02:26","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=32937"},"modified":"2023-09-16T10:02:26","modified_gmt":"2023-09-16T02:02:26","slug":"yguzjbhnxnr","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/32937.html","title":{"rendered":"\u4e00\u4e2aUART\u5b57\u8282\u5305\u542b\u54ea\u4e9b\u5185\u5bb9\uff1f"},"content":{"rendered":"

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u7528\u4e8e\u4e32\u884c\u6570\u636e\u901a\u4fe1\u7684\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002UART\u6570\u636e\u4f20\u8f93\u7684\u57fa\u672c\u5355\u4f4d\u662f\u5b57\u8282\uff0c\u6bcf\u4e00\u4e2aUART\u5b57\u8282\u90fd\u5305\u542b\u6709\u4e00\u4e9b\u91cd\u8981\u7684\u4fe1\u606f\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u7684\u6b63\u786e\u6027\u548c\u53ef\u9760\u6027\u3002<\/p>\n

UART\u5b57\u8282\u7684\u7ec4\u6210<\/h2>\n

  UART\u5b57\u8282\u662f\u7531\u4e00\u4e2a\u5b57\u8282\u7684\u6570\u636e\u548c\u4e00\u4e2a\u6821\u9a8c\u4f4d\u7ec4\u6210\u3002\u6570\u636e\u5b57\u8282\u75318\u4f4d\u6bd4\u7279\u7ec4\u6210\uff0c\u5176\u4e2d\u7b2c\u4e00\u4f4d\u4e3a\u6807\u5fd7\u4f4d\uff0c\u7528\u4e8e\u6807\u8bc6\u5b57\u8282\u7684\u7c7b\u578b\uff0c\u5176\u4f597\u4f4d\u4e3a\u6709\u6548\u6570\u636e\u3002\u6821\u9a8c\u4f4d\u7528\u4e8e\u786e\u4fdd\u6570\u636e\u7684\u6b63\u786e\u6027\uff0c\u5b83\u53ef\u4ee5\u4f7f\u7528\u4e0d\u540c\u7684\u7b97\u6cd5\u6765\u8ba1\u7b97\uff0c\u5982CRC-16\u6216CRC-32\u3002<\/p>\n

UART\u5b57\u8282\u7684\u529f\u80fd<\/h2>\n

\u6570\u636e\u4f20\u8f93<\/h3>\n

  UART\u5b57\u8282\u53ef\u4ee5\u7528\u4e8e\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\uff0c\u5b83\u53ef\u4ee5\u4f20\u8f93\u5b57\u7b26\u4e32\u3001\u6574\u6570\u3001\u6d6e\u70b9\u6570\u7b49\u591a\u79cd\u7c7b\u578b\u7684\u6570\u636e\u3002\u6b64\u5916\uff0cUART\u5b57\u8282\u8fd8\u53ef\u4ee5\u7528\u4e8e\u4f20\u8f93\u63a7\u5236\u4fe1\u606f\uff0c\u5982\u8bbe\u5907\u7684\u72b6\u6001\u3001\u4f20\u8f93\u72b6\u6001\u7b49\u3002<\/p>\n

\u6d41\u63a7\u5236<\/h3>\n

  UART\u5b57\u8282\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u6570\u636e\u4f20\u8f93\u7684\u901f\u7387\uff0c\u4ee5\u786e\u4fdd\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u540c\u6b65\u3002\u5b83\u53ef\u4ee5\u901a\u8fc7\u5728\u5b57\u8282\u4e2d\u6dfb\u52a0\u63a7\u5236\u4f4d\u6765\u5b9e\u73b0\uff0c\u5982\u5f00\u59cb\u4f4d\u3001\u505c\u6b62\u4f4d\u7b49\u3002<\/p>\n

\u6821\u9a8c<\/h3>\n

  UART\u5b57\u8282\u4e2d\u7684\u6821\u9a8c\u4f4d\u53ef\u4ee5\u7528\u4e8e\u68c0\u67e5\u6570\u636e\u7684\u6b63\u786e\u6027\uff0c\u5982\u679c\u63a5\u6536\u5230\u7684\u6570\u636e\u4e0d\u6b63\u786e\uff0c\u5219\u53ef\u4ee5\u91cd\u65b0\u53d1\u9001\u3002\u6821\u9a8c\u4f4d\u7684\u4f7f\u7528\u53ef\u4ee5\u6709\u6548\u51cf\u5c11\u6570\u636e\u4f20\u8f93\u4e2d\u7684\u9519\u8bef\u7387\uff0c\u4ece\u800c\u63d0\u9ad8\u4f20\u8f93\u7684\u53ef\u9760\u6027\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  UART\u5b57\u8282\u662f\u4e00\u79cd\u7528\u4e8e\u4e32\u884c\u6570\u636e\u4f20\u8f93\u7684\u6280\u672f\uff0c\u5b83\u75318\u4f4d\u6570\u636e\u548c1\u4f4d\u6821\u9a8c\u4f4d\u7ec4\u6210\u3002<\/strong>UART\u5b57\u8282\u53ef\u4ee5\u7528\u4e8e\u4f20\u8f93\u6570\u636e\u3001\u63a7\u5236\u6d41\u91cf\u548c\u68c0\u67e5\u6570\u636e\u6b63\u786e\u6027\uff0c\u4ece\u800c\u63d0\u9ad8\u6570\u636e\u4f20\u8f93\u7684\u53ef\u9760\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u7528\u4e8e\u4e32\u884c\u6570\u636e\u901a\u4fe1\u7684\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002UART<\/p>\n","protected":false},"author":1,"featured_media":3671,"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-32937","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\/32937","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=32937"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/32937\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/3671"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=32937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=32937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=32937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}