{"id":40720,"date":"2023-10-01T20:05:22","date_gmt":"2023-10-01T12:05:22","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=40720"},"modified":"2023-10-01T20:05:22","modified_gmt":"2023-10-01T12:05:22","slug":"ucktxyzysm","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/40720.html","title":{"rendered":"UART\u4e32\u53e3\u901a\u4fe1\u8981\u6ce8\u610f\u4ec0\u4e48"},"content":{"rendered":"

  UART\uff08Universal Asynchronous Receiver \/ Transmitter\uff09\u662f\u4e00\u79cd\u4e32\u884c\u6570\u636e\u4f20\u8f93\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002 UART\u5177\u6709\u7b80\u5355\u7684\u63a5\u53e3\u3001\u4f4e\u6210\u672c\u3001\u9ad8\u6570\u636e\u4f20\u8f93\u7387\u3001\u4f4e\u529f\u8017\u548c\u53ef\u9760\u6027\u7b49\u4f18\u70b9\uff0c\u56e0\u6b64\u5728\u5404\u79cd\u7535\u5b50\u8bbe\u5907\u4e2d\u5f97\u5230\u4e86\u5e7f\u6cdb\u5e94\u7528\u3002<\/p>\n

  UART\u4e32\u53e3\u901a\u4fe1\u662f\u4e00\u79cd\u7b80\u5355\u7684\u901a\u4fe1\u65b9\u5f0f\uff0c\u4f46\u662f\u5728\u4f7f\u7528\u7684\u65f6\u5019\u8981\u6ce8\u610f\u4e00\u4e9b\u4e8b\u9879\uff0c\u4ee5\u514d\u5f71\u54cd\u6570\u636e\u4f20\u8f93\u7684\u51c6\u786e\u6027\u548c\u53ef\u9760\u6027\u3002\u672c\u6587\u5c06\u4ecb\u7ecdUART\u4e32\u53e3\u901a\u4fe1\u8981\u6ce8\u610f\u7684\u51e0\u4e2a\u65b9\u9762\uff0c\u5305\u62ec\u7535\u5e73\u8bbe\u7f6e\u3001\u6ce2\u7279\u7387\u8bbe\u7f6e\u3001\u6570\u636e\u683c\u5f0f\u8bbe\u7f6e\u548c\u6570\u636e\u6d41\u63a7\u5236\u3002<\/p>\n

\u7535\u5e73\u8bbe\u7f6e<\/h2>\n

  UART\u4e32\u53e3\u901a\u4fe1\u7684\u7535\u5e73\u8bbe\u7f6e\u662f\u6307\u5728UART\u63a5\u53e3\u4e0a\uff0c\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u4e4b\u95f4\u7684\u7535\u5e73\u8bbe\u7f6e\u3002UART\u4e32\u53e3\u901a\u4fe1\u7684\u7535\u5e73\u8bbe\u7f6e\u4e00\u822c\u6709\u4e24\u79cd\uff1aTTL\u7535\u5e73\u548cRS-232\u7535\u5e73\u3002TTL\u7535\u5e73\u662f\u4e00\u79cd\u4f4e\u7535\u5e73\u4fe1\u53f7\uff0c\u5176\u7535\u5e73\u8303\u56f4\u4e3a0-5V\uff1bRS-232\u7535\u5e73\u662f\u4e00\u79cd\u6807\u51c6\u7684RS-232\u4fe1\u53f7\uff0c\u5176\u7535\u5e73\u8303\u56f4\u4e3a-15V\u5230+15V\u3002<\/p>\n

  \u5728UART\u4e32\u53e3\u901a\u4fe1\u4e2d\uff0c\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u7684\u7535\u5e73\u8bbe\u7f6e\u5fc5\u987b\u4e00\u81f4\uff0c\u5426\u5219\u4f1a\u5bfc\u81f4\u6570\u636e\u4f20\u8f93\u51fa\u73b0\u95ee\u9898\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528UART\u4e32\u53e3\u901a\u4fe1\u65f6\uff0c\u5fc5\u987b\u786e\u4fdd\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u7684\u7535\u5e73\u8bbe\u7f6e\u4e00\u81f4\u3002<\/p>\n

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

  UART\u4e32\u53e3\u901a\u4fe1\u7684\u6ce2\u7279\u7387\u8bbe\u7f6e\u662f\u6307\u5728UART\u63a5\u53e3\u4e0a\uff0c\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u4e4b\u95f4\u7684\u6ce2\u7279\u7387\u8bbe\u7f6e\u3002UART\u4e32\u53e3\u901a\u4fe1\u7684\u6ce2\u7279\u7387\u8bbe\u7f6e\u4e00\u822c\u6709\u591a\u79cd\uff0c\u5982300bps\u3001600bps\u30011200bps\u30012400bps\u30014800bps\u30019600bps\u7b49\u3002<\/p>\n

  \u5728UART\u4e32\u53e3\u901a\u4fe1\u4e2d\uff0c\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u7684\u6ce2\u7279\u7387\u8bbe\u7f6e\u5fc5\u987b\u4e00\u81f4\uff0c\u5426\u5219\u4f1a\u5bfc\u81f4\u6570\u636e\u4f20\u8f93\u51fa\u73b0\u95ee\u9898\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528UART\u4e32\u53e3\u901a\u4fe1\u65f6\uff0c\u5fc5\u987b\u786e\u4fdd\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u7684\u6ce2\u7279\u7387\u8bbe\u7f6e\u4e00\u81f4\u3002<\/p>\n

\u6570\u636e\u683c\u5f0f\u8bbe\u7f6e<\/h2>\n

  UART\u4e32\u53e3\u901a\u4fe1\u7684\u6570\u636e\u683c\u5f0f\u8bbe\u7f6e\u662f\u6307\u5728UART\u63a5\u53e3\u4e0a\uff0c\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u4e4b\u95f4\u7684\u6570\u636e\u683c\u5f0f\u8bbe\u7f6e\u3002UART\u4e32\u53e3\u901a\u4fe1\u7684\u6570\u636e\u683c\u5f0f\u8bbe\u7f6e\u4e00\u822c\u6709\u4e24\u79cd\uff1a8\u4f4d\u6570\u636e\u683c\u5f0f\u548c7\u4f4d\u6570\u636e\u683c\u5f0f\u3002<\/p>\n

  \u5728UART\u4e32\u53e3\u901a\u4fe1\u4e2d\uff0c\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u7684\u6570\u636e\u683c\u5f0f\u8bbe\u7f6e\u5fc5\u987b\u4e00\u81f4\uff0c\u5426\u5219\u4f1a\u5bfc\u81f4\u6570\u636e\u4f20\u8f93\u51fa\u73b0\u95ee\u9898\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528UART\u4e32\u53e3\u901a\u4fe1\u65f6\uff0c\u5fc5\u987b\u786e\u4fdd\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u7684\u6570\u636e\u683c\u5f0f\u8bbe\u7f6e\u4e00\u81f4\u3002<\/p>\n

\u6570\u636e\u6d41\u63a7\u5236<\/h2>\n

  UART\u4e32\u53e3\u901a\u4fe1\u7684\u6570\u636e\u6d41\u63a7\u5236\u662f\u6307\u5728UART\u63a5\u53e3\u4e0a\uff0c\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u4e4b\u95f4\u7684\u6570\u636e\u6d41\u63a7\u5236\u3002UART\u4e32\u53e3\u901a\u4fe1\u7684\u6570\u636e\u6d41\u63a7\u5236\u4e00\u822c\u6709\u4e24\u79cd\uff1a\u8f6f\u4ef6\u6d41\u63a7\u5236\u548c\u786c\u4ef6\u6d41\u63a7\u5236\u3002<\/p>\n

  \u5728UART\u4e32\u53e3\u901a\u4fe1\u4e2d\uff0c\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u7684\u6570\u636e\u6d41\u63a7\u5236\u5fc5\u987b\u4e00\u81f4\uff0c\u5426\u5219\u4f1a\u5bfc\u81f4\u6570\u636e\u4f20\u8f93\u51fa\u73b0\u95ee\u9898\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528UART\u4e32\u53e3\u901a\u4fe1\u65f6\uff0c\u5fc5\u987b\u786e\u4fdd\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u7684\u6570\u636e\u6d41\u63a7\u5236\u4e00\u81f4\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  UART\u4e32\u53e3\u901a\u4fe1\u662f\u4e00\u79cd\u7b80\u5355\u7684\u901a\u4fe1\u65b9\u5f0f\uff0c\u5728\u4f7f\u7528\u7684\u65f6\u5019\u8981\u6ce8\u610f\u4ee5\u4e0a\u51e0\u4e2a\u65b9\u9762\uff0c\u4ee5\u514d\u5f71\u54cd\u6570\u636e\u4f20\u8f93\u7684\u51c6\u786e\u6027\u548c\u53ef\u9760\u6027\u3002<\/strong>\u6b63\u786e\u8bbe\u7f6eUART\u4e32\u53e3\u901a\u4fe1\u7684\u76f8\u5173\u53c2\u6570\uff0c\u53ef\u4ee5\u4fdd\u8bc1UART\u4e32\u53e3\u901a\u4fe1\u7684\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\uff08UniversalAsynchronousReceiver\/Transmitter\uff09\u662f\u4e00\u79cd\u4e32\u884c\u6570\u636e\u4f20\u8f93\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":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":[69],"class_list":["post-40720","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-cktx"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/40720"}],"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=40720"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/40720\/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=40720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=40720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=40720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}