{"id":39659,"date":"2023-10-01T10:47:16","date_gmt":"2023-10-01T02:47:16","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=39659"},"modified":"2023-10-01T10:47:16","modified_gmt":"2023-10-01T02:47:16","slug":"kzudsy","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/39659.html","title":{"rendered":"K210\u4e2dUART\u7684\u4f7f\u7528"},"content":{"rendered":"
UART\uff08Universal Asynchronous Receiver-Transmitter\uff09\u662f\u4e00\u79cd\u901a\u7528\u7684\u5f02\u6b65\u6536\u53d1\u5668\uff0c\u5b83\u53ef\u4ee5\u5c06\u6570\u636e\u4ece\u4e00\u4e2a\u8bbe\u5907\u53d1\u9001\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u3002K210\u4e2d\u7684UART\u53ef\u4ee5\u7528\u4e8e\u5c06\u6570\u636e\u4eceK210\u82af\u7247\u53d1\u9001\u5230\u5916\u90e8\u8bbe\u5907\uff0c\u4e5f\u53ef\u4ee5\u5c06\u5916\u90e8\u8bbe\u5907\u53d1\u9001\u7684\u6570\u636e\u63a5\u6536\u5230K210\u82af\u7247\u4e0a\u3002\u672c\u6587\u5c06\u4ecb\u7ecdK210\u4e2dUART\u7684\u4f7f\u7528\uff0c\u5305\u62ecUART\u7684\u786c\u4ef6\u8bbe\u7f6e\u3001\u8f6f\u4ef6\u7f16\u7a0b\u4ee5\u53caUART\u7684\u5e38\u7528\u5e94\u7528\u3002 <\/p>\n
K210\u4e2d\u6709\u4e24\u4e2aUART\u63a5\u53e3\uff0c\u5206\u522b\u662fUART0\u548cUART1\uff0c\u5b83\u4eec\u90fd\u53ef\u4ee5\u7528\u4e8e\u4e0e\u5916\u90e8\u8bbe\u5907\u8fdb\u884c\u901a\u4fe1\u3002UART0\u548cUART1\u7684\u7269\u7406\u5f15\u811a\u90fd\u662f\u56fa\u5b9a\u7684\uff0cUART0\u7684\u5f15\u811a\u5b9a\u4e49\u5982\u4e0b\uff1a<\/p>\n
UART1\u7684\u7269\u7406\u5f15\u811a\u5b9a\u4e49\u5982\u4e0b\uff1a<\/p>\n
\u5728\u4f7f\u7528UART\u4e4b\u524d\uff0c\u9700\u8981\u5148\u5c06UART\u7684\u7269\u7406\u5f15\u811a\u8fde\u63a5\u5230\u5916\u90e8\u8bbe\u5907\uff0c\u8fd9\u6837\u624d\u80fd\u5b9e\u73b0K210\u548c\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/p>\n
K210\u652f\u6301\u591a\u79cd\u8bed\u8a00\u7684\u7f16\u7a0b\uff0c\u5982C\/C++\u3001Python\u3001Rust\u7b49\uff0c\u5176\u4e2dC\/C++\u548cPython\u662f\u6700\u5e38\u7528\u7684\u3002\u4e0b\u9762\u4ee5C\/C++\u4e3a\u4f8b\uff0c\u4ecb\u7ecdK210\u4e2dUART\u7684\u8f6f\u4ef6\u7f16\u7a0b\u65b9\u6cd5\u3002<\/p>\n
\u5728\u4f7f\u7528UART\u4e4b\u524d\uff0c\u9700\u8981\u5148\u5bf9UART\u8fdb\u884c\u521d\u59cb\u5316\uff0c\u521d\u59cb\u5316UART\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n
\u5f53UART\u521d\u59cb\u5316\u5b8c\u6210\u540e\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528UART\u53d1\u9001\u6570\u636e\u4e86\u3002\u53d1\u9001\u6570\u636e\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n
\u63a5\u6536\u6570\u636e\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n
K210\u4e2dUART\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u4e0e\u5916\u90e8\u8bbe\u5907\u8fdb\u884c\u901a\u4fe1\uff0c\u5982\u4e32\u53e3\u6253\u5370\u673a\u3001GPS\u6a21\u5757\u7b49\u3002\u6b64\u5916\uff0cK210\u4e2dUART\u8fd8\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u4e32\u53e3\u8c03\u8bd5\uff0c\u5982\u70e7\u5199\u7a0b\u5e8f\u3001\u8c03\u8bd5\u7a0b\u5e8f\u7b49\u3002<\/p>\n
\u603b\u4e4b\uff0cK210\u4e2dUART\u662f\u4e00\u79cd\u975e\u5e38\u6709\u7528\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u4e0e\u5916\u90e8\u8bbe\u5907\u7684\u901a\u4fe1\u4ee5\u53ca\u4e32\u53e3\u8c03\u8bd5\uff0c\u4e3aK210\u7684\u5e94\u7528\u63d0\u4f9b\u4e86\u6781\u5927\u7684\u4fbf\u5229\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":" UART\uff08UniversalAsynchronousReceiver-Transmitter\uff09\u662f\u4e00\u79cd\u901a\u7528\u7684\u5f02\u6b65\u6536\u53d1\u5668\uff0c\u5b83\u53ef\u4ee5\u5c06\u6570\u636e\u4ece\u4e00\u4e2a\u8bbe\u5907\u53d1\u9001\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u3002K210<\/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":[145],"class_list":["post-39659","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-uart"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/39659","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=39659"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/39659\/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=39659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=39659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=39659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}