{"id":51326,"date":"2025-08-10T21:15:10","date_gmt":"2025-08-10T13:15:10","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/51326.html"},"modified":"2025-08-10T21:15:10","modified_gmt":"2025-08-10T13:15:10","slug":"%e3%80%90freertos%e3%80%91%e4%bb%bb%e5%8a%a1%e9%97%b4%e9%80%9a%e8%ae%af5%ef%bc%9a%e4%ba%8b%e4%bb%b6%e7%bb%84-event-group","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/51326.html","title":{"rendered":"\u3010FreeRTOS\u3011\u4efb\u52a1\u95f4\u901a\u8baf5\uff1a\u4e8b\u4ef6\u7ec4- Event Group"},"content":{"rendered":"<p>\u00a0 \u00a0 \u548b\u6837\u66f4\u8f7b\u677e\u7684\u7406\u89e3FreeRTOS\u4e2d\u7684\u4e8b\u4ef6\u7ec4&#xff1f;<\/p>\n<p>\u00a0 \u00a0 \u652f\u4ed8\u5b9d\u201c\u96c6\u4e94\u798f\u201d\u6d3b\u52a8\u662f\u4e00\u9879\u5e7f\u53d7\u6b22\u8fce\u7684\u6625\u8282\u4e92\u52a8\u6e38\u620f\u3002\u53c2\u4e0e\u8005\u901a\u8fc7\u5b8c\u6210\u4e0d\u540c\u4efb\u52a1\u83b7\u53d6\u4e94\u7c7b\u798f\u5361&#xff1a;\u7231\u56fd\u798f\u3001\u5bcc\u5f3a\u798f\u3001\u548c\u8c10\u798f\u3001\u53cb\u5584\u798f\u548c\u656c\u4e1a\u798f&#xff0c;\u6bcf\u5f20\u798f\u5361\u5bf9\u5e94\u4e8c\u8fdb\u5236\u7f16\u7801\u4e2d\u7684\u7279\u5b9a\u4f4d\u7f6e&#xff1a;<\/p>\n<ul>\n<li>\u7231\u56fd\u798f&#xff1a;\u4f4d0<\/li>\n<li>\u5bcc\u5f3a\u798f&#xff1a;\u4f4d1<\/li>\n<li>\u548c\u8c10\u798f&#xff1a;\u4f4d2<\/li>\n<li>\u53cb\u5584\u798f&#xff1a;\u4f4d3<\/li>\n<li>\u656c\u4e1a\u798f&#xff1a;\u4f4d4<\/li>\n<\/ul>\n<p>\u00a0 \u00a0 \u53c2\u4e0e\u8005\u6bcf\u6b21\u83b7\u5f97\u4e00\u5f20\u798f\u5361&#xff0c;\u7cfb\u7edf\u4f1a\u81ea\u52a8\u5c06\u5176\u5bf9\u5e94\u7684\u4e8c\u8fdb\u5236\u4f4d\u7f6e1\u3002\u798f\u5361\u83b7\u53d6\u65b9\u5f0f\u591a\u6837&#xff0c;\u5305\u62ec\u626b\u798f\u5b57\u3001\u597d\u53cb\u4e92\u8d60\u3001\u8682\u8681\u68ee\u6797\u4efb\u52a1\u7b49\u3002<\/p>\n<p>\u00a0 \u00a0 \u5f53\u96c6\u9f50\u6240\u6709\u4e94\u5f20\u798f\u5361&#xff08;\u4e8c\u8fdb\u5236\u8868\u793a\u4e3a0b11111&#xff09;\u65f6&#xff0c;\u5373\u53ef\u5728\u652f\u4ed8\u5b9d\u5e73\u53f0\u5151\u6362\u5956\u91d1\u3002\u5151\u6362\u6210\u529f\u540e&#xff0c;\u7cfb\u7edf\u4f1a\u6e05\u7a7a\u5f53\u524d\u798f\u5361\u8bb0\u5f55&#xff08;\u91cd\u7f6e\u4e3a0b00000&#xff09;&#xff0c;\u53c2\u4e0e\u8005\u53ef\u91cd\u65b0\u5f00\u59cb\u65b0\u4e00\u8f6e\u7684\u96c6\u798f\u6d3b\u52a8\u3002<\/p>\n<p>\u00a0 \u00a0 \u4e0a\u9762\u63cf\u8ff0\u7684\u5185\u5bb9&#xff0c;\u5c31\u50cfEventGroup\u4e00\u6837\u3002\u597d\u591a\u4efb\u52a1\u72ec\u7acb\u8fd0\u884c&#xff0c;\u8f93\u51fa\u72b6\u6001\u7ed3\u679c\u5230\u4e8b\u4ef6\u7ec4\u4e2d&#xff0c;\u4e00\u4e2a\u4efb\u52a1\u68c0\u6d4b\u4e8b\u4ef6\u7ec4\u72b6\u6001&#xff0c;\u5f53\u72b6\u6001\u6ee1\u8db3\u6761\u4ef6\u7ec4\u5408\u540e&#xff0c;\u5f00\u59cb\u6267\u884c&#xff0c;\u5e76\u6e05\u7a7a\u76f8\u5173\u4e8b\u4ef6\u7ec4\u72b6\u6001\u4f4d\u3002<\/p>\n<p>\u00a0 \u00a0\u00a0<\/p>\n<h3>\u4e00. \u4e8b\u4ef6\u7ec4\u6982\u8ff0<\/h3>\n<h4>1.1 \u529f\u80fd\u4f5c\u7528<\/h4>\n<p>\u00a0 \u00a0 FreeRTOS\u7684\u4e8b\u4ef6\u7ec4(Event Group)\u662f\u4e00\u79cd\u9ad8\u6548\u7684\u7ebf\u7a0b\u95f4\u901a\u4fe1\u673a\u5236&#xff0c;\u5b83\u5141\u8bb8\u4efb\u52a1\u4e4b\u95f4\u901a\u8fc7\u4e8b\u4ef6\u6807\u5fd7(event flags)\u8fdb\u884c\u540c\u6b65\u548c\u901a\u4fe1\u3002\u4e8b\u4ef6\u7ec4\u7684\u4e3b\u8981\u529f\u80fd\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u591a\u4e8b\u4ef6\u540c\u6b65&#xff1a;\u4e00\u4e2a\u4efb\u52a1\u53ef\u4ee5\u7b49\u5f85\u591a\u4e2a\u4e8b\u4ef6\u4e2d\u7684\u4efb\u610f\u4e00\u4e2a\u6216\u5168\u90e8\u53d1\u751f<\/p>\n<\/li>\n<li>\n<p>\u5e7f\u64ad\u901a\u77e5&#xff1a;\u4e00\u4e2a\u4efb\u52a1\u53ef\u4ee5\u8bbe\u7f6e\u4e8b\u4ef6\u6807\u5fd7&#xff0c;\u540c\u65f6\u5524\u9192\u591a\u4e2a\u7b49\u5f85\u8fd9\u4e9b\u4e8b\u4ef6\u7684\u4efb\u52a1<\/p>\n<\/li>\n<li>\n<p>\u4f4e\u8d44\u6e90\u6d88\u8017&#xff1a;\u76f8\u6bd4\u4f7f\u7528\u591a\u4e2a\u4fe1\u53f7\u91cf\u6216\u6d88\u606f\u961f\u5217&#xff0c;\u4e8b\u4ef6\u7ec4\u66f4\u52a0\u8282\u7701\u5185\u5b58<\/p>\n<\/li>\n<li>\n<p>\u539f\u5b50\u64cd\u4f5c&#xff1a;\u4e8b\u4ef6\u6807\u5fd7\u7684\u8bbe\u7f6e\u548c\u6e05\u9664\u662f\u539f\u5b50\u64cd\u4f5c&#xff0c;\u65e0\u9700\u989d\u5916\u7684\u540c\u6b65\u673a\u5236<\/p>\n<\/li>\n<\/ul>\n<p>\u00a0 \u00a0 \u4e8b\u4ef6\u7ec4\u7279\u522b\u9002\u5408\u4ee5\u4e0b\u573a\u666f&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u4e00\u4e2a\u4efb\u52a1\u9700\u8981\u7b49\u5f85\u591a\u4e2a\u6761\u4ef6\u540c\u65f6\u6ee1\u8db3<\/p>\n<\/li>\n<li>\n<p>\u591a\u4e2a\u4efb\u52a1\u9700\u8981\u7b49\u5f85\u540c\u4e00\u4e2a\u4e8b\u4ef6\u53d1\u751f<\/p>\n<\/li>\n<li>\n<p>\u9700\u8981\u901a\u77e5\u591a\u4e2a\u4efb\u52a1\u67d0\u4e2a\u4e8b\u4ef6\u5df2\u53d1\u751f<\/p>\n<\/li>\n<\/ul>\n<h4>1.2 \u4e8b\u4ef6\u7ec4\u7684\u5b9a\u4e49<\/h4>\n<p>\u00a0 \u00a0 \u5728FreeRTOS\u4e2d&#xff0c;\u4e8b\u4ef6\u7ec4\u7531EventGroupHandle_t\u7c7b\u578b\u7684\u53e5\u67c4\u8868\u793a&#xff0c;\u672c\u8d28\u4e0a\u662f\u4e00\u4e2a\u5305\u542b\u591a\u4e2a\u4e8b\u4ef6\u6807\u5fd7(bit)\u7684\u6570\u636e\u7ed3\u6784\u3002\u6bcf\u4e2a\u4e8b\u4ef6\u6807\u5fd7\u53ef\u4ee5\u770b\u4f5c\u662f\u4e00\u4e2a\u4e8c\u8fdb\u5236\u4fe1\u53f7&#xff0c;\u53ef\u4ee5\u88ab\u8bbe\u7f6e\u6216\u6e05\u9664\u3002<\/p>\n<p>FreeRTOS\u7684\u4e8b\u4ef6\u7ec4\u5b9e\u73b0\u5177\u6709\u4ee5\u4e0b\u7279\u70b9&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6bcf\u4e2a\u4e8b\u4ef6\u7ec4\u5305\u542b24\u4e2a\u53ef\u7528\u7684\u4e8b\u4ef6\u6807\u5fd7(bit)<\/p>\n<\/li>\n<li>\n<p>\u4e8b\u4ef6\u6807\u5fd7\u7f16\u53f7\u4ece0\u5f00\u59cb(\u6700\u4f4e\u6709\u6548\u4f4d)\u523023(\u6700\u9ad8\u6709\u6548\u4f4d)<\/p>\n<\/li>\n<li>\n<p>\u4e8b\u4ef6\u7ec4\u7684\u64cd\u4f5c\u662f\u7ebf\u7a0b\u5b89\u5168\u7684<\/p>\n<\/li>\n<li>\n<p>\u652f\u6301\u4efb\u52a1\u963b\u585e\u7b49\u5f85\u7279\u5b9a\u7684\u4e8b\u4ef6\u7ec4\u5408<\/p>\n<\/li>\n<\/ul>\n<h3>\u4e8c. \u4e8b\u4ef6\u7ec4\u7684\u4f7f\u7528<\/h3>\n<h4>2.1 \u521b\u5efa\u4e8b\u4ef6\u7ec4<\/h4>\n<p>\u00a0 \u00a0 \u5728\u4f7f\u7528\u4e8b\u4ef6\u7ec4\u524d&#xff0c;\u5fc5\u987b\u5148\u521b\u5efa\u5b83&#xff1a;<\/p>\n<p>EventGroupHandle_t xEventGroupCreate(void);<\/p>\n<p>\u00a0 \u00a0 \u6b64\u51fd\u6570\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u4e8b\u4ef6\u7ec4\u5e76\u8fd4\u56de\u5176\u53e5\u67c4\u3002\u5982\u679c\u8fd4\u56deNULL&#xff0c;\u8868\u793a\u521b\u5efa\u5931\u8d25(\u901a\u5e38\u662f\u56e0\u4e3a\u5185\u5b58\u4e0d\u8db3)\u3002<\/p>\n<h4>2.2 \u8bbe\u7f6e\u4e8b\u4ef6\u6807\u5fd7<\/h4>\n<p>\u00a0 \u00a0 \u8bbe\u7f6e\u4e8b\u4ef6\u6807\u5fd7\u6709\u4e24\u79cd\u65b9\u5f0f&#xff1a;<\/p>\n<p>\u00a0 \u00a0 a.\u8bbe\u7f6e\u6307\u5b9abit&#xff1a;<\/p>\n<p>EventBits_t xEventGroupSetBits(EventGroupHandle_t xEventGroup,<br \/>\n                              const EventBits_t uxBitsToSet);<\/p>\n<ul>\n<li>\n<p>xEventGroup: \u4e8b\u4ef6\u7ec4\u53e5\u67c4<\/p>\n<\/li>\n<li>\n<p>uxBitsToSet: \u8981\u8bbe\u7f6e\u7684bit\u63a9\u7801(\u59820x01\u8bbe\u7f6ebit0&#xff0c;0x05\u8bbe\u7f6ebit0\u548cbit2)<\/p>\n<\/li>\n<li>\n<p>\u8fd4\u56de\u503c&#xff1a;\u8bbe\u7f6e\u540e\u7684\u4e8b\u4ef6\u7ec4\u503c<\/p>\n<\/li>\n<\/ul>\n<p>\u00a0 \u00a0 b.\u4eceISR\u4e2d\u8bbe\u7f6ebit&#xff1a;<\/p>\n<p>BaseType_t xEventGroupSetBitsFromISR(EventGroupHandle_t xEventGroup,<br \/>\n                                    const EventBits_t uxBitsToSet,<br \/>\n                                    BaseType_t *pxHigherPriorityTaskWoken);<\/p>\n<ul>\n<li>\n<p>\u53c2\u6570\u4e0exEventGroupSetBits\u7c7b\u4f3c<\/p>\n<\/li>\n<li>\n<p>pxHigherPriorityTaskWoken: \u7528\u4e8e\u6307\u793a\u662f\u5426\u6709\u9ad8\u4f18\u5148\u7ea7\u4efb\u52a1\u88ab\u5524\u9192<\/p>\n<\/li>\n<li>\n<p>\u8fd4\u56depdPASS\u8868\u793a\u6210\u529f&#xff0c;pdFAIL\u8868\u793a\u5931\u8d25<\/p>\n<\/li>\n<\/ul>\n<h4>2.3 \u7b49\u5f85\u4e8b\u4ef6\u6807\u5fd7<\/h4>\n<p>\u00a0 \u00a0 \u4efb\u52a1\u53ef\u4ee5\u7b49\u5f85\u4e00\u4e2a\u6216\u591a\u4e2a\u4e8b\u4ef6\u6807\u5fd7&#xff1a;<\/p>\n<p>EventBits_t xEventGroupWaitBits(const EventGroupHandle_t xEventGroup,<br \/>\n                               const EventBits_t uxBitsToWaitFor,<br \/>\n                               const BaseType_t xClearOnExit,<br \/>\n                               const BaseType_t xWaitForAllBits,<br \/>\n                               TickType_t xTicksToWait);<\/p>\n<ul>\n<li>\n<p>xEventGroup: \u4e8b\u4ef6\u7ec4\u53e5\u67c4<\/p>\n<\/li>\n<li>\n<p>uxBitsToWaitFor: \u8981\u7b49\u5f85\u7684bit\u63a9\u7801<\/p>\n<\/li>\n<li>\n<p>xClearOnExit: \u5982\u679c\u4e3apdTRUE&#xff0c;\u5219\u5728\u8fd4\u56de\u524d\u6e05\u9664\u7b49\u5f85\u7684bit<\/p>\n<\/li>\n<li>\n<p>xWaitForAllBits: \u5982\u679c\u4e3apdTRUE&#xff0c;\u5219\u7b49\u5f85\u6240\u6709\u6307\u5b9abit\u7f6e\u4f4d&#xff1b;\u4e3apdFALSE\u5219\u7b49\u5f85\u4efb\u4e00bit\u7f6e\u4f4d<\/p>\n<\/li>\n<li>\n<p>xTicksToWait: \u7b49\u5f85\u7684\u6700\u5927\u65f6\u95f4(ticks)&#xff0c;portMAX_DELAY\u8868\u793a\u65e0\u9650\u7b49\u5f85<\/p>\n<\/li>\n<li>\n<p>\u8fd4\u56de\u503c&#xff1a;\u6ee1\u8db3\u6761\u4ef6\u7684\u4e8b\u4ef6\u6807\u5fd7(\u53ef\u80fd\u5305\u542b\u672a\u8bf7\u6c42\u7684bit)<\/p>\n<\/li>\n<\/ul>\n<h4>2.4 \u6e05\u9664\u4e8b\u4ef6\u6807\u5fd7<\/h4>\n<p>\u00a0 \u00a0 \u6e05\u9664\u4e8b\u4ef6\u6807\u5fd7&#xff1a;<\/p>\n<p>EventBits_t xEventGroupClearBits(EventGroupHandle_t xEventGroup,<br \/>\n                               const EventBits_t uxBitsToClear);<\/p>\n<ul>\n<li>\n<p>xEventGroup: \u4e8b\u4ef6\u7ec4\u53e5\u67c4<\/p>\n<\/li>\n<li>\n<p>uxBitsToClear: \u8981\u6e05\u9664\u7684bit\u63a9\u7801<\/p>\n<\/li>\n<li>\n<p>\u8fd4\u56de\u503c&#xff1a;\u6e05\u9664\u524d\u7684\u4e8b\u4ef6\u7ec4\u503c<\/p>\n<\/li>\n<\/ul>\n<p>\u00a0 \u00a0 \u4eceISR\u4e2d\u6e05\u9664bit&#xff1a;<\/p>\n<p>EventBits_t xEventGroupClearBitsFromISR(EventGroupHandle_t xEventGroup,<br \/>\n                                      const EventBits_t uxBitsToClear);<\/p>\n<h4>2.5 \u83b7\u53d6\u4e8b\u4ef6\u7ec4\u5f53\u524d\u503c<\/h4>\n<p>EventBits_t xEventGroupGetBits(EventGroupHandle_t xEventGroup);<br \/>\nEventBits_t xEventGroupGetBitsFromISR(EventGroupHandle_t xEventGroup);<\/p>\n<h4>2.6 \u9500\u6bc1\u4e8b\u4ef6\u7ec4<\/h4>\n<p>\u00a0 \u00a0 \u5f53\u4e0d\u518d\u9700\u8981\u4e8b\u4ef6\u7ec4\u65f6&#xff0c;\u5e94\u9500\u6bc1\u5b83\u4ee5\u91ca\u653e\u8d44\u6e90&#xff1a;<\/p>\n<p>void vEventGroupDelete(EventGroupHandle_t xEventGroup);<\/p>\n<p>\u00a0 \u00a0 \u6ce8\u610f&#xff1a;\u9500\u6bc1\u524d\u5e94\u786e\u4fdd\u6ca1\u6709\u4efb\u52a1\u5728\u7b49\u5f85\u8be5\u4e8b\u4ef6\u7ec4\u3002<\/p>\n<h3>\u4e09. \u4e8b\u4ef6\u7ec4\u4f7f\u7528\u793a\u4f8b<\/h3>\n<p>\u00a0 \u00a0 \u4e0b\u9762\u662f\u4e00\u4e2a\u5b8c\u6574\u7684\u4e8b\u4ef6\u7ec4\u4f7f\u7528\u793a\u4f8b&#xff0c;\u5c55\u793a\u4e09\u4e2a\u4efb\u52a1\u5982\u4f55\u4f7f\u7528\u4e8b\u4ef6\u7ec4\u8fdb\u884c\u540c\u6b65&#xff1a;<\/p>\n<p>#include &#034;FreeRTOS.h&#034;<br \/>\n#include &#034;task.h&#034;<br \/>\n#include &#034;event_groups.h&#034;<\/p>\n<p>\/\/ \u5b9a\u4e49\u4e8b\u4ef6\u6807\u5fd7<br \/>\n#define TASK1_BIT (1 &lt;&lt; 0)  \/\/ bit0<br \/>\n#define TASK2_BIT (1 &lt;&lt; 1)  \/\/ bit1<br \/>\n#define ALL_SYNC_BITS (TASK1_BIT | TASK2_BIT)<\/p>\n<p>EventGroupHandle_t xEventGroup;<\/p>\n<p>void vTask1(void *pvParameters) {<br \/>\n    const TickType_t xDelay200ms &#061; pdMS_TO_TICKS(200);<\/p>\n<p>    for(;;) {<br \/>\n        \/\/ \u6a21\u62df\u4efb\u52a11\u7684\u5de5\u4f5c<br \/>\n        vTaskDelay(xDelay200ms);<\/p>\n<p>        printf(&#034;Task1 \u5b8c\u6210\u5de5\u4f5c&#xff0c;\u8bbe\u7f6ebit0\\\\n&#034;);<br \/>\n        xEventGroupSetBits(xEventGroup, TASK1_BIT);<\/p>\n<p>        \/\/ \u7b49\u5f85\u4e24\u4e2a\u4efb\u52a1\u90fd\u5b8c\u6210<br \/>\n        printf(&#034;Task1 \u7b49\u5f85\u4e24\u4e2a\u4efb\u52a1\u5b8c\u6210&#8230;\\\\n&#034;);<br \/>\n        xEventGroupWaitBits(xEventGroup, ALL_SYNC_BITS, pdTRUE, pdTRUE, portMAX_DELAY);<br \/>\n        printf(&#034;Task1: \u4e24\u4e2a\u4efb\u52a1\u90fd\u5df2\u5b8c\u6210!\\\\n&#034;);<br \/>\n    }<br \/>\n}<\/p>\n<p>void vTask2(void *pvParameters) {<br \/>\n    const TickType_t xDelay300ms &#061; pdMS_TO_TICKS(300);<\/p>\n<p>    for(;;) {<br \/>\n        \/\/ \u6a21\u62df\u4efb\u52a12\u7684\u5de5\u4f5c<br \/>\n        vTaskDelay(xDelay300ms);<\/p>\n<p>        printf(&#034;Task2 \u5b8c\u6210\u5de5\u4f5c&#xff0c;\u8bbe\u7f6ebit1\\\\n&#034;);<br \/>\n        xEventGroupSetBits(xEventGroup, TASK2_BIT);<\/p>\n<p>        \/\/ \u7b49\u5f85\u4e24\u4e2a\u4efb\u52a1\u90fd\u5b8c\u6210<br \/>\n        printf(&#034;Task2 \u7b49\u5f85\u4e24\u4e2a\u4efb\u52a1\u5b8c\u6210&#8230;\\\\n&#034;);<br \/>\n        xEventGroupWaitBits(xEventGroup, ALL_SYNC_BITS, pdTRUE, pdTRUE, portMAX_DELAY);<br \/>\n        printf(&#034;Task2: \u4e24\u4e2a\u4efb\u52a1\u90fd\u5df2\u5b8c\u6210!\\\\n&#034;);<br \/>\n    }<br \/>\n}<\/p>\n<p>void vTaskMonitor(void *pvParameters) {<br \/>\n    EventBits_t uxBits;<\/p>\n<p>    for(;;) {<br \/>\n        \/\/ \u7b49\u5f85\u4efb\u4e00\u4e8b\u4ef6\u53d1\u751f<br \/>\n        uxBits &#061; xEventGroupWaitBits(xEventGroup, ALL_SYNC_BITS, pdFALSE, pdFALSE, portMAX_DELAY);<\/p>\n<p>        if((uxBits &amp; TASK1_BIT) !&#061; 0) {<br \/>\n            printf(&#034;Monitor: \u6536\u5230Task1\u5b8c\u6210\u4fe1\u53f7\\\\n&#034;);<br \/>\n        }<\/p>\n<p>        if((uxBits &amp; TASK2_BIT) !&#061; 0) {<br \/>\n            printf(&#034;Monitor: \u6536\u5230Task2\u5b8c\u6210\u4fe1\u53f7\\\\n&#034;);<br \/>\n        }<br \/>\n    }<br \/>\n}<\/p>\n<p>int main(void) {<br \/>\n    \/\/ \u521b\u5efa\u4e8b\u4ef6\u7ec4<br \/>\n    xEventGroup &#061; xEventGroupCreate();<\/p>\n<p>    if(xEventGroup &#061;&#061; NULL) {<br \/>\n        printf(&#034;\u65e0\u6cd5\u521b\u5efa\u4e8b\u4ef6\u7ec4!\\\\n&#034;);<br \/>\n        return 1;<br \/>\n    }<br \/>\n    \/\/ \u521b\u5efa\u4efb\u52a1<br \/>\n    xTaskCreate(vTask1, &#034;Task1&#034;, configMINIMAL_STACK_SIZE, NULL, 2, NULL);<br \/>\n    xTaskCreate(vTask2, &#034;Task2&#034;, configMINIMAL_STACK_SIZE, NULL, 2, NULL);<br \/>\n    xTaskCreate(vTaskMonitor, &#034;Monitor&#034;, configMINIMAL_STACK_SIZE, NULL, 1, NULL);<\/p>\n<p>    \/\/ \u542f\u52a8\u8c03\u5ea6\u5668<br \/>\n    vTaskStartScheduler();<\/p>\n<p>    return 0;<br \/>\n}<\/p>\n<h3>\u56db. \u4e8b\u4ef6\u7ec4\u4f7f\u7528\u6ce8\u610f\u4e8b\u9879<\/h3>\n<h4>\u00a0 \u00a0 4.1 \u8d44\u6e90\u9650\u5236&#xff1a;<\/h4>\n<ul>\n<li>FreeRTOS\u4e8b\u4ef6\u7ec4\u53ea\u670924\u4e2a\u53ef\u7528bit(0-23)<\/li>\n<li>\u4f7f\u7528\u524d\u5e94\u5408\u7406\u89c4\u5212bit\u5206\u914d&#xff0c;\u907f\u514d\u51b2\u7a81<\/li>\n<\/ul>\n<h4>\u00a0 \u00a0 4.2 \u6027\u80fd\u8003\u8651&#xff1a;<\/h4>\n<ul>\n<li>\u4e8b\u4ef6\u7ec4\u64cd\u4f5c\u901a\u5e38\u662f\u539f\u5b50\u64cd\u4f5c&#xff0c;\u4f46\u7b49\u5f85\u64cd\u4f5c\u53ef\u80fd\u5bfc\u81f4\u4efb\u52a1\u963b\u585e<\/li>\n<li>\u5728ISR\u4e2d\u4f7f\u7528FromISR\u7248\u672c\u51fd\u6570<\/li>\n<\/ul>\n<h4>\u00a0 \u00a0 4.3 \u540c\u6b65\u95ee\u9898&#xff1a;<\/h4>\n<ul>\n<li>\u4e8b\u4ef6\u6807\u5fd7\u662f&#034;\u6216&#034;\u7684\u5173\u7cfb&#xff0c;\u591a\u4e2a\u4efb\u52a1\u53ef\u80fd\u540c\u65f6\u54cd\u5e94\u540c\u4e00\u4e8b\u4ef6<\/li>\n<li>\u5bf9\u4e8e\u5173\u952e\u64cd\u4f5c&#xff0c;\u5e94\u7ed3\u5408\u5176\u4ed6\u540c\u6b65\u673a\u5236(\u5982\u4e92\u65a5\u91cf)<\/li>\n<\/ul>\n<h4>\u00a0 \u00a0 4.4 \u5185\u5b58\u7ba1\u7406&#xff1a;<\/h4>\n<ul>\n<li>\u4e0d\u518d\u4f7f\u7528\u7684\u4e8b\u4ef6\u7ec4\u5e94\u53ca\u65f6\u5220\u9664\u4ee5\u907f\u514d\u5185\u5b58\u6cc4\u6f0f<\/li>\n<li>\u786e\u4fdd\u5220\u9664\u4e8b\u4ef6\u7ec4\u65f6\u6ca1\u6709\u4efb\u52a1\u5728\u7b49\u5f85\u5b83<\/li>\n<\/ul>\n<h4>\u00a0 \u00a04. 5 \u8c03\u8bd5\u6280\u5de7&#xff1a;<\/h4>\n<ul>\n<li>\u4e3a\u6bcf\u4e2a\u4e8b\u4ef6bit\u5b9a\u4e49\u6709\u610f\u4e49\u7684\u5b8f\u540d\u79f0<\/li>\n<li>\u5728\u590d\u6742\u7cfb\u7edf\u4e2d&#xff0c;\u8bb0\u5f55\u4e8b\u4ef6\u7ec4\u7684\u8bbe\u7f6e\u548c\u7b49\u5f85\u60c5\u51b5\u6709\u52a9\u4e8e\u8c03\u8bd5<\/li>\n<\/ul>\n<h4>\u00a0 \u00a04. 6 \u8bbe\u8ba1\u5efa\u8bae&#xff1a;<\/h4>\n<ul>\n<li>\u907f\u514d\u8fc7\u5ea6\u4f9d\u8d56\u4e8b\u4ef6\u7ec4\u5b9e\u73b0\u590d\u6742\u903b\u8f91&#xff0c;\u4fdd\u6301\u7b80\u5355<\/li>\n<li>\u8003\u8651\u4e8b\u4ef6\u7ec4\u7684\u751f\u547d\u5468\u671f&#xff0c;\u786e\u4fdd\u521b\u5efa\u548c\u9500\u6bc1\u7684\u65f6\u673a\u6b63\u786e<\/li>\n<li>\u5728\u9ad8\u4f18\u5148\u7ea7\u4efb\u52a1\u4e2d\u8c28\u614e\u4f7f\u7528\u65e0\u9650\u7b49\u5f85&#xff0c;\u53ef\u80fd\u5bfc\u81f4\u4f4e\u4f18\u5148\u7ea7\u4efb\u52a1\u9965\u997f<\/li>\n<\/ul>\n<p>\u00a0 \u00a0 \u5c0f\u7ed3&#xff1a;\u901a\u8fc7\u5408\u7406\u4f7f\u7528\u4e8b\u4ef6\u7ec4&#xff0c;\u53ef\u4ee5\u6709\u6548\u5730\u5b9e\u73b0\u4efb\u52a1\u95f4\u7684\u540c\u6b65\u548c\u901a\u4fe1&#xff0c;\u6784\u5efa\u66f4\u52a0\u6e05\u6670\u9ad8\u6548\u7684FreeRTOS\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e35\u6b21\uff0c\u6536\u85cf35\u6b21\u3002\u672c\u6587\u901a\u8fc7\u652f\u4ed8\u5b9d&quot;\u96c6\u4e94\u798f&quot;\u6d3b\u52a8\u7c7b\u6bd4\uff0c\u5f62\u8c61\u8bb2\u89e3FreeRTOS\u4e8b\u4ef6\u7ec4\u673a\u5236\u3002\u4e8b\u4ef6\u7ec4\u662f\u4e00\u79cd\u9ad8\u6548\u7684\u7ebf\u7a0b\u901a\u4fe1\u65b9\u5f0f\uff0c\u901a\u8fc724\u4e2a\u4e8c\u8fdb\u5236\u4f4d\u5b9e\u73b0\u4efb\u52a1\u540c\u6b65\u548c\u901a\u77e5\u3002\u6587\u7ae0\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u4e8b\u4ef6\u7ec4\u7684\u521b\u5efa\u3001\u8bbe\u7f6e\/\u6e05\u9664\u4e8b\u4ef6\u4f4d\u3001\u7b49\u5f85\u4e8b\u4ef6\u7b49\u6838\u5fc3API\uff0c\u5e76\u63d0\u4f9b\u4e86\u5b8c\u6574\u793a\u4f8b\u4ee3\u7801\u5c55\u793a\u591a\u4efb\u52a1\u540c\u6b65\u5b9e\u73b0\u3002\u6700\u540e\u603b\u7ed3\u4e86\u4f7f\u7528\u6ce8\u610f\u4e8b\u9879\uff0c\u5305\u62ec\u8d44\u6e90\u9650\u5236\u3001\u6027\u80fd\u4f18\u5316\u548c\u8c03\u8bd5\u6280\u5de7\u7b49\u3002\u4e8b\u4ef6\u7ec4\u7279\u522b\u9002\u5408\u9700\u8981\u7b49\u5f85\u591a\u6761\u4ef6\u89e6\u53d1\u6216\u5e7f\u64ad\u901a\u77e5\u7684\u573a\u666f\uff0c\u5408\u7406\u4f7f\u7528\u53ef\u663e\u8457\u63d0\u5347\u7cfb\u7edf\u6548\u7387\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[5080,5078,5081,5079],"topic":[],"class_list":["post-51326","post","type-post","status-publish","format-standard","hentry","category-server","tag-eventgroup","tag-freertos","tag-ipc","tag-task"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010FreeRTOS\u3011\u4efb\u52a1\u95f4\u901a\u8baf5\uff1a\u4e8b\u4ef6\u7ec4- Event Group - \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\/51326.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010FreeRTOS\u3011\u4efb\u52a1\u95f4\u901a\u8baf5\uff1a\u4e8b\u4ef6\u7ec4- Event Group - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e35\u6b21\uff0c\u6536\u85cf35\u6b21\u3002\u672c\u6587\u901a\u8fc7\u652f\u4ed8\u5b9d&quot;\u96c6\u4e94\u798f&quot;\u6d3b\u52a8\u7c7b\u6bd4\uff0c\u5f62\u8c61\u8bb2\u89e3FreeRTOS\u4e8b\u4ef6\u7ec4\u673a\u5236\u3002\u4e8b\u4ef6\u7ec4\u662f\u4e00\u79cd\u9ad8\u6548\u7684\u7ebf\u7a0b\u901a\u4fe1\u65b9\u5f0f\uff0c\u901a\u8fc724\u4e2a\u4e8c\u8fdb\u5236\u4f4d\u5b9e\u73b0\u4efb\u52a1\u540c\u6b65\u548c\u901a\u77e5\u3002\u6587\u7ae0\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u4e8b\u4ef6\u7ec4\u7684\u521b\u5efa\u3001\u8bbe\u7f6e\/\u6e05\u9664\u4e8b\u4ef6\u4f4d\u3001\u7b49\u5f85\u4e8b\u4ef6\u7b49\u6838\u5fc3API\uff0c\u5e76\u63d0\u4f9b\u4e86\u5b8c\u6574\u793a\u4f8b\u4ee3\u7801\u5c55\u793a\u591a\u4efb\u52a1\u540c\u6b65\u5b9e\u73b0\u3002\u6700\u540e\u603b\u7ed3\u4e86\u4f7f\u7528\u6ce8\u610f\u4e8b\u9879\uff0c\u5305\u62ec\u8d44\u6e90\u9650\u5236\u3001\u6027\u80fd\u4f18\u5316\u548c\u8c03\u8bd5\u6280\u5de7\u7b49\u3002\u4e8b\u4ef6\u7ec4\u7279\u522b\u9002\u5408\u9700\u8981\u7b49\u5f85\u591a\u6761\u4ef6\u89e6\u53d1\u6216\u5e7f\u64ad\u901a\u77e5\u7684\u573a\u666f\uff0c\u5408\u7406\u4f7f\u7528\u53ef\u663e\u8457\u63d0\u5347\u7cfb\u7edf\u6548\u7387\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/51326.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-10T13:15:10+00:00\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/51326.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/51326.html\",\"name\":\"\u3010FreeRTOS\u3011\u4efb\u52a1\u95f4\u901a\u8baf5\uff1a\u4e8b\u4ef6\u7ec4- Event Group - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-10T13:15:10+00:00\",\"dateModified\":\"2025-08-10T13:15:10+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/51326.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/51326.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/51326.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010FreeRTOS\u3011\u4efb\u52a1\u95f4\u901a\u8baf5\uff1a\u4e8b\u4ef6\u7ec4- Event Group\"}]},{\"@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\u4efb\u52a1\u95f4\u901a\u8baf5\uff1a\u4e8b\u4ef6\u7ec4- Event Group - \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\/51326.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010FreeRTOS\u3011\u4efb\u52a1\u95f4\u901a\u8baf5\uff1a\u4e8b\u4ef6\u7ec4- Event Group - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e35\u6b21\uff0c\u6536\u85cf35\u6b21\u3002\u672c\u6587\u901a\u8fc7\u652f\u4ed8\u5b9d&quot;\u96c6\u4e94\u798f&quot;\u6d3b\u52a8\u7c7b\u6bd4\uff0c\u5f62\u8c61\u8bb2\u89e3FreeRTOS\u4e8b\u4ef6\u7ec4\u673a\u5236\u3002\u4e8b\u4ef6\u7ec4\u662f\u4e00\u79cd\u9ad8\u6548\u7684\u7ebf\u7a0b\u901a\u4fe1\u65b9\u5f0f\uff0c\u901a\u8fc724\u4e2a\u4e8c\u8fdb\u5236\u4f4d\u5b9e\u73b0\u4efb\u52a1\u540c\u6b65\u548c\u901a\u77e5\u3002\u6587\u7ae0\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u4e8b\u4ef6\u7ec4\u7684\u521b\u5efa\u3001\u8bbe\u7f6e\/\u6e05\u9664\u4e8b\u4ef6\u4f4d\u3001\u7b49\u5f85\u4e8b\u4ef6\u7b49\u6838\u5fc3API\uff0c\u5e76\u63d0\u4f9b\u4e86\u5b8c\u6574\u793a\u4f8b\u4ee3\u7801\u5c55\u793a\u591a\u4efb\u52a1\u540c\u6b65\u5b9e\u73b0\u3002\u6700\u540e\u603b\u7ed3\u4e86\u4f7f\u7528\u6ce8\u610f\u4e8b\u9879\uff0c\u5305\u62ec\u8d44\u6e90\u9650\u5236\u3001\u6027\u80fd\u4f18\u5316\u548c\u8c03\u8bd5\u6280\u5de7\u7b49\u3002\u4e8b\u4ef6\u7ec4\u7279\u522b\u9002\u5408\u9700\u8981\u7b49\u5f85\u591a\u6761\u4ef6\u89e6\u53d1\u6216\u5e7f\u64ad\u901a\u77e5\u7684\u573a\u666f\uff0c\u5408\u7406\u4f7f\u7528\u53ef\u663e\u8457\u63d0\u5347\u7cfb\u7edf\u6548\u7387\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/51326.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-10T13:15:10+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/51326.html","url":"https:\/\/www.wsisp.com\/helps\/51326.html","name":"\u3010FreeRTOS\u3011\u4efb\u52a1\u95f4\u901a\u8baf5\uff1a\u4e8b\u4ef6\u7ec4- Event Group - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-10T13:15:10+00:00","dateModified":"2025-08-10T13:15:10+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/51326.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/51326.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/51326.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010FreeRTOS\u3011\u4efb\u52a1\u95f4\u901a\u8baf5\uff1a\u4e8b\u4ef6\u7ec4- Event Group"}]},{"@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\/51326","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=51326"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/51326\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=51326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=51326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=51326"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=51326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}