{"id":69534,"date":"2023-12-22T17:47:28","date_gmt":"2023-12-22T09:47:28","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=69534"},"modified":"2023-12-22T17:47:28","modified_gmt":"2023-12-22T09:47:28","slug":"syhfssj","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/69534.html","title":{"rendered":"\u4f7f\u7528 HAL_UART_Transmit_IT \u53d1\u9001\u6570\u636e"},"content":{"rendered":"
HAL_UART_Transmit_IT \u662f\u4e00\u79cd\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5f00\u53d1\u4e2d\u5e38\u7528\u7684\u6570\u636e\u53d1\u9001\u65b9\u6cd5\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8be5\u65b9\u6cd5\u53d1\u9001\u6570\u636e\u4ee5\u53ca\u76f8\u5173\u7684\u6ce8\u610f\u4e8b\u9879\u3002<\/p>\n
HAL_UART_Transmit_IT \u662f STM32Cube \u4e2d\u7684\u4e00\u4e2a\u5e93\u51fd\u6570\uff0c\u7528\u4e8e\u5728 STM32<\/a> \u5fae\u63a7\u5236\u5668\u4e0a\u901a\u8fc7 UART\uff08\u901a\u7528\u5f02\u6b65\u6536\u53d1\u5668\uff09\u53d1\u9001\u6570\u636e\u3002\u76f8\u6bd4\u4e8e\u5176\u4ed6\u53d1\u9001\u65b9\u6cd5\uff0c\u4f7f\u7528 HAL_UART_Transmit_IT \u53ef\u4ee5\u5b9e\u73b0\u6570\u636e\u7684\u5f02\u6b65\u53d1\u9001\uff0c\u4ece\u800c\u63d0\u9ad8\u7cfb\u7edf\u7684\u54cd\u5e94\u901f\u5ea6\u548c\u6548\u7387\u3002<\/p>\n \u8981\u4f7f\u7528 HAL_UART<\/a>_Transmit_IT \u53d1\u9001\u6570\u636e\uff0c\u9996\u5148\u9700\u8981\u521d\u59cb\u5316 UART\uff0c\u5e76\u914d\u7f6e\u597d\u76f8\u5e94\u7684\u53c2\u6570\uff0c\u4f8b\u5982\u6ce2\u7279\u7387\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u548c\u5947\u5076\u6821\u9a8c<\/a>\u4f4d\u3002\u7136\u540e\uff0c\u5728\u9700\u8981\u53d1\u9001\u6570\u636e\u7684\u5730\u65b9\uff0c\u8c03\u7528 HAL_UART_Transmit_IT \u51fd\u6570\u5e76\u4f20\u5165\u5f85\u53d1\u9001\u7684\u6570\u636e\u548c\u6570\u636e\u957f\u5ea6\u5373\u53ef\u3002\u8be5\u51fd\u6570\u4f1a\u5c06\u6570\u636e\u653e\u5165\u53d1\u9001\u7f13\u51b2\u533a\uff0c\u5e76\u7acb\u5373\u8fd4\u56de\uff0c\u7531\u4e2d\u65ad\u670d\u52a1\u51fd\u6570\u5b9e\u9645\u53d1\u9001\u6570\u636e\u3002<\/p>\n \u5728\u4f7f\u7528 HAL_UART_Transmit_IT \u53d1\u9001\u6570\u636e\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n \u9664\u4e86\u57fa\u672c\u7684\u4f7f\u7528\u65b9\u6cd5\u5916\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e00\u4e9b\u4f18\u5316\u6765\u63d0\u9ad8 HAL_UART_Transmit_IT \u7684\u53d1\u9001\u6027\u80fd\u3002<\/p>\n \u5982\u679c\u9700\u8981\u53d1\u9001\u5927\u91cf\u6570\u636e\uff0c\u53ef\u4ee5\u8003\u8651\u5c06\u6570\u636e\u8fdb\u884c\u5206\u6279\u53d1\u9001\uff0c\u4ee5\u51cf\u8f7b\u5355\u6b21\u53d1\u9001\u7684\u8d1f\u62c5\u3002\u8fd9\u6837\u53ef\u4ee5\u66f4\u597d\u5730\u5229\u7528\u4e2d\u65ad\u670d\u52a1\u51fd\u6570\uff0c\u63d0\u9ad8\u7cfb\u7edf\u7684\u5e76\u53d1\u5904\u7406\u80fd\u529b\u3002<\/p>\n \u5bf9\u4e8e\u8fde\u7eed\u53d1\u9001\u5927\u5757\u6570\u636e\u7684\u573a\u666f\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528 DMA \u6765\u4f18\u5316\u6570\u636e\u53d1\u9001\u3002DMA \u53ef\u4ee5\u5728\u4e0d\u5360\u7528 CPU \u7684\u60c5\u51b5\u4e0b\u76f4\u63a5\u4ece\u5185\u5b58\u4e2d\u8bfb\u53d6\u6570\u636e\u53d1\u9001\uff0c\u4ece\u800c\u51cf\u5c11\u4e86 CPU \u7684\u8d1f\u62c5\uff0c\u63d0\u9ad8\u4e86\u7cfb\u7edf\u7684\u6548\u7387\u548c\u54cd\u5e94\u901f\u5ea6\u3002<\/p>\n \u4f7f\u7528 HAL_UART_Transmit_IT \u53ef\u4ee5\u5b9e\u73b0\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4e2d\u9ad8\u6548\u5730\u53d1\u9001\u6570\u636e\u3002\u901a\u8fc7\u6b63\u786e\u7684\u4f7f\u7528\u65b9\u6cd5\u548c\u4f18\u5316\u624b\u6bb5\uff0c\u53ef\u4ee5\u63d0\u5347\u7cfb\u7edf\u7684\u6027\u80fd\u548c\u7a33\u5b9a\u6027\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u5f00\u53d1\u4eba\u5458\u9700\u8981\u6839\u636e\u5177\u4f53\u7684\u573a\u666f\u548c\u9700\u6c42\u6765\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u53d1\u9001\u65b9\u5f0f\uff0c\u5e76\u6ce8\u610f\u76f8\u5173\u7684\u6ce8\u610f\u4e8b\u9879\u548c\u4f18\u5316\u65b9\u6cd5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" HAL_UART_Transmit_IT\u662f\u4e00\u79cd\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5f00\u53d1\u4e2d\u5e38\u7528\u7684\u6570\u636e\u53d1\u9001\u65b9\u6cd5\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8be5\u65b9\u6cd5\u53d1\u9001\u6570\u636e\u4ee5\u53ca\u76f8\u5173\u7684\u6ce8\u610f\u4e8b\u9879\u3002HAL_UART_Trans<\/p>\n","protected":false},"author":1,"featured_media":64231,"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-69534","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\/69534","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=69534"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/69534\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/64231"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=69534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=69534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=69534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} HAL_UART_Transmit_IT \u7684\u4f7f\u7528\u65b9\u6cd5<\/h3>\n
\u6ce8\u610f\u4e8b\u9879<\/h3>\n
\n
\u4f18\u5316\u6570\u636e\u53d1\u9001\u6027\u80fd<\/h2>\n
\u6279\u91cf\u53d1\u9001\u6570\u636e<\/h3>\n
\u4f7f\u7528DMA\uff08\u76f4\u63a5\u5b58\u50a8\u5668\u8bbf\u95ee\uff09<\/h3>\n
\u603b\u7ed3<\/h2>\n