{"id":45206,"date":"2023-10-01T11:47:38","date_gmt":"2023-10-01T03:47:38","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=45206"},"modified":"2023-10-01T11:47:38","modified_gmt":"2023-10-01T03:47:38","slug":"skckd","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/45206.html","title":{"rendered":"STM32 HAL\u5e93 \u4e32\u53e3DMA"},"content":{"rendered":"

  STM32 HAL\u5e93\u4e32\u53e3DMA\u662f\u4e00\u79cd\u57fa\u4e8eSTM32\u5fae\u63a7\u5236\u5668\u7684\u9ad8\u6027\u80fd\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u901a\u8fc7\u5229\u7528HAL\u5e93\u4e32\u53e3\u6a21\u5757\u548cDMA\u6a21\u5757\u7684\u7ed3\u5408\uff0c\u5b9e\u73b0\u4e86\u9ad8\u6548\u7684\u6570\u636e\u4f20\u8f93\u3002\u5b83\u53ef\u4ee5\u63d0\u9ad8STM32\u7cfb\u7edf\u7684\u901a\u4fe1\u6027\u80fd\uff0c\u4f7f\u5f97\u7cfb\u7edf\u80fd\u591f\u66f4\u5feb\u5730\u5904\u7406\u6570\u636e\uff0c\u4ece\u800c\u5b9e\u73b0\u66f4\u9ad8\u7684\u6548\u7387\u3002<\/p>\n

STM32 HAL\u5e93\u4e32\u53e3\u6a21\u5757<\/h2>\n

  STM32 HAL\u5e93\u4e32\u53e3\u6a21\u5757\u662f\u4e00\u79cd\u7531STM32\u5fae\u63a7\u5236\u5668\u63d0\u4f9b\u7684\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u80fd\u591f\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u6570\u636e\u4f20\u8f93\u65b9\u5f0f\uff0c\u5305\u62ec\u4e32\u884c\uff0c\u5e76\u884c\uff0c\u4ee5\u53ca\u5176\u4ed6\u5404\u79cd\u7c7b\u578b\u7684\u6570\u636e\u4f20\u8f93\u3002\u5b83\u53ef\u4ee5\u4e3aSTM32\u7cfb\u7edf\u63d0\u4f9b\u9ad8\u901f\u7684\u6570\u636e\u4f20\u8f93\uff0c\u4ece\u800c\u63d0\u9ad8\u7cfb\u7edf\u7684\u6548\u7387\u3002STM32 HAL\u5e93\u4e32\u53e3\u6a21\u5757\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5305\u62ecUART\uff0cI2C\uff0cSPI\uff0cCAN\u7b49\u3002\u5b83\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\uff0c\u4ece\u800c\u6ee1\u8db3\u4e0d\u540c\u7cfb\u7edf\u7684\u4e0d\u540c\u9700\u6c42\u3002<\/p>\n

DMA\u6a21\u5757<\/h2>\n

  DMA\u6a21\u5757\u662f\u4e00\u79cd\u7531STM32\u5fae\u63a7\u5236\u5668\u63d0\u4f9b\u7684\u9ad8\u6027\u80fd\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u652f\u6301\u9ad8\u901f\u7684\u6570\u636e\u4f20\u8f93\uff0c\u4ece\u800c\u63d0\u9ad8\u7cfb\u7edf\u7684\u6027\u80fd\u3002DMA\u6a21\u5757\u53ef\u4ee5\u5b9e\u73b0\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\uff0c\u5b83\u53ef\u4ee5\u5c06\u6570\u636e\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\uff0c\u800c\u4e0d\u9700\u8981\u4e3b\u5904\u7406\u5668\u7684\u53c2\u4e0e\u3002\u5b83\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u6570\u636e\u4f20\u8f93\u6a21\u5f0f\uff0c\u5305\u62ec\u5355\u6b21\u4f20\u8f93\uff0c\u5faa\u73af\u4f20\u8f93\uff0c\u4ee5\u53ca\u5176\u4ed6\u5404\u79cd\u7c7b\u578b\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

STM32 HAL\u5e93 \u4e32\u53e3DMA<\/h2>\n

  STM32 HAL\u5e93 \u4e32\u53e3DMA\u662f\u4e00\u79cd\u57fa\u4e8eSTM32\u5fae\u63a7\u5236\u5668\u7684\u9ad8\u6027\u80fd\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u901a\u8fc7\u5229\u7528HAL\u5e93\u4e32\u53e3\u6a21\u5757\u548cDMA\u6a21\u5757\u7684\u7ed3\u5408\uff0c\u5b9e\u73b0\u4e86\u9ad8\u6548\u7684\u6570\u636e\u4f20\u8f93\u3002<\/strong>\u5b83\u53ef\u4ee5\u63d0\u9ad8STM32\u7cfb\u7edf\u7684\u901a\u4fe1\u6027\u80fd\uff0c\u4f7f\u5f97\u7cfb\u7edf\u80fd\u591f\u66f4\u5feb\u5730\u5904\u7406\u6570\u636e\uff0c\u4ece\u800c\u5b9e\u73b0\u66f4\u9ad8\u7684\u6548\u7387\u3002STM32 HAL\u5e93 \u4e32\u53e3DMA\u7684\u4f18\u52bf\u5728\u4e8e\u5b83\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u6570\u636e\u4f20\u8f93\u6a21\u5f0f\uff0c\u5305\u62ec\u5355\u6b21\u4f20\u8f93\uff0c\u5faa\u73af\u4f20\u8f93\uff0c\u4ee5\u53ca\u5176\u4ed6\u5404\u79cd\u7c7b\u578b\u7684\u6570\u636e\u4f20\u8f93\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\uff0c\u4ece\u800c\u6ee1\u8db3\u4e0d\u540c\u7cfb\u7edf\u7684\u4e0d\u540c\u9700\u6c42\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  STM32 HAL\u5e93 \u4e32\u53e3DMA\u662f\u4e00\u79cd\u57fa\u4e8eSTM32\u5fae\u63a7\u5236\u5668\u7684\u9ad8\u6027\u80fd\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u901a\u8fc7\u5229\u7528HAL\u5e93\u4e32\u53e3\u6a21\u5757\u548cDMA\u6a21\u5757\u7684\u7ed3\u5408\uff0c\u5b9e\u73b0\u4e86\u9ad8\u6548\u7684\u6570\u636e\u4f20\u8f93\u3002<\/strong>\u5b83\u53ef\u4ee5\u63d0\u9ad8STM32\u7cfb\u7edf\u7684\u901a\u4fe1\u6027\u80fd\uff0c\u4f7f\u5f97\u7cfb\u7edf\u80fd\u591f\u66f4\u5feb\u5730\u5904\u7406\u6570\u636e\uff0c\u4ece\u800c\u5b9e\u73b0\u66f4\u9ad8\u7684\u6548\u7387\u3002STM32 HAL\u5e93 \u4e32\u53e3DMA\u7684\u4f18\u52bf\u5728\u4e8e\u5b83\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u6570\u636e\u4f20\u8f93\u6a21\u5f0f\uff0c\u4ee5\u53ca\u591a\u79cd\u4e0d\u540c\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\uff0c\u4ece\u800c\u6ee1\u8db3\u4e0d\u540c\u7cfb\u7edf\u7684\u4e0d\u540c\u9700\u6c42\u3002\u603b\u4e4b\uff0cSTM32 HAL\u5e93 \u4e32\u53e3DMA\u662f\u4e00\u79cd\u975e\u5e38\u6709\u6548\u7684\u901a\u4fe1\u6280\u672f\uff0c\u53ef\u4ee5\u6781\u5927\u5730\u63d0\u9ad8STM32\u7cfb\u7edf\u7684\u6027\u80fd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

STM32HAL\u5e93\u4e32\u53e3DMA\u662f\u4e00\u79cd\u57fa\u4e8eSTM32\u5fae\u63a7\u5236\u5668\u7684\u9ad8\u6027\u80fd\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u901a\u8fc7\u5229\u7528HAL\u5e93\u4e32\u53e3\u6a21\u5757\u548cDMA\u6a21\u5757\u7684\u7ed3\u5408\uff0c\u5b9e\u73b0\u4e86\u9ad8\u6548\u7684\u6570\u636e\u4f20\u8f93\u3002\u5b83\u53ef\u4ee5\u63d0\u9ad8STM32\u7cfb\u7edf\u7684<\/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":[287],"class_list":["post-45206","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-stm32"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/45206","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=45206"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/45206\/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=45206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=45206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=45206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}