{"id":40607,"date":"2023-10-02T11:20:59","date_gmt":"2023-10-02T03:20:59","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=40607"},"modified":"2023-10-02T11:20:59","modified_gmt":"2023-10-02T03:20:59","slug":"uhsljcxsjcsdjc","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/40607.html","title":{"rendered":"USART_SendData\u51fd\u6570\uff1a\u7406\u89e3\u4e32\u884c\u6570\u636e\u4f20\u8f93\u7684\u57fa\u7840"},"content":{"rendered":"

  USART_SendData\u51fd\u6570\u662f\u4e00\u79cd\u7528\u4e8e\u53d1\u9001\u4e32\u884c\u6570\u636e\u7684\u51fd\u6570\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5b9e\u73b0\u4e32\u884c\u6570\u636e\u4f20\u8f93\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u6df1\u5165\u4e86\u89e3USART_SendData\u51fd\u6570\u7684\u5de5\u4f5c\u539f\u7406\u3001\u5b83\u7684\u4f18\u70b9\u548c\u7f3a\u70b9\uff0c\u4ee5\u53ca\u5982\u4f55\u6b63\u786e\u4f7f\u7528\u5b83\u3002<\/p>\n

USART_SendData\u51fd\u6570\u7684\u5de5\u4f5c\u539f\u7406<\/h2>\n

  USART_SendData\u51fd\u6570\u662f\u4e00\u79cd\u53ef\u4ee5\u5c06\u6570\u636e\u4ece\u4e00\u4e2a\u8bbe\u5907\u53d1\u9001\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u7684\u51fd\u6570\u3002\u5b83\u53ef\u4ee5\u5c06\u4e00\u7cfb\u5217\u7684\u5b57\u8282\uff08\u4f8b\u5982\uff0c8\u4f4d\u6570\u636e\uff09\u4ee5\u4e32\u884c\u7684\u65b9\u5f0f\u53d1\u9001\u51fa\u53bb\uff0c\u5e76\u4e14\u53ef\u4ee5\u8ba9\u63a5\u6536\u65b9\u6b63\u786e\u5730\u8bc6\u522b\u51fa\u8fd9\u4e9b\u6570\u636e\u3002<\/p>\n

  USART_SendData\u51fd\u6570\u5728\u53d1\u9001\u6570\u636e\u65f6\uff0c\u4f1a\u5c06\u6570\u636e\u8f6c\u6362\u4e3a\u4e00\u7cfb\u5217\u7684\u9ad8\u4f4e\u7535\u5e73\u4fe1\u53f7\uff0c\u7136\u540e\u7acb\u5373\u53d1\u9001\u51fa\u53bb\u3002\u63a5\u6536\u65b9\u4f1a\u6309\u7167\u76f8\u540c\u7684\u65b9\u5f0f\u89e3\u7801\u8fd9\u4e9b\u7535\u5e73\u4fe1\u53f7\uff0c\u4ece\u800c\u5f97\u5230\u539f\u59cb\u7684\u6570\u636e\u3002<\/p>\n

USART_SendData\u51fd\u6570\u7684\u4f18\u70b9<\/h2>\n

  USART_SendData\u51fd\u6570\u6709\u8bb8\u591a\u4f18\u70b9\uff0c\u5176\u4e2d\u6700\u660e\u663e\u7684\u4e00\u70b9\u662f\u5b83\u53ef\u4ee5\u652f\u6301\u9ad8\u901f\u6570\u636e\u4f20\u8f93\u3002\u5b83\u53ef\u4ee5\u5c06\u4e00\u7cfb\u5217\u7684\u5b57\u8282\u8fc5\u901f\u53d1\u9001\u51fa\u53bb\uff0c\u800c\u4e14\u53ef\u4ee5\u786e\u4fdd\u63a5\u6536\u65b9\u80fd\u6b63\u786e\u5730\u63a5\u6536\u5230\u8fd9\u4e9b\u6570\u636e\u3002<\/p>\n

  \u6b64\u5916\uff0cUSART_SendData\u51fd\u6570\u8fd8\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u901a\u4fe1\u534f\u8bae\u3002\u5b83\u53ef\u4ee5\u652f\u6301RS-232\u3001RS-422\u3001RS-485\u7b49\u591a\u79cd\u4e0d\u540c\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u4ece\u800c\u53ef\u4ee5\u6ee1\u8db3\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n

USART_SendData\u51fd\u6570\u7684\u7f3a\u70b9<\/h2>\n

  USART_SendData\u51fd\u6570\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\uff0c\u5176\u4e2d\u6700\u660e\u663e\u7684\u4e00\u70b9\u662f\u5b83\u4e0d\u80fd\u5b9e\u73b0\u70b9\u5bf9\u70b9\u7684\u6570\u636e\u4f20\u8f93\u3002\u5b83\u53ea\u80fd\u4ece\u4e00\u4e2a\u8bbe\u5907\u53d1\u9001\u6570\u636e\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\uff0c\u800c\u4e0d\u80fd\u5b9e\u73b0\u70b9\u5bf9\u70b9\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

  \u53e6\u5916\uff0cUSART_SendData\u51fd\u6570\u4e5f\u4e0d\u80fd\u5b9e\u73b0\u8de8\u5e73\u53f0\u7684\u6570\u636e\u4f20\u8f93\u3002\u5b83\u53ea\u80fd\u5728\u7279\u5b9a\u7684\u786c\u4ef6\u5e73\u53f0\u4e0a\u4f7f\u7528\uff0c\u65e0\u6cd5\u8de8\u8d8a\u4e0d\u540c\u7684\u786c\u4ef6\u5e73\u53f0\u3002<\/p>\n

\u5982\u4f55\u6b63\u786e\u4f7f\u7528USART_SendData\u51fd\u6570<\/h2>\n

  \u4f7f\u7528USART_SendData\u51fd\u6570\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u786e\u4fdd\u786c\u4ef6\u5e73\u53f0\u652f\u6301\u8be5\u51fd\u6570\u3002\u7136\u540e\uff0c\u4f7f\u7528\u8005\u9700\u8981\u786e\u4fdd\u63a5\u6536\u65b9\u4e5f\u652f\u6301\u76f8\u540c\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u4ee5\u786e\u4fdd\u4e24\u7aef\u80fd\u591f\u6b63\u786e\u5730\u6536\u53d1\u6570\u636e\u3002<\/p>\n

  \u6b64\u5916\uff0c\u4f7f\u7528\u8005\u8fd8\u9700\u8981\u786e\u4fdd\u53d1\u9001\u6570\u636e\u65f6\uff0c\u6570\u636e\u7684\u683c\u5f0f\u662f\u6b63\u786e\u7684\u3002\u4f8b\u5982\uff0c\u5982\u679c\u53d1\u9001\u7684\u662f\u5b57\u7b26\u4e32\uff0c\u5219\u5fc5\u987b\u5728\u5b57\u7b26\u4e32\u672b\u5c3e\u6dfb\u52a0\u7a7a\u5b57\u7b26\uff0c\u4ee5\u786e\u4fdd\u63a5\u6536\u65b9\u80fd\u6b63\u786e\u5730\u63a5\u6536\u5230\u6570\u636e\u3002<\/p>\n

  \u6700\u540e\uff0c\u4f7f\u7528\u8005\u8fd8\u9700\u8981\u786e\u4fdd\u53d1\u9001\u7684\u6570\u636e\u91cf\u4e0d\u4f1a\u8d85\u51fa\u786c\u4ef6\u5e73\u53f0\u7684\u6027\u80fd\u8303\u56f4\u3002\u4f8b\u5982\uff0c\u5982\u679c\u786c\u4ef6\u5e73\u53f0\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\u6709\u9650\uff0c\u5219\u4e0d\u8981\u5c1d\u8bd5\u53d1\u9001\u5927\u91cf\u7684\u6570\u636e\uff0c\u4ee5\u514d\u5bfc\u81f4\u6570\u636e\u4f20\u8f93\u5931\u8d25\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  USART_SendData\u51fd\u6570\u662f\u4e00\u79cd\u53ef\u4ee5\u5c06\u6570\u636e\u4ece\u4e00\u4e2a\u8bbe\u5907\u53d1\u9001\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u7684\u51fd\u6570\uff0c\u5b83\u53ef\u4ee5\u652f\u6301\u9ad8\u901f\u7684\u6570\u636e\u4f20\u8f93\uff0c\u5e76\u4e14\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u901a\u4fe1\u534f\u8bae\u3002<\/strong>\u5b83\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\uff0c\u4f8b\u5982\u4e0d\u80fd\u5b9e\u73b0\u70b9\u5bf9\u70b9\u7684\u6570\u636e\u4f20\u8f93\u548c\u8de8\u5e73\u53f0\u7684\u6570\u636e\u4f20\u8f93\u3002\u8981\u6b63\u786e\u4f7f\u7528USART_SendData\u51fd\u6570\uff0c\u4f7f\u7528\u8005\u9700\u8981\u786e\u4fdd\u786c\u4ef6\u5e73\u53f0\u652f\u6301\u8be5\u51fd\u6570\uff0c\u5e76\u4e14\u63a5\u6536\u65b9\u4e5f\u652f\u6301\u76f8\u540c\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u540c\u65f6\u8fd8\u8981\u786e\u4fdd\u53d1\u9001\u7684\u6570\u636e\u683c\u5f0f\u6b63\u786e\uff0c\u5e76\u4e14\u4e0d\u8981\u8d85\u51fa\u786c\u4ef6\u5e73\u53f0\u7684\u6027\u80fd\u8303\u56f4\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

USART_SendData\u51fd\u6570\u662f\u4e00\u79cd\u7528\u4e8e\u53d1\u9001\u4e32\u884c\u6570\u636e\u7684\u51fd\u6570\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5b9e\u73b0\u4e32\u884c\u6570\u636e\u4f20\u8f93\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u6df1\u5165\u4e86\u89e3USART_SendData\u51fd\u6570\u7684\u5de5\u4f5c\u539f\u7406\u3001\u5b83\u7684\u4f18\u70b9<\/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-40607","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\/40607","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=40607"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/40607\/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=40607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=40607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=40607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}