{"id":43724,"date":"2023-10-02T13:48:58","date_gmt":"2023-10-02T05:48:58","guid":{"rendered":"\/\/www.dealsbon.com\/?p=43724"},"modified":"2023-10-02T13:48:58","modified_gmt":"2023-10-02T05:48:58","slug":"uyztycxtxxy","status":"publish","type":"post","link":"\/\/www.dealsbon.com\/blog\/43724.html","title":{"rendered":"uart_state\uff1a\u4e00\u79cd\u901a\u7528\u4e32\u884c\u901a\u4fe1\u534f\u8bae"},"content":{"rendered":"

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u534f\u8bae\u662f\u4e00\u79cd\u901a\u7528\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u7528\u4e8e\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u53d1\u9001\u548c\u63a5\u6536\u5b57\u8282\u6d41\u6570\u636e\u3002UART\u534f\u8bae\u5728\u5f88\u591a\u7cfb\u7edf\u4e2d\u88ab\u5e7f\u6cdb\u4f7f\u7528\uff0c\u662f\u8bb8\u591a\u7535\u5b50\u8bbe\u5907\u7684\u6807\u51c6\u63a5\u53e3\u3002\u672c\u6587\u5c06\u4ecb\u7ecdUART\u534f\u8bae\u7684\u57fa\u672c\u6982\u5ff5\uff0c\u4ee5\u53caUART State\u7684\u76f8\u5173\u6982\u5ff5\u3002<\/p>\n

UART\u534f\u8bae\u7b80\u4ecb<\/h2>\n

  UART\u534f\u8bae\u662f\u4e00\u79cd\u5f02\u6b65\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u53d1\u9001\u548c\u63a5\u6536\u5b57\u8282\u6d41\u6570\u636e\u3002\u5b83\u4f7f\u7528\u4e24\u4e2a\u7ebf\u8def\u6765\u4f20\u8f93\u6570\u636e\uff1a\u4e00\u6761\u63a5\u6536\u7ebf\u8def\uff08RX\uff09\u548c\u4e00\u6761\u53d1\u9001\u7ebf\u8def\uff08TX\uff09\u3002UART\u534f\u8bae\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u4e0d\u540c\u7684\u6570\u636e\u683c\u5f0f\uff0c\u53ef\u4ee5\u652f\u6301\u5404\u79cd\u4e0d\u540c\u7684\u901a\u4fe1\u901f\u7387\uff0c\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u6570\u636e\u6821\u9a8c\u65b9\u5f0f\u3002<\/p>\n

  UART\u534f\u8bae\u7684\u5de5\u4f5c\u539f\u7406<\/h3>\n

  UART\u534f\u8bae\u4f7f\u7528\u4e24\u79cd\u4e0d\u540c\u7684\u6a21\u5f0f\u6765\u4f20\u8f93\u6570\u636e\uff1a\u534a\u53cc\u5de5\u6a21\u5f0f\u548c\u5168\u53cc\u5de5\u6a21\u5f0f\u3002\u5728\u534a\u53cc\u5de5\u6a21\u5f0f\u4e0b\uff0c\u53ea\u80fd\u6709\u4e00\u4e2a\u8bbe\u5907\u540c\u65f6\u53d1\u9001\u6216\u63a5\u6536\u6570\u636e\uff0c\u800c\u5168\u53cc\u5de5\u6a21\u5f0f\u4e0b\uff0c\u4e24\u4e2a\u8bbe\u5907\u53ef\u4ee5\u540c\u65f6\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\u3002UART\u534f\u8bae\u5728\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\u65f6\uff0c\u90fd\u4f1a\u4f7f\u7528\u4e00\u79cd\u7279\u6b8a\u7684\u683c\u5f0f\uff0c\u79f0\u4e3a\u5e27\u683c\u5f0f\u3002\u5e27\u683c\u5f0f\u7531\u4e00\u7cfb\u5217\u7279\u5b9a\u7684\u5b57\u8282\u7ec4\u6210\uff0c\u5176\u4e2d\u5305\u62ec\u53d1\u9001\u8005\u7684\u5730\u5740\u3001\u53d1\u9001\u7684\u6570\u636e\u3001\u6821\u9a8c\u7801\u7b49\u3002<\/p>\n

  UART State\u7684\u6982\u5ff5<\/h3>\n

  UART State\u662fUART\u534f\u8bae\u4e2d\u4e00\u79cd\u7279\u6b8a\u7684\u72b6\u6001\uff0c\u5b83\u8868\u793aUART\u534f\u8bae\u5f53\u524d\u5904\u4e8e\u4ec0\u4e48\u72b6\u6001\u3002UART State\u53ef\u4ee5\u5206\u4e3a\u56db\u79cd\uff1a\u53d1\u9001\u72b6\u6001\uff08Tx\uff09\u3001\u63a5\u6536\u72b6\u6001\uff08Rx\uff09\u3001\u7a7a\u95f2\u72b6\u6001\uff08Idle\uff09\u548c\u9519\u8bef\u72b6\u6001\uff08Error\uff09\u3002\u5176\u4e2d\uff0c\u53d1\u9001\u72b6\u6001\u8868\u793aUART\u534f\u8bae\u6b63\u5728\u53d1\u9001\u6570\u636e\uff1b\u63a5\u6536\u72b6\u6001\u8868\u793aUART\u534f\u8bae\u6b63\u5728\u63a5\u6536\u6570\u636e\uff1b\u7a7a\u95f2\u72b6\u6001\u8868\u793aUART\u534f\u8bae\u6ca1\u6709\u53d1\u9001\u6216\u63a5\u6536\u6570\u636e\uff1b\u9519\u8bef\u72b6\u6001\u8868\u793aUART\u534f\u8bae\u53d1\u751f\u6545\u969c\uff0c\u65e0\u6cd5\u6b63\u5e38\u53d1\u9001\u6216\u63a5\u6536\u6570\u636e\u3002<\/p>\n

UART State\u7684\u5e94\u7528<\/h2>\n

  UART State\u53ef\u4ee5\u7528\u4e8e\u68c0\u6d4bUART\u534f\u8bae\u7684\u5de5\u4f5c\u72b6\u6001\uff0c\u4ee5\u4fbf\u53ca\u65f6\u53d1\u73b0\u548c\u89e3\u51b3\u95ee\u9898\u3002UART State\u53ef\u4ee5\u7528\u4e8e\u68c0\u6d4bUART\u534f\u8bae\u7684\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\u7684\u72b6\u6001\uff0c\u4ee5\u53ca\u662f\u5426\u53d1\u751f\u9519\u8bef\u3002\u6b64\u5916\uff0cUART State\u8fd8\u53ef\u4ee5\u7528\u4e8e\u68c0\u6d4bUART\u534f\u8bae\u7684\u4f20\u8f93\u901f\u7387\uff0c\u4ee5\u53caUART\u534f\u8bae\u662f\u5426\u6b63\u786e\u5730\u8fdb\u884c\u4e86\u6570\u636e\u6821\u9a8c\u7b49\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  UART\u534f\u8bae\u662f\u4e00\u79cd\u901a\u7528\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u53ef\u4ee5\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u53d1\u9001\u548c\u63a5\u6536\u5b57\u8282\u6d41\u6570\u636e\u3002<\/strong>UART State\u662fUART\u534f\u8bae\u4e2d\u4e00\u79cd\u7279\u6b8a\u7684\u72b6\u6001\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u68c0\u6d4bUART\u534f\u8bae\u7684\u5de5\u4f5c\u72b6\u6001\uff0c\u4ee5\u53caUART\u534f\u8bae\u7684\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\u7684\u72b6\u6001\uff0c\u4ee5\u53ca\u662f\u5426\u53d1\u751f\u9519\u8bef\u3002UART State\u7684\u5e94\u7528\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u66f4\u597d\u5730\u4e86\u89e3UART\u534f\u8bae\u7684\u5de5\u4f5c\u539f\u7406\uff0c\u5e76\u6709\u6548\u5730\u68c0\u6d4b\u548c\u89e3\u51b3UART\u534f\u8bae\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\uff08UniversalAsynchronousReceiver\/Transmitter\uff09\u534f\u8bae\u662f\u4e00\u79cd\u901a\u7528\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u7528\u4e8e\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u53d1\u9001\u548c\u63a5\u6536\u5b57\u8282\u6d41\u6570\u636e\u3002U<\/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":[137],"class_list":["post-43724","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-txxy"],"_links":{"self":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts\/43724"}],"collection":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/comments?post=43724"}],"version-history":[{"count":0,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts\/43724\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/media?parent=43724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/categories?post=43724"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/tags?post=43724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}