{"id":62958,"date":"2026-01-21T01:34:41","date_gmt":"2026-01-20T17:34:41","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/62958.html"},"modified":"2026-01-21T01:34:41","modified_gmt":"2026-01-20T17:34:41","slug":"stm32f103%e6%a0%87%e5%87%86%e5%ba%93%e5%b5%8c%e5%85%a5%e5%bc%8f%e6%a8%a1%e6%8b%9f%e5%b9%b3%e5%8f%b0systick%e7%b3%bb%e7%bb%9f%e6%bb%b4%e7%ad%94%e5%ae%9a%e6%97%b6%e5%99%a8%e5%ae%9e%e9%aa%8c","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/62958.html","title":{"rendered":"[STM32F103\u6807\u51c6\u5e93]\u5d4c\u5165\u5f0f\u6a21\u62df\u5e73\u53f0SYSTICK\u7cfb\u7edf\u6ef4\u7b54\u5b9a\u65f6\u5668\u5b9e\u9a8c"},"content":{"rendered":"<p>\u672c\u6b21\u5b9e\u9a8c\u7528\u5230\u5d4c\u5165\u5f0f\u4eff\u771f\u6559\u5b66\u5b9e\u9a8c\u5e73\u53f0&#xff1a;\u5d4c\u5165\u5f0f\u4eff\u771f\u5b9e\u9a8c\u6559\u5b66\u5e73\u53f0<\/p>\n<hr \/>\n<p style=\"margin-left:0;margin-right:0;text-align:start\"><span style=\"color:#24292e\"><span style=\"background-color:#ffffff\">SysTick\u7b80\u4ecb<\/span><\/span><\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\"><span style=\"color:#24292e\"><span style=\"background-color:#ffffff\">\u00a0 SysTick\u5c5e\u4e8eCM3 \u5185\u6838\u4e2d\u7684\u4e00\u4e2a\u5916\u8bbe&#xff0c;\u5185\u5d4c\u5728NVIC\u4e2d&#xff0c;\u662f\u4e00\u4e2a24bit\u7684\u5411\u4e0b\u9012\u51cf\u7684\u8ba1\u6570\u5668&#xff0c;\u8ba1\u6570\u5668\u6bcf\u8ba1\u6570\u4e00\u6b21\u7684\u65f6\u95f4\u4e3a1\/SYSCLK\u3002<\/span><\/span><\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\"><span style=\"color:#24292e\"><span style=\"background-color:#ffffff\">\u00a0 \u4e00\u822c\u6211\u4eec\u8bbe\u7f6e\u7cfb\u7edf\u65f6\u949fSYSCLK\u7b49\u4e8e72M&#xff0c;\u5f53\u91cd\u88c5\u8f7d\u6570\u503c\u5bc4\u5b58\u5668\u7684\u503c\u9012\u51cf\u5230 0 \u7684\u65f6\u5019&#xff0c;\u7cfb\u7edf\u5b9a\u65f6\u5668\u5c31\u4ea7\u751f\u4e00\u6b21\u4e2d\u65ad&#xff0c;\u4ee5\u6b64\u5faa\u73af\u5f80\u590d\u3002<\/span><\/span><\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\"><span style=\"color:#24292e\"><span style=\"background-color:#ffffff\">\u00a0 \u56e0\u4e3aSysTick \u662f\u5c5e\u4e8eCM3 \u5185\u6838\u7684\u5916\u8bbe&#xff0c;\u6240\u4ee5\u6240\u6709\u57fa\u4e8eCM3 \u5185\u6838\u7684\u5355\u7247\u673a\u90fd\u5177\u6709\u8fd9\u4e2a\u7cfb\u7edf\u5b9a\u65f6\u5668&#xff0c;\u4f7f\u5f97\u8f6f\u4ef6\u5728CM3 \u5355\u7247\u673a\u4e2d\u53ef\u4ee5\u5f88\u5bb9\u6613\u7684\u79fb\u690d\u3002<\/span><\/span><\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\"><span style=\"color:#24292e\"><span style=\"background-color:#ffffff\">\u00a0 \u7cfb\u7edf\u5b9a\u65f6\u5668\u4e00\u822c\u7528\u4e8e\u64cd\u4f5c\u7cfb\u7edf&#xff0c;\u7528\u4e8e\u4ea7\u751f\u65f6\u57fa&#xff0c;\u7ef4\u6301\u64cd\u4f5c\u7cfb\u7edf\u7684\u5fc3\u8df3\u3002<\/span><\/span><\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\"><span style=\"color:#24292e\"><span style=\"background-color:#ffffff\">\u4f7f\u7528\u5230\u7684\u5173\u952e\u51fd\u6570&#xff08;\u6807\u51c6\u5e93\u7248\u672c&#xff09;<\/span><\/span><\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\">1.SysTick_Config() <\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\">&#xff08;\u5b83\u4f1a\u6839\u636e\u4f20\u5165\u7684\u53c2\u6570\u8bbe\u7f6e SysTick \u7684\u91cd\u8f7d\u503c&#xff08;RELOAD \u5bc4\u5b58\u5668&#xff09;&#xff0c;\u5f53 SysTick \u5b9a\u65f6\u5668\u4ece\u91cd\u8f7d\u503c\u9012\u51cf\u5230 0 \u65f6&#xff0c;\u5c31\u4f1a\u89e6\u53d1\u4e00\u6b21 SysTick \u4e2d\u65ad&#xff0c;\u540c\u65f6\u81ea\u52a8\u91cd\u88c5\u6570\u503c\u7ee7\u7eed\u8ba1\u6570\u3002&#xff09;<\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\"><span style=\"color:#1c7331\">\u4e2d\u65ad\u5468\u671f\u7684\u8ba1\u7b97\u516c\u5f0f &#061; \u91cd\u8f7d\u503c \/ \u7cfb\u7edf\u6838\u5fc3\u65f6\u949f\u9891\u7387(SystemCoreClock)<\/span><\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\">\u51fd\u6570\u539f\u578b\u4e3a&#xff1a;<\/p>\n<p>static __INLINE uint32_t SysTick_Config(uint32_t ticks)<br \/>\n{<br \/>\n  if (ticks &gt; SysTick_LOAD_RELOAD_Msk)  return (1);            \/* Reload value impossible *\/<\/p>\n<p>  SysTick-&gt;LOAD  &#061; (ticks &amp; SysTick_LOAD_RELOAD_Msk) &#8211; 1;      \/* \u8bbe\u7f6e\u91cd\u88c5\u8f7d\u5bc4\u5b58\u5668\u7684\u503c *\/<br \/>\n  NVIC_SetPriority (SysTick_IRQn, (1&lt;&lt;__NVIC_PRIO_BITS) &#8211; 1);  \/* \u8bbe\u7f6e Cortex-M0 \u5185\u6838\u7684\u7cfb\u7edf\u4e2d\u65ad\u8bbe\u7f6e\u4f18\u5148\u7ea7 *\/<br \/>\n  SysTick-&gt;VAL   &#061; 0;                                          \/* \u52a0\u8f7d SysTick \u8ba1\u6570\u5668\u6570\u503c *\/<br \/>\n  SysTick-&gt;CTRL  &#061; SysTick_CTRL_CLKSOURCE_Msk |<br \/>\n                   SysTick_CTRL_TICKINT_Msk   |<br \/>\n                   SysTick_CTRL_ENABLE_Msk;                    \/* \u542f\u52a8\u6ef4\u7b54\u5b9a\u65f6\u5668\u4e2d\u65ad\u53ca\u6ef4\u7b54\u5b9a\u65f6\u5668*\/<br \/>\n  return (0);                                                  \/* Function successful *\/<br \/>\n} <\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\">2.SysTick_Handler() \u6ef4\u7b54\u5b9a\u65f6\u5668\u7684\u4e2d\u65ad\u670d\u52a1\u51fd\u6570<\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\">\u6211\u4eec\u8981\u5b9e\u73b0\u7684LED\u7ffb\u8f6c\u529f\u80fd\u5c31\u7f16\u5199\u5728\u8fd9\u4e2a\u51fd\u6570\u5f53\u4e2d\u3002<\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\">\u51c6\u5907\u5de5\u4f5c\u5c31\u7eea \u6211\u4eec\u5f00\u59cb \u539f\u795e \u542f\u52a8&#xff01;<\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\">\u6a21\u62df\u7535\u8def\u5982\u56fe \u6211\u4eec\u7684\u76ee\u7684\u662f\u4f7f\u7528\u6ef4\u7b54\u5b9a\u65f6\u5668\u5b9e\u73b0 LED\u706f\u7684\u91cd\u590d\u70b9\u4eae \u7184\u706d \u5f00\u59cb\u7f16\u5199\u4ee3\u7801<\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"479\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260120173439-696fbcaf77bd9.png\" width=\"835\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\">\u4e3b\u51fd\u6570\u4ee3\u7801\u5982\u4e0b&#xff1a;<\/p>\n<p>#include &#034;sys.h&#034;<br \/>\n#include &#034;stm32f10x_conf.h&#034;<br \/>\n#include &#034;delay.h&#034;<br \/>\n#include &#034;led.h&#034;<br \/>\n#include &#034;system_stm32f10x.h&#034;<\/p>\n<p>int main(void)<br \/>\n{<br \/>\n    SysTick_Config(SystemCoreClock\/10);\/*\u6839\u636e\u516c\u5f0f\u8ba1\u7b97 \u6ef4\u7b54\u5b9a\u65f6\u5668<br \/>\n                                    \u8fdb\u5165\u4e2d\u65ad\u5468\u671f\u7684\u65f6\u95f4\u4e3a 100ms*\/<br \/>\n    LED_Init();<br \/>\n    while(1)<br \/>\n    {<br \/>\n    }<br \/>\n}<br \/>\nvoid SysTick_Handler(void)<br \/>\n{<br \/>\n  LED &#061; !LED;\/\/LED\u7535\u5e73\u7ffb\u8f6c<br \/>\n} <\/p>\n<p style=\"margin-left:0;margin-right:0;text-align:start\">led.c\u4ee5\u53ca.h\u4ee3\u7801\u5982\u4e0b<\/p>\n<p>#include &#034;stm32f10x.h&#034;<br \/>\n#include &#034;led.h&#034;<\/p>\n<p>\/\/ \u521d\u59cb\u5316 PA12 \u7528\u4e8e\u63a7\u5236 LED<br \/>\nvoid LED_Init(void)<br \/>\n{<br \/>\n GPIO_InitTypeDef  GPIO_InitStructure;<\/p>\n<p> RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE); <\/p>\n<p> GPIO_InitStructure.GPIO_Pin &#061; GPIO_Pin_12;<br \/>\n GPIO_InitStructure.GPIO_Mode &#061; GPIO_Mode_Out_PP;<br \/>\n GPIO_InitStructure.GPIO_Speed &#061; GPIO_Speed_50MHz;<br \/>\n GPIO_Init(GPIOA, &amp;GPIO_InitStructure);<br \/>\n GPIO_SetBits(GPIOA,GPIO_Pin_12); <\/p>\n<p>}<\/p>\n<p>#ifndef __LED_H<br \/>\n#define __LED_H<br \/>\n#include &#034;stm32f10x.h&#034;<\/p>\n<p>\/\/ LED \u8f93\u51fa\u5b8f\u5b9a\u4e49<br \/>\n#define LED PAout(12) \/\/ PA12<\/p>\n<p>\/\/ \u521d\u59cb\u5316 PA12 \u7528\u4e8e\u63a7\u5236 LED<br \/>\nvoid LED_Init(void);<\/p>\n<p>#endif <\/p>\n<p>\u7f16\u8bd1 \u8fd0\u884c \u73b0\u8c61\u5982\u56fe<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260120173439-696fbcafb5ca7.gif\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6b21\u5b9e\u9a8c\u7528\u5230\u5d4c\u5165\u5f0f\u4eff\u771f\u6559\u5b66\u5b9e\u9a8c\u5e73\u53f0&#xff1a;\u5d4c\u5165\u5f0f\u4eff\u771f\u5b9e\u9a8c\u6559\u5b66\u5e73\u53f0 SysTick\u7b80\u4ecb SysTick\u5c5e\u4e8eCM3 \u5185\u6838\u4e2d\u7684\u4e00\u4e2a\u5916\u8bbe&#xff0c;\u5185\u5d4c\u5728NVIC\u4e2d&#xff0c;\u662f\u4e00\u4e2a24bit\u7684\u5411\u4e0b\u9012\u51cf\u7684\u8ba1\u6570\u5668&#xff0c;\u8ba1\u6570\u5668\u6bcf\u8ba1\u6570\u4e00\u6b21\u7684\u65f6\u95f4\u4e3a1\/SYSCLK\u3002 \u4e00\u822c\u6211\u4eec\u8bbe\u7f6e\u7cfb\u7edf\u65f6\u949fSYSCLK\u7b49\u4e8e72M&#xff0c;\u5f53\u91cd\u88c5\u8f7d\u6570\u503c\u5bc4\u5b58\u5668\u7684\u503c\u9012\u51cf\u5230 0 \u7684\u65f6\u5019&#xff0c;\u7cfb\u7edf\u5b9a\u65f6\u5668\u5c31\u4ea7\u751f\u4e00\u6b21\u4e2d\u65ad&#xff0c;\u4ee5\u6b64\u5faa\u73af\u5f80\u590d\u3002 \u56e0\u4e3aSysTick \u662f\u5c5e\u4e8eCM3<\/p>\n","protected":false},"author":2,"featured_media":62956,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[217,270,269],"topic":[],"class_list":["post-62958","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-stm32","tag-270","tag-269"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[STM32F103\u6807\u51c6\u5e93]\u5d4c\u5165\u5f0f\u6a21\u62df\u5e73\u53f0SYSTICK\u7cfb\u7edf\u6ef4\u7b54\u5b9a\u65f6\u5668\u5b9e\u9a8c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/62958.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[STM32F103\u6807\u51c6\u5e93]\u5d4c\u5165\u5f0f\u6a21\u62df\u5e73\u53f0SYSTICK\u7cfb\u7edf\u6ef4\u7b54\u5b9a\u65f6\u5668\u5b9e\u9a8c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6b21\u5b9e\u9a8c\u7528\u5230\u5d4c\u5165\u5f0f\u4eff\u771f\u6559\u5b66\u5b9e\u9a8c\u5e73\u53f0&#xff1a;\u5d4c\u5165\u5f0f\u4eff\u771f\u5b9e\u9a8c\u6559\u5b66\u5e73\u53f0 SysTick\u7b80\u4ecb SysTick\u5c5e\u4e8eCM3 \u5185\u6838\u4e2d\u7684\u4e00\u4e2a\u5916\u8bbe&#xff0c;\u5185\u5d4c\u5728NVIC\u4e2d&#xff0c;\u662f\u4e00\u4e2a24bit\u7684\u5411\u4e0b\u9012\u51cf\u7684\u8ba1\u6570\u5668&#xff0c;\u8ba1\u6570\u5668\u6bcf\u8ba1\u6570\u4e00\u6b21\u7684\u65f6\u95f4\u4e3a1\/SYSCLK\u3002 \u4e00\u822c\u6211\u4eec\u8bbe\u7f6e\u7cfb\u7edf\u65f6\u949fSYSCLK\u7b49\u4e8e72M&#xff0c;\u5f53\u91cd\u88c5\u8f7d\u6570\u503c\u5bc4\u5b58\u5668\u7684\u503c\u9012\u51cf\u5230 0 \u7684\u65f6\u5019&#xff0c;\u7cfb\u7edf\u5b9a\u65f6\u5668\u5c31\u4ea7\u751f\u4e00\u6b21\u4e2d\u65ad&#xff0c;\u4ee5\u6b64\u5faa\u73af\u5f80\u590d\u3002 \u56e0\u4e3aSysTick \u662f\u5c5e\u4e8eCM3\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/62958.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-20T17:34:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260120173439-696fbcaf77bd9.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/62958.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/62958.html\",\"name\":\"[STM32F103\u6807\u51c6\u5e93]\u5d4c\u5165\u5f0f\u6a21\u62df\u5e73\u53f0SYSTICK\u7cfb\u7edf\u6ef4\u7b54\u5b9a\u65f6\u5668\u5b9e\u9a8c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-20T17:34:41+00:00\",\"dateModified\":\"2026-01-20T17:34:41+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/62958.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/62958.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/62958.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[STM32F103\u6807\u51c6\u5e93]\u5d4c\u5165\u5f0f\u6a21\u62df\u5e73\u53f0SYSTICK\u7cfb\u7edf\u6ef4\u7b54\u5b9a\u65f6\u5668\u5b9e\u9a8c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[STM32F103\u6807\u51c6\u5e93]\u5d4c\u5165\u5f0f\u6a21\u62df\u5e73\u53f0SYSTICK\u7cfb\u7edf\u6ef4\u7b54\u5b9a\u65f6\u5668\u5b9e\u9a8c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/62958.html","og_locale":"zh_CN","og_type":"article","og_title":"[STM32F103\u6807\u51c6\u5e93]\u5d4c\u5165\u5f0f\u6a21\u62df\u5e73\u53f0SYSTICK\u7cfb\u7edf\u6ef4\u7b54\u5b9a\u65f6\u5668\u5b9e\u9a8c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u672c\u6b21\u5b9e\u9a8c\u7528\u5230\u5d4c\u5165\u5f0f\u4eff\u771f\u6559\u5b66\u5b9e\u9a8c\u5e73\u53f0&#xff1a;\u5d4c\u5165\u5f0f\u4eff\u771f\u5b9e\u9a8c\u6559\u5b66\u5e73\u53f0 SysTick\u7b80\u4ecb SysTick\u5c5e\u4e8eCM3 \u5185\u6838\u4e2d\u7684\u4e00\u4e2a\u5916\u8bbe&#xff0c;\u5185\u5d4c\u5728NVIC\u4e2d&#xff0c;\u662f\u4e00\u4e2a24bit\u7684\u5411\u4e0b\u9012\u51cf\u7684\u8ba1\u6570\u5668&#xff0c;\u8ba1\u6570\u5668\u6bcf\u8ba1\u6570\u4e00\u6b21\u7684\u65f6\u95f4\u4e3a1\/SYSCLK\u3002 \u4e00\u822c\u6211\u4eec\u8bbe\u7f6e\u7cfb\u7edf\u65f6\u949fSYSCLK\u7b49\u4e8e72M&#xff0c;\u5f53\u91cd\u88c5\u8f7d\u6570\u503c\u5bc4\u5b58\u5668\u7684\u503c\u9012\u51cf\u5230 0 \u7684\u65f6\u5019&#xff0c;\u7cfb\u7edf\u5b9a\u65f6\u5668\u5c31\u4ea7\u751f\u4e00\u6b21\u4e2d\u65ad&#xff0c;\u4ee5\u6b64\u5faa\u73af\u5f80\u590d\u3002 \u56e0\u4e3aSysTick \u662f\u5c5e\u4e8eCM3","og_url":"https:\/\/www.wsisp.com\/helps\/62958.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-20T17:34:41+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260120173439-696fbcaf77bd9.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/62958.html","url":"https:\/\/www.wsisp.com\/helps\/62958.html","name":"[STM32F103\u6807\u51c6\u5e93]\u5d4c\u5165\u5f0f\u6a21\u62df\u5e73\u53f0SYSTICK\u7cfb\u7edf\u6ef4\u7b54\u5b9a\u65f6\u5668\u5b9e\u9a8c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-20T17:34:41+00:00","dateModified":"2026-01-20T17:34:41+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/62958.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/62958.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/62958.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"[STM32F103\u6807\u51c6\u5e93]\u5d4c\u5165\u5f0f\u6a21\u62df\u5e73\u53f0SYSTICK\u7cfb\u7edf\u6ef4\u7b54\u5b9a\u65f6\u5668\u5b9e\u9a8c"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/62958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=62958"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/62958\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/62956"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=62958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=62958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=62958"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=62958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}