{"id":62696,"date":"2023-11-02T03:39:05","date_gmt":"2023-11-01T19:39:05","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=62696"},"modified":"2023-11-02T03:39:05","modified_gmt":"2023-11-01T19:39:05","slug":"syskgbckzd","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/62696.html","title":{"rendered":"\u4f7f\u7528STM32HAL\u5e93\u5173\u95ed\u4e32\u53e3\u4e2d\u65ad"},"content":{"rendered":"
STM32HAL\u5e93\u63d0\u4f9b\u4e86\u4e00\u79cd\u53ef\u9760\u7684\u65b9\u6cd5\u6765\u5173\u95ed\u4e32\u53e3\u4e2d\u65ad\uff0c\u4ee5\u63d0\u4f9b\u66f4\u9ad8\u7684\u6027\u80fd\u548c\u66f4\u4f4e\u7684\u529f\u8017\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528STM32HAL\u5e93\u6765\u5173\u95ed\u4e32\u53e3\u4e2d\u65ad\uff0c\u4ee5\u53ca\u5b83\u7684\u4f18\u70b9\u548c\u7f3a\u70b9\u3002<\/p>\n
\u4e32\u53e3\u4e2d\u65ad\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u5904\u7406\u5668\u4e2d\u65ad\uff0c\u5b83\u5728\u63a5\u6536\u5230\u4e32\u53e3\u6570\u636e\u65f6\u88ab\u89e6\u53d1\u3002\u4e32\u53e3\u4e2d\u65ad\u53ef\u4ee5\u4f7f\u5f97\u7cfb\u7edf\u66f4\u5feb\u5730\u54cd\u5e94\u4e32\u53e3\u6570\u636e\uff0c\u4f46\u662f\u7531\u4e8e\u5b83\u4f1a\u6d88\u8017\u66f4\u591a\u7684\u7535\u91cf\uff0c\u56e0\u6b64\u5728\u67d0\u4e9b\u5e94\u7528\u573a\u666f\u4e2d\uff0c\u9700\u8981\u5c06\u5176\u5173\u95ed\u3002<\/p>\n
\u8981\u4f7f\u7528STM32HAL\u5e93\u6765\u5173\u95ed\u4e32\u53e3\u4e2d\u65ad\uff0c\u9996\u5148\u9700\u8981\u5b89\u88c5STM32HAL\u5e93\u3002\u53ef\u4ee5\u5728ST\u5b98\u7f51\u4e0a\u4e0b\u8f7dSTM32HAL\u5e93\uff0c\u5e76\u5c06\u5176\u5b89\u88c5\u5230\u60a8\u7684\u7cfb\u7edf\u4e2d\u3002<\/p>\n
\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u60a8\u9700\u8981\u914d\u7f6eSTM32HAL\u5e93\uff0c\u4ee5\u4fbf\u80fd\u591f\u4f7f\u7528\u5b83\u6765\u5173\u95ed\u4e32\u53e3\u4e2d\u65ad\u3002\u914d\u7f6eSTM32HAL\u5e93\u7684\u65b9\u6cd5\u5f88\u7b80\u5355\uff0c\u53ea\u9700\u8981\u5728STM32HAL\u5e93\u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u5c06UART_IT_RXNE\u8bbe\u7f6e\u4e3a\u201cDISABLE\u201d\uff0c\u5373\u53ef\u5b8c\u6210\u914d\u7f6e\u3002<\/p>\n
\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u60a8\u5c31\u53ef\u4ee5\u4f7f\u7528STM32HAL\u5e93\u6765\u5173\u95ed\u4e32\u53e3\u4e2d\u65ad\u4e86\u3002\u8981\u5173\u95ed\u4e32\u53e3\u4e2d\u65ad\uff0c\u53ea\u9700\u8981\u5728\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u8c03\u7528UART_ITConfig\u51fd\u6570\uff0c\u5c06UART_IT_RXNE\u53c2\u6570\u8bbe\u7f6e\u4e3a\u201cDISABLE\u201d\uff0c\u5373\u53ef\u5b8c\u6210\u5173\u95ed\u4e32\u53e3\u4e2d\u65ad\u7684\u64cd\u4f5c\u3002<\/p>\n
\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528STM32HAL\u5e93\u5173\u95ed\u4e32\u53e3\u4e2d\u65ad\uff0c\u4ee5\u53ca\u5b83\u7684\u4f18\u70b9\u548c\u7f3a\u70b9\u3002<\/strong>STM32HAL\u5e93\u63d0\u4f9b\u4e86\u4e00\u79cd\u53ef\u9760\u7684\u65b9\u6cd5\u6765\u5173\u95ed\u4e32\u53e3\u4e2d\u65ad\uff0c\u4ee5\u63d0\u4f9b\u66f4\u9ad8\u7684\u6027\u80fd\u548c\u66f4\u4f4e\u7684\u529f\u8017\u3002\u4f7f\u7528STM32HAL\u5e93\u53ef\u4ee5\u8f7b\u677e\u5730\u5173\u95ed\u4e32\u53e3\u4e2d\u65ad\uff0c\u4ece\u800c\u63d0\u9ad8\u7cfb\u7edf\u6027\u80fd\u548c\u964d\u4f4e\u529f\u8017\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" STM32HAL\u5e93\u63d0\u4f9b\u4e86\u4e00\u79cd\u53ef\u9760\u7684\u65b9\u6cd5\u6765\u5173\u95ed\u4e32\u53e3\u4e2d\u65ad\uff0c\u4ee5\u63d0\u4f9b\u66f4\u9ad8\u7684\u6027\u80fd\u548c\u66f4\u4f4e\u7684\u529f\u8017\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528STM32HAL\u5e93\u6765\u5173\u95ed\u4e32\u53e3\u4e2d\u65ad\uff0c\u4ee5\u53ca\u5b83\u7684\u4f18\u70b9\u548c\u7f3a\u70b9\u3002\u4ec0\u4e48\u662f<\/p>\n","protected":false},"author":1,"featured_media":1839,"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-62696","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\/62696"}],"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=62696"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/62696\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/1839"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=62696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=62696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=62696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}