{"id":57641,"date":"2023-10-17T05:06:44","date_gmt":"2023-10-16T21:06:44","guid":{"rendered":"https:\/\/www.techphant.cn\/blog\/57641.html"},"modified":"2023-10-17T05:06:44","modified_gmt":"2023-10-16T21:06:44","slug":"sajyckct","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/57641.html","title":{"rendered":"STM32\u6309\u952e\u4e0e\u4e32\u53e3\u51b2\u7a81"},"content":{"rendered":"
STM32\u6309\u952e\u8ddf\u4e32\u53e3\u51b2\u7a81\u662f\u6307\u5728\u4f7f\u7528STM32\u63a7\u5236\u5668\u5f00\u53d1\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u5982\u679c\u540c\u65f6\u4f7f\u7528\u4e32\u53e3\u901a\u4fe1\u548c\u6309\u952e\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u6309\u952e\u548c\u4e32\u53e3\u901a\u4fe1\u51b2\u7a81\u7684\u95ee\u9898\u3002\u8fd9\u79cd\u95ee\u9898\u53ef\u80fd\u4f1a\u5bfc\u81f4\u7a0b\u5e8f\u51fa\u73b0\u4e0d\u53ef\u9884\u6599\u7684\u884c\u4e3a\uff0c\u751a\u81f3\u53ef\u80fd\u5bfc\u81f4\u7cfb\u7edf\u5d29\u6e83\u3002\u56e0\u6b64\uff0c\u89e3\u51b3STM32\u6309\u952e\u4e0e\u4e32\u53e3\u51b2\u7a81\u7684\u95ee\u9898\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\u3002<\/p>\n
STM32\u6309\u952e\u4e0e\u4e32\u53e3\u51b2\u7a81\u7684\u539f\u56e0\u662fSTM32\u63a7\u5236\u5668\u5185\u90e8\u7684\u786c\u4ef6\u7ed3\u6784\u3002STM32\u63a7\u5236\u5668\u7684\u4e2d\u65ad\u670d\u52a1\u51fd\u6570\uff08ISR\uff09\u662f\u5728\u4e3b\u5faa\u73af\uff08main loop\uff09\u4e4b\u5916\u8fd0\u884c\u7684\uff0c\u800c\u4e32\u53e3\u901a\u4fe1\u4e5f\u662f\u5728\u4e3b\u5faa\u73af\u4e4b\u5916\u8fd0\u884c\u7684\u3002\u56e0\u6b64\uff0c\u5f53\u6309\u952e\u6309\u4e0b\u65f6\uff0c\u4f1a\u89e6\u53d1\u4e2d\u65ad\u670d\u52a1\u51fd\u6570\uff0c\u800c\u4e32\u53e3\u901a\u4fe1\u4e5f\u4f1a\u88ab\u89e6\u53d1\uff0c\u4ece\u800c\u5bfc\u81f4\u6309\u952e\u4e0e\u4e32\u53e3\u901a\u4fe1\u4e4b\u95f4\u7684\u51b2\u7a81\u3002<\/p>\n
\u6700\u7b80\u5355\u7684\u89e3\u51b3\u65b9\u6848\u662f\u4f7f\u7528\u4e2d\u65ad\u7981\u6b62\u6309\u952e\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u5f53\u4e32\u53e3\u901a\u4fe1\u65f6\uff0c\u7981\u6b62\u6309\u952e\u4e2d\u65ad\uff0c\u4ee5\u907f\u514d\u6309\u952e\u4e0e\u4e32\u53e3\u901a\u4fe1\u4e4b\u95f4\u7684\u51b2\u7a81\u3002\u4f46\u662f\uff0c\u8fd9\u79cd\u65b9\u6cd5\u53ea\u80fd\u5728\u77ed\u65f6\u95f4\u5185\u89e3\u51b3\u95ee\u9898\uff0c\u5982\u679c\u4e32\u53e3\u901a\u4fe1\u65f6\u95f4\u8fc7\u957f\uff0c\u6309\u952e\u4e2d\u65ad\u4ecd\u7136\u53ef\u80fd\u4f1a\u88ab\u89e6\u53d1\uff0c\u4ece\u800c\u5bfc\u81f4\u6309\u952e\u4e0e\u4e32\u53e3\u901a\u4fe1\u4e4b\u95f4\u7684\u51b2\u7a81\u3002<\/p>\n
\u6309\u952e\u9501\u5b9a\u662f\u4e00\u79cd\u6bd4\u8f83\u5e38\u7528\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u5b83\u53ef\u4ee5\u6709\u6548\u5730\u907f\u514d\u6309\u952e\u4e0e\u4e32\u53e3\u901a\u4fe1\u4e4b\u95f4\u7684\u51b2\u7a81\u3002\u539f\u7406\u662f\uff0c\u5f53\u6309\u952e\u88ab\u6309\u4e0b\u65f6\uff0c\u4f1a\u89e6\u53d1\u4e00\u4e2a\u5b9a\u65f6\u5668\uff0c\u5728\u5b9a\u65f6\u5668\u8d85\u65f6\u4e4b\u524d\uff0c\u6309\u952e\u4e2d\u65ad\u4f1a\u88ab\u6291\u5236\uff0c\u4ece\u800c\u907f\u514d\u6309\u952e\u4e0e\u4e32\u53e3\u901a\u4fe1\u4e4b\u95f4\u7684\u51b2\u7a81\u3002\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u51b3\u6309\u952e\u4e0e\u4e32\u53e3\u901a\u4fe1\u4e4b\u95f4\u7684\u51b2\u7a81\u95ee\u9898\u3002<\/p>\n
\u786c\u4ef6\u590d\u7528\u662f\u4e00\u79cd\u6bd4\u8f83\u5e38\u7528\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u5b83\u53ef\u4ee5\u6709\u6548\u5730\u907f\u514d\u6309\u952e\u4e0e\u4e32\u53e3\u901a\u4fe1\u4e4b\u95f4\u7684\u51b2\u7a81\u3002\u539f\u7406\u662f\uff0c\u5c06\u6309\u952e\u548c\u4e32\u53e3\u901a\u4fe1\u4f7f\u7528\u540c\u4e00\u4e2a\u786c\u4ef6\u590d\u7528\u63a5\u53e3\uff0c\u5728\u4f7f\u7528\u6309\u952e\u65f6\uff0c\u5c06\u4e32\u53e3\u901a\u4fe1\u7981\u6b62\uff0c\u5728\u4f7f\u7528\u4e32\u53e3\u901a\u4fe1\u65f6\uff0c\u5c06\u6309\u952e\u7981\u6b62\uff0c\u4ece\u800c\u907f\u514d\u6309\u952e\u4e0e\u4e32\u53e3\u901a\u4fe1\u4e4b\u95f4\u7684\u51b2\u7a81\u3002<\/p>\n
\u672c\u6587\u4ecb\u7ecd\u4e86STM32\u6309\u952e\u4e0e\u4e32\u53e3\u51b2\u7a81\u7684\u539f\u56e0\u4ee5\u53ca\u89e3\u51b3\u65b9\u6848\uff0c\u5305\u62ec\u4f7f\u7528\u4e2d\u65ad\u7981\u6b62\u6309\u952e\u3001\u4f7f\u7528\u6309\u952e\u9501\u5b9a\u548c\u4f7f\u7528\u786c\u4ef6\u590d\u7528\u3002<\/strong>\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u51b3STM32\u6309\u952e\u4e0e\u4e32\u53e3\u51b2\u7a81\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" STM32\u6309\u952e\u8ddf\u4e32\u53e3\u51b2\u7a81\u662f\u6307\u5728\u4f7f\u7528STM32\u63a7\u5236\u5668\u5f00\u53d1\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u5982\u679c\u540c\u65f6\u4f7f\u7528\u4e32\u53e3\u901a\u4fe1\u548c\u6309\u952e\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u6309\u952e\u548c\u4e32\u53e3\u901a\u4fe1\u51b2\u7a81\u7684\u95ee\u9898\u3002\u8fd9\u79cd\u95ee\u9898\u53ef\u80fd\u4f1a\u5bfc\u81f4\u7a0b\u5e8f\u51fa\u73b0\u4e0d\u53ef\u9884\u6599\u7684\u884c<\/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-57641","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\/57641","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=57641"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/57641\/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=57641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=57641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=57641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}