{"id":46924,"date":"2023-09-29T21:17:33","date_gmt":"2023-09-29T13:17:33","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=46924"},"modified":"2023-09-29T21:17:33","modified_gmt":"2023-09-29T13:17:33","slug":"gzuqsw","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/46924.html","title":{"rendered":"GD32\u4e2dUSART\u8d77\u59cb\u4f4d"},"content":{"rendered":"

  GD32\u4e2d\u7684USART\u8d77\u59cb\u4f4d\u662f\u4e00\u79cd\u7528\u4e8e\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u5feb\u901f\u3001\u53ef\u9760\u7684\u6570\u636e\u4f20\u8f93\u3002\u8be5\u534f\u8bae\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u5efa\u7acb\u4e00\u4e2a\u53cc\u5411\u7684\u8fde\u63a5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u9ad8\u6548\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

USART\u8d77\u59cb\u4f4d\u7684\u5de5\u4f5c\u539f\u7406<\/h2>\n

  GD32\u4e2d\u7684USART\u8d77\u59cb\u4f4d\u662f\u4e00\u79cd\u5178\u578b\u7684\u65f6\u5e8f\u534f\u8bae\uff0c\u5b83\u7684\u4e3b\u8981\u5de5\u4f5c\u539f\u7406\u662f\u5728\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u4e4b\u95f4\u5efa\u7acb\u4e00\u4e2a\u53cc\u5411\u7684\u8fde\u63a5\uff0c\u5728\u53d1\u9001\u7aef\u53d1\u9001\u4e00\u4e2a\u8d77\u59cb\u4f4d\uff0c\u800c\u63a5\u6536\u7aef\u63a5\u6536\u5230\u8d77\u59cb\u4f4d\u540e\u5c31\u4f1a\u5f00\u59cb\u63a5\u6536\u6570\u636e\uff0c\u63a5\u6536\u5230\u6570\u636e\u540e\u5c31\u4f1a\u53d1\u9001\u4e00\u4e2a\u505c\u6b62\u4f4d\uff0c\u8868\u793a\u6570\u636e\u4f20\u8f93\u7ed3\u675f\u3002<\/p>\n

  \u8d77\u59cb\u4f4d\u7684\u4f20\u8f93\u65b9\u5f0f<\/h3>\n

  GD32\u4e2d\u7684USART\u8d77\u59cb\u4f4d\u7684\u4f20\u8f93\u65b9\u5f0f\u6709\u4e24\u79cd\uff0c\u4e00\u79cd\u662f\u540c\u6b65\u4f20\u8f93\uff0c\u53e6\u4e00\u79cd\u662f\u5f02\u6b65\u4f20\u8f93\u3002\u540c\u6b65\u4f20\u8f93\u662f\u6307\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u4e4b\u95f4\u9700\u8981\u4f7f\u7528\u4e00\u4e2a\u540c\u6b65\u4fe1\u53f7\u6765\u540c\u6b65\u4f20\u8f93\u6570\u636e\uff0c\u800c\u5f02\u6b65\u4f20\u8f93\u5219\u4e0d\u9700\u8981\u4f7f\u7528\u540c\u6b65\u4fe1\u53f7\uff0c\u53ea\u9700\u8981\u53d1\u9001\u7aef\u53d1\u9001\u8d77\u59cb\u4f4d\uff0c\u63a5\u6536\u7aef\u63a5\u6536\u5230\u8d77\u59cb\u4f4d\u540e\u5c31\u53ef\u4ee5\u5f00\u59cb\u63a5\u6536\u6570\u636e\u3002<\/p>\n

  \u8d77\u59cb\u4f4d\u7684\u4f20\u8f93\u901f\u7387<\/h3>\n

  GD32\u4e2d\u7684USART\u8d77\u59cb\u4f4d\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230\u6bcf\u79d2115200\u6bd4\u7279\uff0c\u8fd9\u662f\u4e00\u4e2a\u975e\u5e38\u5feb\u7684\u901f\u5ea6\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5feb\u901f\u3001\u53ef\u9760\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

USART\u8d77\u59cb\u4f4d\u7684\u4f18\u70b9<\/h2>\n

  USART\u8d77\u59cb\u4f4d\u5177\u6709\u4ee5\u4e0b\u4f18\u70b9\uff1a<\/p>\n

  1.\u5b9e\u73b0\u5feb\u901f\u4f20\u8f93<\/h3>\n

  GD32\u4e2d\u7684USART\u8d77\u59cb\u4f4d\u53ef\u4ee5\u5b9e\u73b0\u5feb\u901f\u3001\u53ef\u9760\u7684\u6570\u636e\u4f20\u8f93\uff0c\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230\u6bcf\u79d2115200\u6bd4\u7279\uff0c\u8fd9\u662f\u4e00\u4e2a\u975e\u5e38\u5feb\u7684\u901f\u5ea6\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5927\u591a\u6570\u5e94\u7528\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n

  2.\u6613\u4e8e\u5b9e\u73b0<\/h3>\n

  USART\u8d77\u59cb\u4f4d\u7684\u5b9e\u73b0\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u8981\u5728\u53d1\u9001\u7aef\u548c\u63a5\u6536\u7aef\u4e4b\u95f4\u5efa\u7acb\u4e00\u4e2a\u53cc\u5411\u7684\u8fde\u63a5\uff0c\u5728\u53d1\u9001\u7aef\u53d1\u9001\u4e00\u4e2a\u8d77\u59cb\u4f4d\uff0c\u800c\u63a5\u6536\u7aef\u63a5\u6536\u5230\u8d77\u59cb\u4f4d\u540e\u5c31\u4f1a\u5f00\u59cb\u63a5\u6536\u6570\u636e\uff0c\u63a5\u6536\u5230\u6570\u636e\u540e\u5c31\u4f1a\u53d1\u9001\u4e00\u4e2a\u505c\u6b62\u4f4d\uff0c\u8868\u793a\u6570\u636e\u4f20\u8f93\u7ed3\u675f\u3002<\/p>\n

  3.\u53ef\u9760\u6027\u9ad8<\/h3>\n

  USART\u8d77\u59cb\u4f4d\u7684\u53ef\u9760\u6027\u975e\u5e38\u9ad8\uff0c\u5b83\u53ef\u4ee5\u6709\u6548\u9632\u6b62\u4f20\u8f93\u4e2d\u7684\u6570\u636e\u4e22\u5931\uff0c\u8fd9\u662f\u4e00\u4e2a\u975e\u5e38\u53ef\u9760\u7684\u901a\u4fe1\u534f\u8bae\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  GD32\u4e2d\u7684USART\u8d77\u59cb\u4f4d\u662f\u4e00\u79cd\u7528\u4e8e\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u5feb\u901f\u3001\u53ef\u9760\u7684\u6570\u636e\u4f20\u8f93\uff0c\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230\u6bcf\u79d2115200\u6bd4\u7279\uff0c\u5b83\u5177\u6709\u5b9e\u73b0\u5feb\u901f\u3001\u6613\u4e8e\u5b9e\u73b0\u3001\u53ef\u9760\u6027\u9ad8\u7b49\u4f18\u70b9\uff0c\u662f\u4e00\u79cd\u975e\u5e38\u53ef\u9760\u7684\u901a\u4fe1\u534f\u8bae\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"

GD32\u4e2d\u7684USART\u8d77\u59cb\u4f4d\u662f\u4e00\u79cd\u7528\u4e8e\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u5feb\u901f\u3001\u53ef\u9760\u7684\u6570\u636e\u4f20\u8f93\u3002\u8be5\u534f\u8bae\u5728\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u5efa\u7acb\u4e00\u4e2a\u53cc\u5411\u7684\u8fde\u63a5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u9ad8\u6548\u7684\u6570\u636e\u4f20\u8f93<\/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":[305],"class_list":["post-46924","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/46924","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=46924"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/46924\/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=46924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=46924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=46924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}