{"id":77428,"date":"2023-12-28T07:16:08","date_gmt":"2023-12-27T23:16:08","guid":{"rendered":"\/\/www.viralrail.com\/?p=77428"},"modified":"2023-12-28T07:16:08","modified_gmt":"2023-12-27T23:16:08","slug":"ucktxxj","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/77428.html","title":{"rendered":"UART\u4e32\u53e3\u901a\u4fe1\u8be6\u89e3"},"content":{"rendered":"

  \u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdUART\u4e32\u53e3\u901a\u4fe1\u7684\u539f\u7406\u3001\u5e94\u7528\u4ee5\u53ca\u6280\u672f\u7ec6\u8282\uff0c\u5e2e\u52a9\u8bfb\u8005\u5168\u9762\u4e86\u89e3\u8be5\u901a\u4fe1\u6280\u672f\u3002<\/p>\n

UART\u4e32\u53e3\u901a\u4fe1\u539f\u7406<\/h2>\n

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff0c\u901a\u7528\u5f02\u6b65\u6536\u53d1\u5668\uff09\u662f\u4e00\u79cd\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5e38\u89c1\u4e8e\u5fae\u63a7\u5236\u5668\u548c\u5916\u8bbe\u4e4b\u95f4\u7684\u901a\u4fe1\u3002\u5b83\u4f7f\u7528\u4e24\u6839\u4f20\u8f93\u7ebf\uff08TX\u548cRX\uff09\u8fdb\u884c\u6570\u636e\u4f20\u8f93\uff0c\u5176\u4e2dTX\u7ebf\u8d1f\u8d23\u53d1\u9001\u6570\u636e\uff0cRX\u7ebf\u8d1f\u8d23\u63a5\u6536\u6570\u636e\u3002UART\u901a\u4fe1\u662f\u5f02\u6b65\u7684\uff0c\u5373\u4e0d\u9700\u8981\u65f6\u949f\u4fe1\u53f7\u540c\u6b65\u3002\u6570\u636e\u4ee5\u6570\u636e\u4f4d\uff08\u901a\u5e38\u4e3a8\u4f4d\uff09\u3001\u8d77\u59cb\u4f4d\u3001\u505c\u6b62\u4f4d\u548c\u5947\u5076\u6821\u9a8c\u4f4d\u7684\u5f62\u5f0f\u8fdb\u884c\u4f20\u8f93\uff0c\u901a\u4fe1\u53cc\u65b9\u7684\u6ce2\u7279\u7387\u5fc5\u987b\u5339\u914d\u3002<\/p>\n

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

  \u5728UART<\/a>\u901a\u4fe1\u4e2d\uff0c\u6570\u636e\u4f20\u8f93\u7684\u6d41\u7a0b\u5982\u4e0b\uff1a<\/p>\n

    \n
  1. \u53d1\u9001\u7aef\u51c6\u5907\u6570\u636e\u5e76\u8bbe\u5b9a\u6ce2\u7279\u7387\u3002<\/li>\n
  2. \u53d1\u9001\u7aef\u5c06\u6570\u636e\u53d1\u9001\u81f3TX\u7ebf\u3002<\/li>\n
  3. \u63a5\u6536\u7aef\u63a5\u6536\u6570\u636e\u5e76\u8fdb\u884c\u89e3\u7801\u3002<\/li>\n
  4. \u63a5\u6536\u7aef\u6821\u9a8c\u6570\u636e\u5b8c\u6574\u6027\u5e76\u5c06\u6570\u636e\u53d6\u51fa\u3002<\/li>\n<\/ol>\n

      \u5e38\u89c1\u5e94\u7528<\/h3>\n

      UART\u4e32\u53e3\u901a\u4fe1\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5404\u79cd\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u4f8b\u5982\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\u3001\u4f20\u611f\u5668\u6a21\u5757\u3001\u5de5\u4e1a\u63a7\u5236\u8bbe\u5907\u7b49\u3002\u6b64\u5916\uff0c\u5b83\u4e5f\u5e38\u7528\u4e8e\u5404\u79cd\u5916\u90e8\u8bbe\u5907\u7684\u901a\u8baf\uff0c\u5982GPS\u6a21\u5757\u3001\u84dd\u7259<\/a>\u6a21\u5757\u7b49\u3002<\/p>\n

    UART\u4e32\u53e3\u901a\u4fe1\u6280\u672f\u7ec6\u8282<\/h2>\n

      \u9664\u4e86\u57fa\u672c\u7684\u901a\u4fe1\u539f\u7406\u548c\u5e94\u7528\u5916\uff0c\u4ee5\u4e0b\u662f\u4e00\u4e9bUART\u4e32\u53e3\u901a\u4fe1\u7684\u6280\u672f\u7ec6\u8282\uff1a<\/p>\n

      \u6ce2\u7279\u7387\u9009\u62e9<\/h3>\n

      \u6ce2\u7279\u7387\u662f\u6307\u6bcf\u79d2\u949f\u4f20\u8f93\u7684\u6bd4\u7279\u6570\uff0c\u5e38\u89c1\u7684\u6ce2\u7279\u7387\u5305\u62ec9600\u300119200\u300138400\u3001115200\u7b49\u3002\u5728\u901a\u4fe1\u53cc\u65b9\u786e\u5b9a\u7684\u6ce2\u7279\u7387\u4e0b\uff0c\u624d\u80fd\u6b63\u786e\u4f20\u8f93\u6570\u636e\u3002<\/p>\n

      \u5947\u5076\u6821\u9a8c<\/h4>\n

      \u5947\u5076\u6821\u9a8c\u88ab\u7528\u6765\u68c0\u6d4b\u6570\u636e\u4f20\u8f93\u4e2d\u7684\u9519\u8bef\u3002\u5728\u901a\u4fe1\u53cc\u65b9\u7ea6\u5b9a\u597d\u5947\u5076\u6821\u9a8c<\/a>\u65b9\u5f0f\u540e\uff0c\u53d1\u9001\u7aef\u4f1a\u6839\u636e\u6570\u636e\u4f4d\u7684\u5947\u5076\u6027\u589e\u52a0\u4e00\u4e2a\u5947\u5076\u6821\u9a8c\u4f4d\uff0c\u63a5\u6536\u7aef\u6536\u5230\u6570\u636e\u540e\u4f1a\u68c0\u67e5\u6821\u9a8c\u4f4d\u7684\u5947\u5076\u6027\uff0c\u4ece\u800c\u786e\u5b9a\u6570\u636e\u662f\u5426\u4f20\u8f93\u6b63\u786e\u3002<\/p>\n

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

      \u6d41\u63a7\u5236\u662f\u4e3a\u4e86\u89e3\u51b3\u6570\u636e\u53d1\u9001\u548c\u63a5\u6536\u901f\u5ea6\u4e0d\u5339\u914d\u800c\u4ea7\u751f\u7684\u95ee\u9898\u3002\u8f6f\u4ef6\u6d41\u63a7\u5236\u901a\u8fc7\u53d1\u9001\u7aef\u6216\u63a5\u6536\u7aef\u53d1\u9001\u7279\u5b9a\u63a7\u5236\u5b57\u7b26\u6765\u63a7\u5236\u6570\u636e\u6d41\uff0c\u800c\u786c\u4ef6\u6d41\u63a7\u5236\u5219\u901a\u8fc7\u989d\u5916\u7684\u901a\u4fe1\u7ebf\uff08RTS\u548cCTS\u7ebf\uff09\u8fdb\u884c\u6570\u636e\u6d41\u63a7\u5236\u3002<\/p>\n

    \u603b\u7ed3<\/h2>\n

      \u901a\u8fc7\u672c\u6587\u7684\u4ecb\u7ecd\uff0c\u76f8\u4fe1\u8bfb\u8005\u5df2\u7ecf\u5bf9UART\u4e32\u53e3\u901a\u4fe1\u6709\u4e86\u66f4\u6df1\u5165\u7684\u4e86\u89e3\u3002<\/strong>UART\u901a\u4fe1\u534f\u8bae\u4f5c\u4e3a\u4e00\u79cd\u7b80\u5355\u800c\u5b9e\u7528\u7684\u4e32\u884c\u901a\u4fe1\u65b9\u5f0f\uff0c\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u548c\u5916\u90e8\u8bbe\u5907\u901a\u4fe1\u4e2d\u626e\u6f14\u7740\u91cd\u8981\u7684\u89d2\u8272\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u5408\u7406\u9009\u62e9\u6ce2\u7279\u7387\u3001\u5947\u5076\u6821\u9a8c\u65b9\u5f0f\u4ee5\u53ca\u6d41\u63a7\u5236\u65b9\u5f0f\u5c06\u6709\u52a9\u4e8e\u4fdd\u8bc1\u6570\u636e\u7684\u53ef\u9760\u4f20\u8f93\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

    \u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdUART\u4e32\u53e3\u901a\u4fe1\u7684\u539f\u7406\u3001\u5e94\u7528\u4ee5\u53ca\u6280\u672f\u7ec6\u8282\uff0c\u5e2e\u52a9\u8bfb\u8005\u5168\u9762\u4e86\u89e3\u8be5\u901a\u4fe1\u6280\u672f\u3002UART\u4e32\u53e3\u901a\u4fe1\u539f\u7406UART\uff08UniversalAsynchronousR<\/p>\n","protected":false},"author":1,"featured_media":64183,"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-77428","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\/77428"}],"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=77428"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/77428\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/64183"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=77428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=77428"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=77428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}