{"id":31554,"date":"2023-09-19T21:42:25","date_gmt":"2023-09-19T13:42:25","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=31554"},"modified":"2023-09-22T14:10:43","modified_gmt":"2023-09-22T06:10:43","slug":"ckzuyl","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/31554.html","title":{"rendered":"\u4e32\u53e3\u8f6cUSB\u539f\u7406"},"content":{"rendered":"

  \u4e32\u53e3\u8f6cUSB\u662f\u4e00\u79cd\u628a\u4e32\u884c\u7aef\u53e3\u8f6c\u6362\u4e3aUSB\u7aef\u53e3\u7684\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5c06\u8ba1\u7b97\u673a\u7684\u4e32\u884c\u7aef\u53e3\u8f6c\u6362\u4e3aUSB\u7aef\u53e3\uff0c\u4ee5\u652f\u6301USB\u8bbe\u5907\u3002<\/strong>\u5b83\u53ef\u4ee5\u63d0\u4f9b\u66f4\u9ad8\u7684\u4f20\u8f93\u901f\u7387\uff0c\u66f4\u5feb\u7684\u6570\u636e\u4f20\u8f93\uff0c\u66f4\u4f4e\u7684\u5ef6\u8fdf\uff0c\u66f4\u9ad8\u7684\u53ef\u9760\u6027\u548c\u66f4\u597d\u7684\u6027\u80fd\u3002<\/p>\n

\u4e32\u53e3\u8f6cUSB\u539f\u7406<\/h2>\n

  \u4e32\u53e3\u8f6cUSB\u7684\u539f\u7406\u662f\u5c06\u4e32\u884c\u6570\u636e\u8f6c\u6362\u4e3aUSB\u6570\u636e\uff0c\u4ee5\u4fbf\u8ba1\u7b97\u673a\u53ef\u4ee5\u8bc6\u522b\u548c\u4f7f\u7528USB\u8bbe\u5907\u3002\u4e32\u53e3\u8f6cUSB\u7684\u8fc7\u7a0b\u5305\u62ec\u5c06\u4e32\u884c\u6570\u636e\u8f6c\u6362\u4e3aUSB\u6570\u636e\uff0c\u5c06USB\u6570\u636e\u8f6c\u6362\u4e3a\u4e32\u884c\u6570\u636e\uff0c\u4ee5\u53ca\u5c06USB\u6570\u636e\u63a7\u5236\u4fe1\u53f7\u8f6c\u6362\u4e3a\u4e32\u884c\u6570\u636e\u63a7\u5236\u4fe1\u53f7\u3002\u4e32\u53e3\u8f6cUSB\u7684\u8fc7\u7a0b\u53ef\u4ee5\u901a\u8fc7\u4e00\u79cd\u53eb\u505aUART\uff08Universal Asynchronous Receiver \/ Transmitter\uff09\u7684\u786c\u4ef6\u5b9e\u73b0\u3002UART\u662f\u4e00\u79cd\u7528\u4e8e\u4e32\u884c\u6570\u636e\u4f20\u8f93\u7684\u786c\u4ef6\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e32\u884c\u6570\u636e\u8f6c\u6362\u4e3aUSB\u6570\u636e\uff0c\u4ee5\u4fbf\u8ba1\u7b97\u673a\u53ef\u4ee5\u8bc6\u522b\u548c\u4f7f\u7528USB\u8bbe\u5907\u3002<\/p>\n

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

  UART\u7684\u5de5\u4f5c\u539f\u7406\u662f\u5c06\u4e32\u884c\u6570\u636e\u8f6c\u6362\u4e3aUSB\u6570\u636e\uff0c\u4ee5\u53ca\u5c06USB\u6570\u636e\u8f6c\u6362\u4e3a\u4e32\u884c\u6570\u636e\u3002\u5b83\u4f7f\u7528\u4e00\u4e2a\u53eb\u505aUART\u7684\u82af\u7247\uff0c\u8be5\u82af\u7247\u53ef\u4ee5\u63a5\u6536\u548c\u53d1\u9001\u6570\u636e\uff0c\u5e76\u5c06\u5176\u8f6c\u6362\u4e3aUSB\u6570\u636e\u3002UART\u82af\u7247\u901a\u8fc7\u4e24\u4e2a\u7aef\u53e3\uff08TX\u548cRX\uff09\u4e0e\u8ba1\u7b97\u673a\u8fde\u63a5\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e32\u884c\u6570\u636e\u8f6c\u6362\u4e3aUSB\u6570\u636e\uff0c\u4ee5\u53ca\u5c06USB\u6570\u636e\u8f6c\u6362\u4e3a\u4e32\u884c\u6570\u636e\u3002<\/p>\n

UART\u7684\u5e94\u7528<\/h3>\n

  UART\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u5c06\u4e32\u884c\u6570\u636e\u8f6c\u6362\u4e3aUSB\u6570\u636e\uff0c\u4ee5\u53ca\u5c06USB\u6570\u636e\u8f6c\u6362\u4e3a\u4e32\u884c\u6570\u636e\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u8ba1\u7b97\u673a\u548cUSB\u8bbe\u5907\uff0c\u4f8b\u5982\u6253\u5370\u673a\u3001\u5916\u90e8\u5b58\u50a8\u8bbe\u5907\u3001\u6e38\u620f\u63a7\u5236\u5668\u7b49\u3002\u6b64\u5916\uff0cUART\u8fd8\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u8ba1\u7b97\u673a\u548c\u7f51\u7edc\u8bbe\u5907\uff0c\u4f8b\u5982\u8def\u7531\u5668\u3001\u4ea4\u6362\u673a\u548c\u7f51\u7edc\u6444\u50cf\u5934\u7b49\u3002<\/p>\n

\u4f18\u70b9<\/h2>\n

  \u4e32\u53e3\u8f6cUSB\u7684\u4f18\u70b9\u975e\u5e38\u660e\u663e\uff0c\u5b83\u53ef\u4ee5\u63d0\u4f9b\u66f4\u9ad8\u7684\u4f20\u8f93\u901f\u7387\uff0c\u66f4\u5feb\u7684\u6570\u636e\u4f20\u8f93\uff0c\u66f4\u4f4e\u7684\u5ef6\u8fdf\uff0c\u66f4\u9ad8\u7684\u53ef\u9760\u6027\u548c\u66f4\u597d\u7684\u6027\u80fd\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u53ef\u4ee5\u652f\u6301\u591a\u79cdUSB\u8bbe\u5907\uff0c\u4f8b\u5982\u6253\u5370\u673a\u3001\u5916\u90e8\u5b58\u50a8\u8bbe\u5907\u3001\u6e38\u620f\u63a7\u5236\u5668\u7b49\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u4e32\u53e3\u8f6cUSB\u662f\u4e00\u79cd\u628a\u4e32\u884c\u7aef\u53e3\u8f6c\u6362\u4e3aUSB\u7aef\u53e3\u7684\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5c06\u8ba1\u7b97\u673a\u7684\u4e32\u884c\u7aef\u53e3\u8f6c\u6362\u4e3aUSB\u7aef\u53e3\uff0c\u4ee5\u652f\u6301USB\u8bbe\u5907\u3002<\/strong>\u5b83\u53ef\u4ee5\u63d0\u4f9b\u66f4\u9ad8\u7684\u4f20\u8f93\u901f\u7387\uff0c\u66f4\u5feb\u7684\u6570\u636e\u4f20\u8f93\uff0c\u66f4\u4f4e\u7684\u5ef6\u8fdf\uff0c\u66f4\u9ad8\u7684\u53ef\u9760\u6027\u548c\u66f4\u597d\u7684\u6027\u80fd\u3002\u5b83\u7684\u539f\u7406\u662f\u901a\u8fc7UART\u82af\u7247\u5c06\u4e32\u884c\u6570\u636e\u8f6c\u6362\u4e3aUSB\u6570\u636e\uff0c\u4ee5\u53ca\u5c06USB\u6570\u636e\u8f6c\u6362\u4e3a\u4e32\u884c\u6570\u636e\u3002\u5b83\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u8ba1\u7b97\u673a\u548cUSB\u8bbe\u5907\uff0c\u4ee5\u53ca\u8fde\u63a5\u8ba1\u7b97\u673a\u548c\u7f51\u7edc\u8bbe\u5907\u3002\u4e32\u53e3\u8f6cUSB\u7684\u4f18\u70b9\u975e\u5e38\u660e\u663e\uff0c\u5b83\u53ef\u4ee5\u63d0\u4f9b\u66f4\u9ad8\u7684\u4f20\u8f93\u901f\u7387\uff0c\u66f4\u5feb\u7684\u6570\u636e\u4f20\u8f93\uff0c\u66f4\u4f4e\u7684\u5ef6\u8fdf\uff0c\u66f4\u9ad8\u7684\u53ef\u9760\u6027\u548c\u66f4\u597d\u7684\u6027\u80fd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u4e32\u53e3\u8f6cUSB\u662f\u4e00\u79cd\u628a\u4e32\u884c\u7aef\u53e3\u8f6c\u6362\u4e3aUSB\u7aef\u53e3\u7684\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5c06\u8ba1\u7b97\u673a\u7684\u4e32\u884c\u7aef\u53e3\u8f6c\u6362\u4e3aUSB\u7aef\u53e3\uff0c\u4ee5\u652f\u6301USB\u8bbe\u5907\u3002\u5b83\u53ef\u4ee5\u63d0\u4f9b\u66f4\u9ad8\u7684\u4f20\u8f93\u901f\u7387<\/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":[294,69],"class_list":["post-31554","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-usb","tag-cktx"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/31554","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=31554"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/31554\/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=31554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=31554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=31554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}