{"id":59538,"date":"2023-10-29T21:15:30","date_gmt":"2023-10-29T13:15:30","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=59538"},"modified":"2023-10-29T21:15:30","modified_gmt":"2023-10-29T13:15:30","slug":"ubtljs","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/59538.html","title":{"rendered":"UART\u6ce2\u7279\u7387\u8ba1\u7b97"},"content":{"rendered":"

  UART\uff08Universal Asynchronous Receiver \/ Transmitter\uff09\u662f\u4e00\u79cd\u7528\u4e8e\u8ba1\u7b97\u673a\u901a\u4fe1\u7684\u5f02\u6b65\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e00\u4e2a\u5b57\u8282\u7684\u6570\u636e\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u3002UART\u6ce2\u7279\u7387\u8ba1\u7b97\u662f\u8ba1\u7b97UART\u901a\u4fe1\u7684\u6ce2\u7279\u7387\u7684\u4e00\u79cd\u65b9\u6cd5\uff0c\u5b83\u53ef\u4ee5\u786e\u5b9aUART\u901a\u4fe1\u7684\u6700\u4f73\u6ce2\u7279\u7387\uff0c\u4ee5\u5b9e\u73b0\u6700\u4f73\u7684\u4f20\u8f93\u6548\u679c\u3002<\/p>\n

UART\u6ce2\u7279\u7387\u8ba1\u7b97\u7684\u57fa\u7840<\/h2>\n

  UART\u6ce2\u7279\u7387\u8ba1\u7b97\u7684\u57fa\u7840\u662f\u8ba1\u7b97\u673a\u901a\u4fe1\u7684\u57fa\u7840\u77e5\u8bc6\uff0c\u5982\u679c\u4f60\u4e0d\u4e86\u89e3UART\u7684\u5de5\u4f5c\u539f\u7406\uff0c\u90a3\u4e48\u4f60\u5c31\u65e0\u6cd5\u6b63\u786e\u8ba1\u7b97UART\u6ce2\u7279\u7387\u3002UART\u662f\u4e00\u79cd\u5f02\u6b65\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u4f7f\u7528\u4e00\u4e2a\u5b57\u8282\uff088\u4f4d\uff09\u7684\u6570\u636e\u6765\u4f20\u8f93\u6570\u636e\uff0c\u5e76\u4e14\u4f7f\u7528\u4e00\u4e2a\u6821\u9a8c\u4f4d\uff08parity bit\uff09\u6765\u786e\u4fdd\u6570\u636e\u7684\u51c6\u786e\u6027\u3002UART\u4f7f\u7528\u4e00\u4e2a\u56fa\u5b9a\u7684\u6ce2\u7279\u7387\uff08baud rate\uff09\u6765\u4f20\u8f93\u6570\u636e\uff0c\u8fd9\u4e2a\u6ce2\u7279\u7387\u662f\u7531\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u8ddd\u79bb\u548c\u4f20\u8f93\u6570\u636e\u7684\u7c7b\u578b\u51b3\u5b9a\u7684\u3002<\/p>\n

UART\u6ce2\u7279\u7387\u8ba1\u7b97\u7684\u6b65\u9aa4<\/h2>\n

  \u7b2c\u4e00\u6b65\uff1a\u786e\u5b9a\u8bbe\u5907\u4e4b\u95f4\u7684\u8ddd\u79bb<\/h3>\n

  \u9996\u5148\uff0c\u4f60\u9700\u8981\u786e\u5b9a\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u8ddd\u79bb\uff0c\u56e0\u4e3a\u8ddd\u79bb\u8d8a\u8fdc\uff0c\u6ce2\u7279\u7387\u5c31\u8d8a\u4f4e\uff0c\u8fd9\u6837\u53ef\u4ee5\u4fdd\u8bc1\u6570\u636e\u7684\u51c6\u786e\u6027\u3002<\/p>\n

  \u7b2c\u4e8c\u6b65\uff1a\u786e\u5b9a\u4f20\u8f93\u6570\u636e\u7684\u7c7b\u578b<\/h3>\n

  \u5176\u6b21\uff0c\u4f60\u9700\u8981\u786e\u5b9a\u4f20\u8f93\u6570\u636e\u7684\u7c7b\u578b\uff0c\u56e0\u4e3a\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u9700\u8981\u4e0d\u540c\u7684\u6ce2\u7279\u7387\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u7684\u51c6\u786e\u6027\u3002<\/p>\n

  \u7b2c\u4e09\u6b65\uff1a\u8ba1\u7b97\u6ce2\u7279\u7387<\/h3>\n

  \u6700\u540e\uff0c\u4f60\u9700\u8981\u8ba1\u7b97\u6ce2\u7279\u7387\uff0c\u8fd9\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528UART\u6ce2\u7279\u7387\u8ba1\u7b97\u5668\u6765\u5b9e\u73b0\u3002UART\u6ce2\u7279\u7387\u8ba1\u7b97\u5668\u53ef\u4ee5\u6839\u636e\u8bbe\u5907\u4e4b\u95f4\u7684\u8ddd\u79bb\u548c\u4f20\u8f93\u6570\u636e\u7684\u7c7b\u578b\u6765\u8ba1\u7b97\u51fa\u6700\u4f73\u7684\u6ce2\u7279\u7387\uff0c\u4ee5\u5b9e\u73b0\u6700\u4f73\u7684\u4f20\u8f93\u6548\u679c\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  UART\u6ce2\u7279\u7387\u8ba1\u7b97\u662f\u4e00\u79cd\u8ba1\u7b97UART\u901a\u4fe1\u7684\u6ce2\u7279\u7387\u7684\u65b9\u6cd5\uff0c\u5b83\u53ef\u4ee5\u786e\u5b9aUART\u901a\u4fe1\u7684\u6700\u4f73\u6ce2\u7279\u7387\uff0c\u4ee5\u5b9e\u73b0\u6700\u4f73\u7684\u4f20\u8f93\u6548\u679c\u3002<\/strong>UART\u6ce2\u7279\u7387\u8ba1\u7b97\u7684\u57fa\u7840\u662f\u8ba1\u7b97\u673a\u901a\u4fe1\u7684\u57fa\u7840\u77e5\u8bc6\uff0c\u800c\u8ba1\u7b97\u6ce2\u7279\u7387\u7684\u6b65\u9aa4\u5219\u5305\u62ec\u786e\u5b9a\u8bbe\u5907\u4e4b\u95f4\u7684\u8ddd\u79bb\u3001\u786e\u5b9a\u4f20\u8f93\u6570\u636e\u7684\u7c7b\u578b\u548c\u4f7f\u7528UART\u6ce2\u7279\u7387\u8ba1\u7b97\u5668\u6765\u8ba1\u7b97\u6ce2\u7279\u7387\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\uff08UniversalAsynchronousReceiver\/Transmitter\uff09\u662f\u4e00\u79cd\u7528\u4e8e\u8ba1\u7b97\u673a\u901a\u4fe1\u7684\u5f02\u6b65\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e00\u4e2a\u5b57\u8282\u7684\u6570\u636e\u4ece\u4e00\u4e2a<\/p>\n","protected":false},"author":1,"featured_media":1839,"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":[175],"class_list":["post-59538","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-btl"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/59538","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=59538"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/59538\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/1839"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=59538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=59538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=59538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}