{"id":55190,"date":"2025-08-13T18:54:47","date_gmt":"2025-08-13T10:54:47","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/55190.html"},"modified":"2025-08-13T18:54:47","modified_gmt":"2025-08-13T10:54:47","slug":"%e3%80%90freertos%e3%80%91%e5%88%a8%e6%a0%b9%e9%97%ae%e5%ba%951%ef%bc%9a-systick%e5%9c%a8freertos%e4%b8%8a%e5%92%8b%e5%b7%a5%e4%bd%9c%e7%9a%84","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/55190.html","title":{"rendered":"\u3010FreeRTOS\u3011\u5228\u6839\u95ee\u5e951\uff1a SysTick\u5728FreeRTOS\u4e0a\u548b\u5de5\u4f5c\u7684"},"content":{"rendered":"<p>\u00a0 \u00a0 \u6709\u4e9b\u4e8b\u5427&#xff0c;\u4f60\u4e0d\u53bb\u6df1\u7a76&#xff0c;\u8fd8\u771f\u662f\u95f9\u5fc3&#xff01;\u641e\u660e\u767d\u4e86&#xff0c;\u5403\u5230\u5634\u4e86&#xff0c;\u4e5f\u5c31\u6ca1\u6709\u9057\u61be\u4e86\u3002\u4f60\u8bf4\u522b\u4eba\u642d\u5efa\u79fb\u690d\u597d\u7684\u4e1c\u897f&#xff0c;\u4f60\u518d\u53bb\u7814\u7a76\u8fd8\u6709\u4ec0\u4e48\u610f\u4e49\u5462&#xff1f;\u9519&#xff01;\u5403\u900f\u9ad8\u624b\u7684\u4ee3\u7801&#xff0c;\u5c31\u7b49\u4e8e\u6c72\u53d6\u4e86\u9ad8\u7ea7\u6280\u80fd\u7684\u8425\u517b&#xff01;\u8bdd\u4e0d\u591a\u8bf4&#xff0c;\u5f00\u641e&#8230;<\/p>\n<p>\u00a0 \u00a0\u00a0<\/p>\n<p>\u4e00\u3001SysTick\u4ec0\u4e48\u73a9\u610f&#xff1f;<\/p>\n<p>\u00a0 \u00a0 \u5b83\u662fARM\u8bbe\u8ba1CPU\u67b6\u6784\u65f6\u5c31\u5e26\u7684\u4e00\u4e2a\u5b9a\u65f6\u5668&#xff0c;\u5b83\u53ef\u4e0d\u662f\u82af\u7247\u8bbe\u8ba1\u516c\u53f8\u7ed9\u7684TIMx\u554a&#xff0c;\u5b83\u5728CPU\u4e0a\u96c6\u6210\u7684\u8bbe\u5907&#xff0c;\u4e0d\u662f\u7247\u4e0a\u5916\u8bbe&#xff01;<\/p>\n<p>\u00a0 \u00a0 \u300aCortex-M4 Devices Generic User Guide\u300b 4.4\u8282\u4e2d\u5c31\u6709\u63cf\u8ff0&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"378\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250813105444-689c6ef4e26d6.png\" width=\"679\" \/><\/p>\n<\/p>\n<p>\u00a0 \u00a0 SFR:\u63a7\u5236\u4e0e\u72b6\u6001\u57280xE000E010,\u91cd\u8f7d\u6570\u503c\u5bc4\u5b58\u5668\u57280xE000E014,\u5f53\u524d\u8ba1\u6570\u503c\u5bc4\u5b58\u56680xE000E018,\u8fd8\u6709\u4e00\u4e2a\u4fee\u6b63\u5bc4\u5b58\u56680xE000E01C\u3002\u5b83\u4eec\u600e\u4e48\u914d\u7f6e\u7684\u6211\u4eec\u6682\u4e14\u4e0d\u63d0&#xff0c;\u6211\u4eec\u53ea\u8bf4\u5b83\u4eec\u5728\u7cfb\u7edf\u4e2d\u600e\u4e48\u7528\u7684&#xff01;<\/p>\n<\/p>\n<p>\u4e8c\u3001SysTick\u7684\u5b9a\u4e49\u4e0e\u4f7f\u7528<\/p>\n<p>\u00a0 \u00a0 1\u3001SysTick\u5bc4\u5b58\u5668\u7ec4\u7ed3\u6784\u4f53\u58f0\u660e&#xff1a;Core\/CMSIS\/Core\/Include\/core_cm4.h<\/p>\n<p>typedef struct<br \/>\n{<br \/>\n  __IOM uint32_t CTRL;                   \/*!&lt; Offset: 0x000 (R\/W)  SysTick Control and Status Register *\/<br \/>\n  __IOM uint32_t LOAD;                   \/*!&lt; Offset: 0x004 (R\/W)  SysTick Reload Value Register *\/<br \/>\n  __IOM uint32_t VAL;                    \/*!&lt; Offset: 0x008 (R\/W)  SysTick Current Value Register *\/<br \/>\n  __IM  uint32_t CALIB;                  \/*!&lt; Offset: 0x00C (R\/ )  SysTick Calibration Register *\/<br \/>\n} SysTick_Type;<\/p>\n<p>\u00a0 \u00a0 \u770b&#xff0c;\u7ed3\u6784\u4f53\u4e2d\u5b9a\u4e49\u7684\u662fuint32_t&#xff0c;\u6b63\u597d4\u4e2a\u5b57\u8282\u7684offset&#xff0c;\u4e0eSFR\u5728\u5730\u5740\u603b\u7ebf\u4e0a\u7684\u5730\u5740\u5206\u5e03\u6b63\u597d\u5339\u914d&#xff01;<\/p>\n<p>\u00a0 \u00a0__IOM&amp;__IM\u53c8\u662f\u4ec0\u4e48&#xff1f;Core\/CMSIS\/Core\/Include\/core_cm4.h<\/p>\n<p>\/* following defines should be used for structure members *\/<br \/>\n#define     __IM     volatile const      \/*! Defines &#039;read only&#039; structure member permissions *\/<br \/>\n#define     __OM     volatile            \/*! Defines &#039;write only&#039; structure member permissions *\/<br \/>\n#define     __IOM    volatile            \/*! Defines &#039;read \/ write&#039; structure member permissions *\/<\/p>\n<p>\u00a0 \u58f0\u660e\u7684\u662f\u6613\u53d8\u91cf\u5e38\u91cf\u4e0e\u6613\u53d8\u91cf\u3010\u76f8\u5173\u4ee3\u7801\u4e0d\u8981\u88ab\u4f18\u5316\u6389\u554a~~~\u3011<\/p>\n<p>\u00a0 \u00a0 2\u3001SFR\u7ed3\u6784\u4f53\u6307\u5411\u7269\u7406\u5730\u5740\u57fa\u5730\u5740&#xff1a;Core\/CMSIS\/Core\/Include\/core_cm4.h<\/p>\n<p>#define SysTick             ((SysTick_Type   *)     SysTick_BASE  )   \/*!&lt; SysTick configuration struct *\/<\/p>\n<p>SysTick_BASE\u53c8\u662f\u4ec0\u4e48&#xff1f;<\/p>\n<p>&#8230;<br \/>\n#define SCS_BASE            (0xE000E000UL)                            \/*!&lt; System Control Space Base Address *\/<br \/>\n&#8230;<\/p>\n<p>#define SysTick_BASE        (SCS_BASE &#043;  0x0010UL)                    \/*!&lt; SysTick Base Address *\/<br \/>\n&#8230;<\/p>\n<p>\u00a0 \u00a0 \u662f\u4e0d\u662f\u660e\u6717\u4e86&#xff1f;<\/p>\n<p>\u00a0 \u00a0 3\u3001SysTick\u7684\u521d\u59cb\u5316&#xff1a;Core\/CMSIS\/Core\/Include\/core_cm4.h<\/p>\n<p>__STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)<br \/>\n{<br \/>\n  if ((ticks &#8211; 1UL) &gt; SysTick_LOAD_RELOAD_Msk)<br \/>\n  {<br \/>\n    return (1UL);                                                   \/* Reload value impossible *\/<br \/>\n  }<\/p>\n<p>  SysTick-&gt;LOAD  &#061; (uint32_t)(ticks &#8211; 1UL);                         \/* set reload register *\/<br \/>\n  NVIC_SetPriority (SysTick_IRQn, (1UL &lt;&lt; __NVIC_PRIO_BITS) &#8211; 1UL); \/* set Priority for Systick Interrupt *\/<br \/>\n  SysTick-&gt;VAL   &#061; 0UL;                                             \/* Load the SysTick Counter Value *\/<br \/>\n  SysTick-&gt;CTRL  &#061; SysTick_CTRL_CLKSOURCE_Msk |<br \/>\n                   SysTick_CTRL_TICKINT_Msk   |<br \/>\n                   SysTick_CTRL_ENABLE_Msk;                         \/* Enable SysTick IRQ and SysTick Timer *\/<br \/>\n  return (0UL);                                                     \/* Function successful *\/<br \/>\n}<\/p>\n<p>\u00a0 \u00a0 \u901a\u8fc7\u63a7\u5236\u5bc4\u5b58\u5668\u914d\u7f6eSysTick\u7684\u5de5\u4f5c\u6a21\u5f0f&#xff0c;\u901a\u8fc7\u8ba1\u6570\u4e0e\u91cd\u8f7d\u7279\u6b8a\u529f\u80fd\u5bc4\u5b58\u5668\u914d\u7f6e\u521d\u59cb\u4e0e\u91cd\u8f7d\u503c&#xff01;\u5f53\u7136\u8fd8\u6709NVIC\u7684\u4f18\u5148\u7ea7\u914d\u7f6e&#xff01;<\/p>\n<\/p>\n<p>\u00a0 \u00a0\u00a0SysTick_CTRL_CLKSOURCE_Msk \u8fd9\u6837\u7684\u5b8f\u53c8\u662f\u5e72\u4ec0\u4e48\u7684&#xff1f;<\/p>\n<p>\/* SysTick Control \/ Status Register Definitions *\/<br \/>\n#define SysTick_CTRL_COUNTFLAG_Pos         16U                                            \/*!&lt; SysTick CTRL: COUNTFLAG Position *\/<br \/>\n#define SysTick_CTRL_COUNTFLAG_Msk         (1UL &lt;&lt; SysTick_CTRL_COUNTFLAG_Pos)            \/*!&lt; SysTick CTRL: COUNTFLAG Mask *\/<\/p>\n<p>#define SysTick_CTRL_CLKSOURCE_Pos          2U                                            \/*!&lt; SysTick CTRL: CLKSOURCE Position *\/<br \/>\n#define SysTick_CTRL_CLKSOURCE_Msk         (1UL &lt;&lt; SysTick_CTRL_CLKSOURCE_Pos)            \/*!&lt; SysTick CTRL: CLKSOURCE Mask *\/<\/p>\n<p>#define SysTick_CTRL_TICKINT_Pos            1U                                            \/*!&lt; SysTick CTRL: TICKINT Position *\/<br \/>\n#define SysTick_CTRL_TICKINT_Msk           (1UL &lt;&lt; SysTick_CTRL_TICKINT_Pos)              \/*!&lt; SysTick CTRL: TICKINT Mask *\/<\/p>\n<p>#define SysTick_CTRL_ENABLE_Pos             0U                                            \/*!&lt; SysTick CTRL: ENABLE Position *\/<br \/>\n#define SysTick_CTRL_ENABLE_Msk            (1UL \/*&lt;&lt; SysTick_CTRL_ENABLE_Pos*\/)           \/*!&lt; SysTick CTRL: ENABLE Mask *\/<\/p>\n<p>\u00a0 \u00a0 \u5c31\u662fCPU \u7528\u6237\u6307\u5bfc\u624b\u518c\u4e2d\u5bf9SFR\u4e2a\u63a7\u5236\u4f4d\u7ec4\u5408\u7684\u6570\u503c\u5b9a\u4e49\u62bd\u8c61&#xff01;&#xff01;&#xff01;<\/p>\n<p>\u00a0 \u00a0 4\u3001SysTick\u4e0eFreeRTOS\u7684\u5bf9\u63a5&#xff1a;stm32f4xx_hal_cortex.c<\/p>\n<p>uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb)<br \/>\n{<br \/>\n   return SysTick_Config(TicksNumb);<br \/>\n}<\/p>\n<p>\u00a0 \u00a0 \u548b\u6837&#xff0c;\u662f\u4e0d\u662f\u4ece\u786c\u4ef6\u5e95\u5c42\u88ab\u9010\u7ea7\u62bd\u8c61\u51fa\u6765\u4e86&#xff1f;<\/p>\n<p>\u00a0 \u00a0 5\u3001\u5e94\u7528\u53c8\u662f\u600e\u4e48\u521d\u59cb\u5316\u7684\u5462&#xff1f;main.c<\/p>\n<p>void SystemClock_Config(void)<br \/>\n{<br \/>\n    &#8230;<br \/>\n    HAL_SYSTICK_Config(HAL_RCC_GetHCLKFreq() \/ 1000);<br \/>\n    HAL_SYSTICK_CLKSourceConfig(SYSTICK_CLKSOURCE_HCLK);<br \/>\n&#8230;<br \/>\n}<\/p>\n<p>\u00a0 \u00a0 \u662f\u4e0d\u662f\u8c41\u7136\u5f00\u6717\u4e86\u5462&#xff1f;\u5199\u4e86\u8fd9\u4e48\u4e45\u7684SystemClock_Config&#xff0c;\u5230\u5e95\u90fd\u5e72\u4e86\u5565&#xff0c;\u8fd9\u56de\u5fc3\u91cc\u6e05\u695a\u4e86\u4e0d&#xff1f;<\/p>\n<p>\u4e09\u3001\u5f15\u7533<\/p>\n<p>\u00a0 \u00a0 STM32Cube\u5e93\u6574\u4f53\u7684\u5e95\u5c42\u5230HAL\u5c42\u7684\u62bd\u8c61\u8fc7\u7a0b&#xff0c;\u90fd\u7c7b\u4f3c\u4e8e\u4e0a\u8ff0\u7684\u8fc7\u7a0b&#xff0c;\u5b83\u5c01\u88c5\u4e86\u5e95\u5c42\u7684\u786c\u4ef6\u63a7\u5236\u3001\u72b6\u6001\u67e5\u8be2\u4e0e\u6570\u636e\u4ea4\u4e92\u7684\u7ec6\u8282\u8fc7\u7a0b&#xff0c;\u8ba9\u7528\u6237\u4e13\u6ce8\u4e8e\u9876\u5c42\u7684\u8bbe\u8ba1\u4e0e\u5b9e\u73b0&#xff01;\u4f46&#xff0c;\u6709\u4e9b\u65f6\u5019&#xff0c;\u638c\u63e1\u597dHAL\u5c42\u4ee5\u4e0b\u7684\u8bbe\u8ba1\u5b9e\u73b0\u539f\u7406\u8ddf\u91cd\u8981&#xff01;\u4f60\u7ec6\u54c1&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb281\u6b21\uff0c\u70b9\u8d5e7\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u6458\u8981\uff1a\u672c\u6587\u63a2\u8ba8\u4e86ARM Cortex-M\u7cfb\u5217\u4e2d\u7684SysTick\u5b9a\u65f6\u5668\uff0c\u5f3a\u8c03\u6df1\u5165\u7406\u89e3\u9ad8\u624b\u4ee3\u7801\u7684\u91cd\u8981\u6027\u3002SysTick\u662fCPU\u5185\u7f6e\u5b9a\u65f6\u5668\uff0c\u975e\u5916\u8bbe\uff0c\u5176\u5bc4\u5b58\u5668\u5730\u5740\u5728\u300aCortex-M4 Devices Generic User Guide\u300b\u4e2d\u6709\u8be6\u7ec6\u8bf4\u660e\u3002\u6587\u7ae0\u4eceSFR\u58f0\u660e\u3001\u914d\u7f6e\u3001\u521d\u59cb\u5316\u5230\u4e0eFreeRTOS\u5bf9\u63a5\u7b49\u65b9\u9762\u5206\u6790SysTick\u7684\u4f7f\u7528\uff0c\u5e2e\u52a9\u8bfb\u8005\u638c\u63e1\u8fd9\u4e00\u6838\u5fc3\u5b9a\u65f6\u5668\u7684\u5e94\u7528\u6280\u5de7\u3002\uff0899\u5b57\uff09<\/p>\n","protected":false},"author":2,"featured_media":55189,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[5078,5666,5668,217,5667],"topic":[],"class_list":{"0":"post-55190","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-server","8":"tag-freertos","10":"tag-hal","11":"tag-stm32","12":"tag-systick"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010FreeRTOS\u3011\u5228\u6839\u95ee\u5e951\uff1a SysTick\u5728FreeRTOS\u4e0a\u548b\u5de5\u4f5c\u7684 - \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\/55190.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010FreeRTOS\u3011\u5228\u6839\u95ee\u5e951\uff1a SysTick\u5728FreeRTOS\u4e0a\u548b\u5de5\u4f5c\u7684 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb281\u6b21\uff0c\u70b9\u8d5e7\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u6458\u8981\uff1a\u672c\u6587\u63a2\u8ba8\u4e86ARM Cortex-M\u7cfb\u5217\u4e2d\u7684SysTick\u5b9a\u65f6\u5668\uff0c\u5f3a\u8c03\u6df1\u5165\u7406\u89e3\u9ad8\u624b\u4ee3\u7801\u7684\u91cd\u8981\u6027\u3002SysTick\u662fCPU\u5185\u7f6e\u5b9a\u65f6\u5668\uff0c\u975e\u5916\u8bbe\uff0c\u5176\u5bc4\u5b58\u5668\u5730\u5740\u5728\u300aCortex-M4 Devices Generic User Guide\u300b\u4e2d\u6709\u8be6\u7ec6\u8bf4\u660e\u3002\u6587\u7ae0\u4eceSFR\u58f0\u660e\u3001\u914d\u7f6e\u3001\u521d\u59cb\u5316\u5230\u4e0eFreeRTOS\u5bf9\u63a5\u7b49\u65b9\u9762\u5206\u6790SysTick\u7684\u4f7f\u7528\uff0c\u5e2e\u52a9\u8bfb\u8005\u638c\u63e1\u8fd9\u4e00\u6838\u5fc3\u5b9a\u65f6\u5668\u7684\u5e94\u7528\u6280\u5de7\u3002\uff0899\u5b57\uff09\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/55190.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-13T10:54:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250813105444-689c6ef4e26d6.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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/55190.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/55190.html\",\"name\":\"\u3010FreeRTOS\u3011\u5228\u6839\u95ee\u5e951\uff1a SysTick\u5728FreeRTOS\u4e0a\u548b\u5de5\u4f5c\u7684 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-13T10:54:47+00:00\",\"dateModified\":\"2025-08-13T10:54:47+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/55190.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/55190.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/55190.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010FreeRTOS\u3011\u5228\u6839\u95ee\u5e951\uff1a SysTick\u5728FreeRTOS\u4e0a\u548b\u5de5\u4f5c\u7684\"}]},{\"@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":"\u3010FreeRTOS\u3011\u5228\u6839\u95ee\u5e951\uff1a SysTick\u5728FreeRTOS\u4e0a\u548b\u5de5\u4f5c\u7684 - \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\/55190.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010FreeRTOS\u3011\u5228\u6839\u95ee\u5e951\uff1a SysTick\u5728FreeRTOS\u4e0a\u548b\u5de5\u4f5c\u7684 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb281\u6b21\uff0c\u70b9\u8d5e7\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u6458\u8981\uff1a\u672c\u6587\u63a2\u8ba8\u4e86ARM Cortex-M\u7cfb\u5217\u4e2d\u7684SysTick\u5b9a\u65f6\u5668\uff0c\u5f3a\u8c03\u6df1\u5165\u7406\u89e3\u9ad8\u624b\u4ee3\u7801\u7684\u91cd\u8981\u6027\u3002SysTick\u662fCPU\u5185\u7f6e\u5b9a\u65f6\u5668\uff0c\u975e\u5916\u8bbe\uff0c\u5176\u5bc4\u5b58\u5668\u5730\u5740\u5728\u300aCortex-M4 Devices Generic User Guide\u300b\u4e2d\u6709\u8be6\u7ec6\u8bf4\u660e\u3002\u6587\u7ae0\u4eceSFR\u58f0\u660e\u3001\u914d\u7f6e\u3001\u521d\u59cb\u5316\u5230\u4e0eFreeRTOS\u5bf9\u63a5\u7b49\u65b9\u9762\u5206\u6790SysTick\u7684\u4f7f\u7528\uff0c\u5e2e\u52a9\u8bfb\u8005\u638c\u63e1\u8fd9\u4e00\u6838\u5fc3\u5b9a\u65f6\u5668\u7684\u5e94\u7528\u6280\u5de7\u3002\uff0899\u5b57\uff09","og_url":"https:\/\/www.wsisp.com\/helps\/55190.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-13T10:54:47+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250813105444-689c6ef4e26d6.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/55190.html","url":"https:\/\/www.wsisp.com\/helps\/55190.html","name":"\u3010FreeRTOS\u3011\u5228\u6839\u95ee\u5e951\uff1a SysTick\u5728FreeRTOS\u4e0a\u548b\u5de5\u4f5c\u7684 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-13T10:54:47+00:00","dateModified":"2025-08-13T10:54:47+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/55190.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/55190.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/55190.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010FreeRTOS\u3011\u5228\u6839\u95ee\u5e951\uff1a SysTick\u5728FreeRTOS\u4e0a\u548b\u5de5\u4f5c\u7684"}]},{"@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\/55190","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=55190"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/55190\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/55189"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=55190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=55190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=55190"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=55190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}