{"id":96729,"date":"2026-08-28T09:00:58","date_gmt":"2026-08-28T01:00:58","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/96729.html"},"modified":"2026-08-28T09:00:58","modified_gmt":"2026-08-28T01:00:58","slug":"3-stm32%e5%af%84%e5%ad%98%e5%99%a8%e7%82%b9%e7%81%af%e5%ae%9e%e6%88%98%ef%bc%9a%e4%bb%8e%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99%e5%88%b0gpio%e9%85%8d%e7%bd%ae%e5%85%a8%e8%a7%a3%e6%9e%90","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/96729.html","title":{"rendered":"3.STM32\u5bc4\u5b58\u5668\u70b9\u706f\u5b9e\u6218\uff1a\u4ece\u547d\u540d\u89c4\u5219\u5230GPIO\u914d\u7f6e\u5168\u89e3\u6790"},"content":{"rendered":"<p>\u5f15\u8a00&#xff1a;\u672c\u6587\u9762\u5411 STM32 \u521d\u5b66\u8005\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1\u5165\u95e8\u8005&#xff0c;\u65e8\u5728\u901a\u8fc7\u4e00\u4e2a\u5b8c\u6574\u7684\u300c\u70b9\u4eae LED\u300d\u5b9e\u6218\u9879\u76ee&#xff0c;\u5e2e\u52a9\u8bfb\u8005\u7406\u89e3 STM32 \u7684\u547d\u540d\u89c4\u5219\u3001GPIO \u8f93\u5165\u8f93\u51fa\u6a21\u5f0f\u4ee5\u53ca\u5bc4\u5b58\u5668\u914d\u7f6e\u65b9\u6cd5\u3002\u6587\u7ae0\u4ece\u57fa\u7840\u6982\u5ff5\u8bb2\u8d77&#xff0c;\u9010\u6b65\u6df1\u5165\u5230\u6570\u636e\u624b\u518c\u67e5\u9605\u3001\u5bc4\u5b58\u5668\u64cd\u4f5c\u548c\u4ee3\u7801\u5b9e\u73b0&#xff0c;\u6700\u7ec8\u5e26\u9886\u8bfb\u8005\u5b8c\u6210\u4ece\u539f\u7406\u5206\u6790\u5230\u5b9e\u9645\u70b9\u706f\u7684\u5168\u8fc7\u7a0b\u3002\u9605\u8bfb\u672c\u6587\u540e&#xff0c;\u4f60\u5c06\u638c\u63e1\u4f7f\u7528\u5bc4\u5b58\u5668\u76f4\u63a5\u63a7\u5236 STM32 GPIO \u7684\u6838\u5fc3\u65b9\u6cd5&#xff0c;\u4e3a\u540e\u7eed\u5b66\u4e60\u66f4\u590d\u6742\u7684\u5d4c\u5165\u5f0f\u5f00\u53d1\u6253\u4e0b\u575a\u5b9e\u57fa\u7840\u3002<\/p>\n<h3>\u4e00\u3001STM32\u547d\u540d\u89c4\u5219<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"642\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010049-6a90ddc1ce237.png\" width=\"489\" \/><\/p>\n<p>1\u3001\u4ea7\u54c1\u7cfb\u5217<br \/>\nSTM32 \u8868\u793a ST \u516c\u53f8\u54c1\u724c\u4e0b Cortex-Mx \u5e73\u53f0\u67b6\u6784\u7684 32 \u4f4d\u5904\u7406\u5668\u7cfb\u5217<\/p>\n<p>2\u3001\u4ea7\u54c1\u7c7b\u578b<br \/>\nF&#xff1a;\u57fa\u7840\u578b&#xff0c;\u901a\u7528\u578b<br \/>\nA&#xff1a;\u6c7d\u8f66\u7ea7\u522b<br \/>\nL&#xff1a;\u4f4e\u529f\u8017<br \/>\nS&#xff1a;\u6807\u51c6\u578b<br \/>\nT&#xff1a;\u89e6\u6478\u611f\u5e94<br \/>\nW&#xff1a;\u65e0\u7ebf\u4ea7\u54c1<br \/>\nG&#xff1a;F \u7684\u5347\u7ea7\u6b3e&#xff0c;\u540c\u7b49\u8d44\u6e90\u7684 F1\/3\/4 \u82af\u7247\u63d0\u4f9b\u66f4\u591a\u7684\u589e\u5f3a\u578b\u5916\u8bbe<br \/>\nC&#xff1a;\u4f4e\u6210\u672c&#xff0c;\u9ad8\u6027\u4ef7\u6bd4<\/p>\n<p>3\u3001\u4ea7\u54c1\u7279\u5b9a\u529f\u80fd-\u5b50\u7cfb\u5217<br \/>\n050&#xff1a;ARM Cortex-M0 \u5185\u6838&#xff0c;<br \/>\n051&#xff1a;ARM Cortex-M0 \u5185\u6838&#xff0c;\u5165\u95e8\u7ea7<br \/>\n100&#xff1a;ARM Cortex-M3 \u5185\u6838&#xff0c;\u8d85\u503c\u578b&#xff0c;\u5916\u8bbe\u8d44\u6e90\u76f8\u5bf9\u8f83\u5c11<br \/>\n101&#xff1a;ARM Cortex-M3 \u5185\u6838&#xff0c;\u57fa\u672c\u578b&#xff0c;<br \/>\n102&#xff1a;ARM Cortex-M3 \u5185\u6838&#xff0c;USB<br \/>\n103&#xff1a;ARM Cortex-M3 \u5185\u6838&#xff0c;\u589e\u5f3a\u578b&#xff0c;\u542b USB<br \/>\n303&#xff1a;\u662f 103 \u7684\u5347\u7ea7\u7248&#xff0c;\u5e26 DSP \u548c\u6a21\u62df\u5916\u8bbe<br \/>\n105&#xff1a;ARM Cortex-M3 \u5185\u6838&#xff0c;USB \u4e92\u8054\u7f51\u578b<br \/>\n107&#xff1a;ARM Cortex-M3 \u5185\u6838&#xff0c;USB \u4e92\u8054\u7f51\u578b&#043;\u4ee5\u592a\u7f51\u578b<br \/>\n108&#xff1a;ARM Cortex-M3 \u5185\u6838&#xff0c;IEEE802.15.4 \u6807\u51c6<br \/>\n151&#xff1a;ARM Cortex-M3 \u5185\u6838&#xff0c;\u65e0 LCD \u8d44\u6e90<br \/>\n152\/162&#xff1a;ARM Cortex-M3 \u5185\u6838&#xff0c;LCD \u8d44\u6e90<br \/>\n407&#xff1a;ARM Cortex-M4 \u5185\u6838\u9ad8\u6027\u80fd&#xff0c;\u5e26 DSP \u548c\u6d6e\u70b9\u8fd0\u7b97<br \/>\n415\/417&#xff1a;ARM Cortex-M4 \u5185\u6838\u9ad8\u6027\u80fd<\/p>\n<p>4\u3001\u82af\u7247\u5f15\u811a\u6570\u91cf<br \/>\nD-&gt;14, F-&gt;20, E-&gt;25&amp;24, G-&gt;28, K-&gt;32, T-&gt;36, H-&gt;40, S-&gt;44, C-&gt;48&amp;49;<br \/>\nU-&gt;63, R-&gt;64&amp;66; J-&gt;72; M-&gt;80; O-&gt;90; V-&gt;100; Q-&gt;132; Z-&gt;144; A-&gt;169;<br \/>\nI-&gt;176&amp;176&#043;25; B-&gt;208; N-&gt;216; X-&gt;256;<br \/>\n\u6c7d\u8f66\u7ea7<br \/>\n8-&gt;48<br \/>\n9-&gt;64<br \/>\nA-&gt;80<\/p>\n<p>5\u3001\u95ea\u5b58\u5bb9\u91cf<br \/>\n0 &#8211;&gt; 1KB; 1 &#8211;&gt; 2KB; 2 &#8211;&gt; 4KB; 3 &#8211;&gt; 8KB; 4 &#8211;&gt; 16KB; 5 &#8211;&gt; 25KB; 6 &#8211;&gt; 32KB;<br \/>\n7 &#8211;&gt; 48KB; 8 &#8211;&gt; 64KB; 9 &#8211;&gt; 72KB; A &#8211;&gt; 96KB; B &#8211;&gt; 128KB; Z &#8211;&gt; 192KB;<br \/>\nC &#8211;&gt; 256KB; D &#8211;&gt; 384KB; E &#8211;&gt; 512KB; F &#8211;&gt; 768KB; G &#8211;&gt; 1024KB;<br \/>\nH &#8211;&gt; 1536KB; I &#8211;&gt; 2048KB;<\/p>\n<p>6\u3001\u5c01\u88c5\u7c7b\u578b<br \/>\nB- plastic DIP<br \/>\nD- ceramic DIP<br \/>\nG- ceramic QFP<br \/>\nH-LFBGA\/TFBGA<br \/>\nI-UFBGA pitch 0.5mm<br \/>\nJ-UFBGA pitch 0.8mm<br \/>\nK-UFBGA pitch 0.65mm<br \/>\nM-plastic SOP,SO<br \/>\nP-TSSOP<br \/>\nQ-plastic QFP<br \/>\nT-QFP<br \/>\nU-UFQFPN<br \/>\nV-VFQFPN<br \/>\nY-WLCSP<\/p>\n<p>7\u3001\u5de5\u4f5c\u6e29\u5ea6<br \/>\n6&amp;A : -40~85\u2103&#xff1b;<br \/>\n7&amp;B : -40~105\u2103&#xff1b;<br \/>\n3&amp;C : -40~125\u2103&#xff1b;<br \/>\nD : -40~150\u2103&#xff1b;<br \/>\n\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<br \/>\n\u4ee5\u4e0a\u6587\u672c\u4e3aCSDN\u535a\u4e3b\u300cJonathan_NYF\u300d\u7684\u539f\u521b\u6587\u7ae0\u3002<br \/>\n\u539f\u6587\u94fe\u63a5&#xff1a;https:\/\/blog.csdn.net\/qq_39747958\/article\/details\/134931252<\/p>\n<p>\u6ce8\u610f&#xff1a;\u5982\u6709\u9700\u8981\u66f4\u8be6\u7ec6\u7684\u8bf4\u660e\u8bf7\u79fb\u6b65\u8be5\u535a\u4e3b\u6587\u7ae0&#xff1b;<\/p>\n<h3>\u4e8c\u3001\u70b9\u4eae\u5b66\u6d77\u7684\u90a3\u76cf\u706f<\/h3>\n<p>\u7535\u8def\u53ca\u57fa\u7840\u5206\u6790<br \/>\n<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"583\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010050-6a90ddc24993d.png\" width=\"1578\" \/><\/p>\n<p>\u4efb\u52a1\u9700\u6c42&#xff1a;\u70b9\u4eae\u53d1\u5149\u4e8c\u6781\u7ba1<br \/>\n\u9700\u8981PC13\u5f15\u811a\u8f93\u51fa\u9ad8\u7535\u5e731&#xff1b;<\/p>\n<h3>\u4e09\u3001\u6839\u636e\u4efb\u52a1\u9700\u6c42\u67e5\u770b\u6570\u636e\u624b\u518c<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"311\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010050-6a90ddc2b004e.png\" width=\"414\" \/><\/p>\n<p>\u4e0b\u9762\u6211\u4eec\u5148\u6765\u5206\u6790\u4e00\u4e0b\u57fa\u672c\u8f93\u5165\u8f93\u51fa\u6a21\u5f0f&#xff1b;<\/p>\n<h3>\u8f93\u5165\u6a21\u5f0f<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1079\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010050-6a90ddc2c77b2.png\" width=\"2328\" \/><\/p>\n<h4>\u6d6e\u7a7a\u8f93\u5165<\/h4>\n<p>\u4f18\u70b9&#xff1a;\u7535\u5e73\u5b8c\u5168\u7531\u5916\u90e8\u51b3\u5b9a<\/p>\n<p>\u7f3a\u70b9&#xff1a;\u5f53\u5916\u90e8\u7535\u5e73\u4e0d\u7a33\u5b9a\u65f6&#xff0c;\u5bf9\u7cfb\u7edf\u662f\u707e\u96be\u6027\u7684<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"755\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010051-6a90ddc3edcb1.png\" width=\"2090\" \/><\/p>\n<p>\u81ea\u884c\u5728\u5355\u7247\u673a\u5916\u90e8\u63a5\u4e00\u4e2a\u4e0a\u62c9\u7535\u963b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"991\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010052-6a90ddc4b9af8.png\" width=\"2393\" \/><\/p>\n<h4>\u4e0a\u62c9\u8f93\u5165<\/h4>\n<p>\u5f53\u5916\u90e8\u7535\u8def\u7535\u538b\u4e0d\u7a33\u5b9a\u65f6&#xff0c;\u6253\u5f00\u4e0a\u62c9\u7535\u963b&#xff08;MCU\u5185\u90e8\u63d0\u4f9b&#xff09;\u53ef\u63d0\u4f9b\u4e00\u4e2a\u7a33\u5b9a\u7684\u9ad8\u7535\u5e73<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"522\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010053-6a90ddc5b5b26.png\" width=\"1329\" \/><\/p>\n<h4>\u4e0b\u62c9\u8f93\u5165<\/h4>\n<p>\u5f53\u5916\u90e8\u7535\u8def\u63d0\u4f9b\u7535\u538b\u65f6&#xff0c;\u6253\u5f00\u4e0b\u62c9\u7535\u963b\u53ef\u63d0\u4f9b\u4e00\u4e2a\u7a33\u5b9a\u7684\u4f4e\u7535\u5e73<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"547\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010054-6a90ddc602514.png\" width=\"1372\" \/><\/p>\n<h4>\u6a21\u62df\u8f93\u5165<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"563\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010054-6a90ddc64747d.png\" width=\"1214\" \/><\/p>\n<h3>\u8f93\u51fa<\/h3>\n<h4>\u63a8\u633d\u8f93\u51fa<\/h4>\n<h5>&#xff08;\u8f93\u51fa\u6570\u636e\u5bc4\u5b58\u5668\u7f6e\u4e00\u5219IO\u53e3\u7f6e\u4e00&#xff1b;\u53cd\u4e4b\u7f6e\u96f6&#xff09;<\/h5>\n<p>P-MOS&#xff08;\u6805\u6781\u4f4e\u7535\u5e73\u5bfc\u901a&#xff09;\u5904\u4e8e\u53ef\u5bfc\u901a\u7684\u72b6\u6001&#xff1b;\u6b64\u65f6IO\u53e3\u63a5vdd&#xff08;\u9ad8\u7535\u5e73&#xff09;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"572\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010054-6a90ddc68e2b0.png\" width=\"1318\" \/><\/p>\n<p>N-MOS&#xff08;\u6805\u6781\u9ad8\u7535\u5e73\u5bfc\u901a&#xff09;\u5904\u4e8e\u53ef\u5bfc\u901a\u7684\u72b6\u6001&#xff1b;\u6b64\u65f6IO\u53e3\u63a5vss&#xff08;\u4f4e\u7535\u5e73&#xff09;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"636\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010054-6a90ddc6d6a2b.png\" width=\"1184\" \/><\/p>\n<h4>\u5f00\u6f0f\u8f93\u51fa<\/h4>\n<p>P-MOS\u4e0d\u5de5\u4f5c<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"508\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010055-6a90ddc732122.png\" width=\"1025\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"618\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010055-6a90ddc75ed33.png\" width=\"1186\" \/><\/p>\n<p>\u5f00\u6f0f\u672c\u8eab\u4e0d\u80fd\u8f93\u51fa\u9ad8\u7535\u5e73&#xff0c;\u4f46\u5982\u679c\u60f3\u8f93\u51fa\u7684\u8bdd<\/p>\n<p>\u53ef\u4f7f\u7528\u6253\u5f00\u5185\u90e8\u4e0a\u62c9\u6216\u8005\u5916\u63a5\u4e0a\u62c9\u7535\u963b\u5b9e\u73b0&#xff0c;\u5916\u63a5\u8f93\u51fa\u7535\u5e73\u66f4\u52a0\u7075\u6d3b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"595\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010055-6a90ddc7a93d2.png\" width=\"1390\" \/><\/p>\n<h4>\u590d\u7528\u5f00\u6f0f<\/h4>\n<h4>\u590d\u7528\u63a8\u633d<\/h4>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u5171\u516b\u79cd\u8f93\u5165\u8f93\u51fa\u6a21\u5f0f<\/p>\n<p>\u6d6e\u7a7a\u8f93\u5165<\/p>\n<p>\u4e0a\u62c9\u8f93\u5165<\/p>\n<p>\u4e0b\u62c9\u8f93\u5165<\/p>\n<p>\u6a21\u62df\u8f93\u5165<\/p>\n<p>\u63a8\u633d\u8f93\u51fa<\/p>\n<p>\u5f00\u6f0f\u8f93\u51fa<\/p>\n<p>\u590d\u7528\u63a8\u633d<\/p>\n<p>\u590d\u7528\u5f00\u6f0f<\/p>\n<\/p>\n<p>\u6839\u636e\u672c\u6b21\u9879\u76ee\u9700\u6c42\u627e\u5230\u5bf9\u5e94\u5f00\u53d1\u7528\u5230\u7684\u5f15\u811a&#xff08;\u672c\u6b21\u4ee5PC2\u4e3a\u4f8b&#xff09;&#xff0c;\u6839\u636e\u6570\u636e\u624b\u518c\u6765\u914d\u7f6e\u5f15\u811a&#xff1b;<\/p>\n<h4>1.\u91c7\u7528\u914d\u7f6e\u5bc4\u5b58\u5668\u65b9\u5f0f\u5b8c\u6210&#xff1b;<\/h4>\n<p>\u8981\u64cd\u4f5c\u5bc4\u5b58\u5668\u76f4\u63a5\u63a7\u5236&#xff0c;\u9996\u5148&#xff0c;\u5148\u53c2\u8003\u6570\u636e\u624b\u518c\u770b\u770b\u70b9\u4eaeLED\u9700\u8981\u8fdb\u884c\u4ec0\u4e48\u914d\u7f6e&#xff1b;<\/p>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u7406\u89e3&#xff0c;\u76f4\u63a5\u622a\u56fe\u653e\u5230\u6b64\u5904&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1251\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010055-6a90ddc7f0b20.png\" width=\"1142\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"620\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010056-6a90ddc87ca63.png\" width=\"1282\" \/><\/p>\n<h4>\u70b9\u706f\u64cd\u4f5c\u6b65\u9aa4&#xff1a;<\/h4>\n<p>1\u3001\u770b\u5b9e\u7269\u627e\u81ea\u5df1\u60f3\u70b9\u4eae\u7684\u706f<\/p>\n<p>2\u3001\u770b\u539f\u7406\u56fe-\u5206\u6790\u7535\u8def\u539f\u7406&#xff08;\u9ad8\u7535\u5e73\u4eae\u8fd8\u662f\u4f4e\u7535\u5e73\u4eae\u3001\u63a5\u5230\u54ea\u4e00\u4e2a\u5f15\u811a&#xff09;<\/p>\n<p>3\u3001\u914d\u7f6e\u4e3a\u8f93\u51fa\u6a21\u5f0f<\/p>\n<p>4\u3001\u914d\u7f6e\u4e3a\u63a8\u633d\u8f93\u51fa\u6216\u8005\u5f00\u6f0f\u8f93\u51fa<\/p>\n<p>5\u3001\u914d\u7f6e\u8f93\u51fa\u901f\u5ea6<\/p>\n<p>6\u3001\u8f93\u51fa\u6570\u636e0\u30011&#xff08;ODR&#xff09;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"550\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010056-6a90ddc8cc3d7.png\" width=\"1430\" \/><\/p>\n<p>\u6b65\u9aa4&#xff1a;<\/p>\n<p>\u6839\u636e\u539f\u7406\u56fe\u5206\u6790LED18\u5bf9\u5e94\u7684\u7f51\u7edc\u6807\u7b7e\u4e3aPC2 &#xff1b; \u4e14\u4f4e\u7535\u5e73\u70b9\u4eae&#xff1b;<\/p>\n<p>\u5148\u914d\u7f6e\u7aef\u53e3\u6a21\u5f0f&#xff08;MODE-&gt;\u8f93\u51fa\u6a21\u5f0f&#xff08;01\/10\/11&#xff09;&#xff1b;CNF-&gt;\u63a8\u633d\u8f93\u51fa(00)&#xff08;\u53ef\u4ee5\u8f93\u51fa0\/1&#xff09;&#xff09;;<\/p>\n<p>\u7aef\u53e3\u8f93\u51fa\u6570\u636e\u4f7f\u7528\u8f93\u51fa\u6570\u636e\u5bc4\u5b58\u5668&#xff08;ODR&#xff09;&#xff1b;<\/p>\n<\/p>\n<h4 style=\"background-color:transparent\">\u5177\u4f53\u5b9e\u73b0&#xff1a;<\/h4>\n<h5>1.PC2\u9009\u7528\u4f4e\u5bc4\u5b58\u5668-&gt;\u914d\u7f6e\u4e3a\u8f93\u51fa\u6a21\u5f0f&#xff0c;\u63a8\u633d\u8f93\u51fa&#xff1b;<\/h5>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"750\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010057-6a90ddc92048d.png\" width=\"856\" \/><\/p>\n<p>*&#xff08;volatile unsigned int *&#xff09;0x40011000 |&#061;(1&lt;&lt;8);\/\/ \u914d\u7f6eCRL\u5bc4\u5b58\u5668bit8&#061;1&#xff1a;MODE1[1:0]\u7684bit0\u7f6e1&#xff0c;\u914d\u5408bit9&#061;0&#xff0c;\u5c06PC2\u914d\u7f6e\u4e3a\u8f93\u51fa\u6a21\u5f0f&#xff08;\u901f\u5ea610MHz&#xff09;<br \/>\n*&#xff08;volatile unsigned int *&#xff09;0x40011000 &amp;&#061;~(1&lt;&lt;9);\/\/ \u914d\u7f6eCRL\u5bc4\u5b58\u5668bit9&#061;0&#xff1a;MODE1[1:0]\u7684bit1\u7f6e0&#xff0c;\u4e0ebit8&#061;1\u7ec4\u5408\u4e3a01&#xff0c;\u5373\u8f93\u51fa\u6a21\u5f0f\u3001\u6700\u5927\u901f\u5ea610MHz<br \/>\n*&#xff08;volatile unsigned int *&#xff09;0x40011000 &amp;&#061;~(1&lt;&lt;10);\/\/ \u914d\u7f6eCRL\u5bc4\u5b58\u5668bit10&#061;0&#xff1a;CNF1[1:0]\u7684bit0\u7f6e0&#xff0c;\u4e0ebit11&#061;0\u7ec4\u5408\u4e3a00&#xff0c;\u5373\u901a\u7528\u63a8\u633d\u8f93\u51fa<br \/>\n*&#xff08;volatile unsigned int *&#xff09;0x40011000 &amp;&#061;~(1&lt;&lt;11);\/\/ \u914d\u7f6eCRL\u5bc4\u5b58\u5668bit11&#061;0&#xff1a;CNF1[1:0]\u7684bit1\u7f6e0&#xff0c;\u4e0ebit10&#061;0\u7ec4\u5408\u4e3a00&#xff0c;\u5373\u901a\u7528\u63a8\u633d\u8f93\u51fa<\/p>\n<h6 style=\"background-color:transparent\">\u8fd0\u7b97\u8fc7\u7a0b<\/h6>\n<p>*&#xff08;volatile unsigned int *&#xff09;0x40011000 |&#061;(1&lt;&lt;8);\/\/1 \u5bf9\u5e94\u4f4d\u8bbe\u7f6e\u4e3a1 \u4f46\u662f\u4e0d\u5f71\u54cd\u5176\u4ed6\u4f4d<\/p>\n<p>\u5f53\u524d\u503c\u4e3a 0x40011000 \u5904\u7684\u5bc4\u5b58\u5668\u5730\u5740&#xff1a;<\/p>\n<p>  \u539f\u503c:         xxxx xxxx xxxx xxxx<br \/>\n| \u63a9\u7801 0x100:   0000 0001 0000 0000<br \/>\n   &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n  \u7ed3\u679c:         xxxx xxx1 xxxx xxxx<br \/>\n                        \u2191 \u7b2c8\u4f4d\u88ab\u5f3a\u5236\u7f6e1&#xff0c;\u5176\u4f59\u4f4d\u4fdd\u6301\u4e0d\u53d8<\/p>\n<p>\u56e0\u4e3a\u6216\u8fd0\u7b97\u7684\u7279\u6027&#xff1a;1 | \u4efb\u4f55\u4f4d &#061; 1&#xff0c;0 | \u4efb\u4f55\u4f4d &#061; \u539f\u503c&#xff0c;\u6240\u4ee5\u53ea\u4f1a\u628a\u76ee\u6807\u4f4d\u8bbe\u4e3a 1&#xff0c;\u5176\u4ed6\u4f4d\u4e0d\u53d7\u5f71\u54cd\u2014\u2014\u8fd9\u6b63\u662f\u6ce8\u91ca\u91cc\u8bf4\u7684&#034;\u5bf9\u5e94\u4f4d\u8bbe\u7f6e\u4e3a1&#xff0c;\u4f46\u662f\u4e0d\u5f71\u54cd\u5176\u4ed6\u4f4d&#034;\u3002<\/p>\n<h6>\u8865\u5145\u8bf4\u660e<\/h6>\n<p>\u4e25\u683c\u6765\u8bf4&#xff0c;\u76f4\u63a5\u5199 0x40011000 |&#061; &#8230; \u5728 C \u8bed\u8a00\u91cc\u4e0d\u80fd\u901a\u8fc7\u7f16\u8bd1&#xff08;\u5e38\u91cf\u4e0d\u80fd\u4f5c\u4e3a\u5de6\u503c&#xff09;\u3002\u5b9e\u9645\u5de5\u7a0b\u4e2d\u901a\u5e38\u5199\u6210\u6307\u9488\u89e3\u5f15\u7528\u7684\u5f62\u5f0f;<\/p>\n<p>\u5176\u4e2d volatile \u662f\u4e3a\u4e86\u9632\u6b62\u7f16\u8bd1\u5668\u4f18\u5316\u6389\u5bf9\u786c\u4ef6\u5bc4\u5b58\u5668\u7684\u8bfb\u5199\u3002<\/p>\n<h6>RCC\u65f6\u949f\u4f7f\u80fd<\/h6>\n<ul>\n<li>\n<p>\u627eRCC\u76f8\u5173\u5bc4\u5b58\u5668 \u8fd9\u91cc\u770b\u4e0bGPIOC\u8fde\u5230\u4e86\u54ea\u4e2a\u603b\u7ebf\u4e0a<\/p>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"440\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010057-6a90ddc967e36.png\" width=\"1088\" \/><\/p>\n<ul>\n<li>\n<p>\u627e\u5230\u76f8\u5173\u5bc4\u5b58\u5668<\/p>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"482\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010057-6a90ddc9a3a6f.png\" width=\"398\" \/><\/p>\n<ul>\n<li>\n<p>\u5206\u6790\u5bc4\u5b58\u5668\u8fd9\u4e2a\u4f4d\u7f6e\u9700\u8981\u51991\u4f7f\u80fdGPIOC\u7aef\u53e3<\/p>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"594\" src=\"2026-08-28qbsr4ojpymr.png\" width=\"1012\" \/><\/p>\n<ul>\n<li>\n<p>\u627eRCC\u8fd9\u4e2a\u5bc4\u5b58\u5668\u7684\u5730\u5740<\/p>\n<\/li>\n<\/ul>\n<p>\u504f\u79fb\u5730\u5740 0x18<\/p>\n<p>\u57fa\u5730\u5740&#xff1a;\u5728\u7b2c\u4e8c\u7ae0\u5b58\u50a8\u5668\u6620\u5c04<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"53\" src=\"2026-08-284bllbtdoh5o.png\" width=\"861\" \/><\/p>\n<p>\u5bc4\u5b58\u5668\u5730\u5740&#061;0x40021000&#043;0x18&#061;0x40021018<\/p>\n<p>*&#xff08;volatile unsigned int *&#xff09;0x40021018 |&#061;(1&lt;&lt;4);<\/p>\n<p>\u8fd9\u884c\u4ee3\u7801\u548c\u4e4b\u524d\u539f\u7406\u76f8\u540c&#xff0c;\u90fd\u662f\u901a\u8fc7\u7edd\u5bf9\u5730\u5740\u76f4\u63a5\u64cd\u4f5c\u786c\u4ef6\u5bc4\u5b58\u5668&#xff0c;\u628a\u76ee\u6807\u4f4d\u7f6e 1\u3002<\/p>\n<h6>\u9010\u6bb5\u62c6\u89e3<\/h6>\n<p>*(volatile unsigned int *)0x40021018 |&#061; (1 &lt;&lt; 4);<\/p>\n<table>\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u90e8\u5206<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u542b\u4e49<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p>0x40021018<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u5bc4\u5b58\u5668\u7684\u7269\u7406\u5730\u5740<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p>(volatile unsigned int *)<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u628a\u8fd9\u4e2a\u6574\u6570\u5730\u5740\u5f3a\u5236\u8f6c\u6362\u4e3a\u300c\u6307\u5411 unsigned int \u7684\u6307\u9488\u300d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p>*<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u89e3\u5f15\u7528\u6307\u9488&#xff0c;\u5373\u64cd\u4f5c\u8be5\u5730\u5740\u91cc\u5b58\u7684\u503c<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p>|&#061; (1 &lt;&lt; 4)<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u628a\u7b2c 4 \u4f4d&#xff08;bit4&#xff09;\u7f6e 1&#xff0c;\u5176\u4ed6\u4f4d\u4e0d\u53d8<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h6>\u8fd0\u7b97\u8fc7\u7a0b<\/h6>\n<\/p>\n<p>1 &lt;&lt; 4 &#061; 0x10 &#061; \u4e8c\u8fdb\u5236 0001 0000&#xff0c;\u5373\u53ea\u6709\u7b2c 4 \u4f4d\u662f 1\u3002<\/p>\n<p>\u5bc4\u5b58\u5668\u539f\u503c: xxxx xxxx xxxx xxxx<br \/>\n| \u63a9\u78010x10: 0000 0000 0001 0000<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n\u7ed3\u679c:       xxxx xxxx xxx1 xxxx<br \/>\n                         \u2191 \u7b2c4\u4f4d\u88ab\u7f6e1<\/p>\n<p>0x40021018 \u662f STM32 \u7cfb\u5217\u4e2d RCC&#xff08;\u590d\u4f4d\u548c\u65f6\u949f\u63a7\u5236&#xff09;\u5916\u8bbe \u7684\u5730\u5740\u533a\u95f4&#xff0c;\u5177\u4f53\u662f RCC_APB2ENR&#xff08;APB2 \u5916\u8bbe\u65f6\u949f\u4f7f\u80fd\u5bc4\u5b58\u5668&#xff09;\u30021 &lt;&lt; 4 \u5bf9\u5e94 bit4&#xff0c;\u5728 STM32F1 \u7cfb\u5217\u4e2d\u8be5\u4f4d\u901a\u5e38\u662f IOPCEN&#xff08;GPIOC \u7aef\u53e3\u65f6\u949f\u4f7f\u80fd&#xff09;\u3002<\/p>\n<p>\u6240\u4ee5\u8fd9\u884c\u4ee3\u7801\u7684\u5b9e\u9645\u610f\u56fe\u662f&#xff1a;<\/p>\n<p>\u4f7f\u80fd GPIOC \u7aef\u53e3\u7684\u65f6\u949f\u2014\u2014\u5728\u4f7f\u7528 GPIOC \u4e4b\u524d\u5fc5\u987b\u5148\u6253\u5f00\u5b83\u7684\u65f6\u949f&#xff0c;\u5426\u5219\u5916\u8bbe\u4e0d\u5de5\u4f5c\u3002<\/p>\n<ul>\n<li>\n<p>\u5b8c\u6574\u7684\u6a21\u5f0f\u914d\u7f6e&#xff08;\u8f93\u51fa\u6a21\u5f0f\u3001\u63a8\u633d\u8f93\u51fa&#xff09;<\/p>\n<\/li>\n<\/ul>\n<p>*&#xff08;volatile unsigned int *&#xff09;0x40021018 |&#061;(1&lt;&lt;4);\/\/RCC\u65f6\u949f\u4f7f\u80fd<br \/>\n*&#xff08;volatile unsigned int *&#xff09;0x40011000 |&#061;(1&lt;&lt;8);\/\/1 \u5bf9\u5e94\u4f4d\u8bbe\u7f6e\u4e3a1 \u4f46\u662f\u4e0d\u5f71\u54cd\u5176\u4ed6\u4f4d<br \/>\n*&#xff08;volatile unsigned int *&#xff09;0x40011000 &amp;&#061;~(1&lt;&lt;9);\/\/\u51990 \u76ee\u7684\u6700\u7ec8\u914d\u7f6e\u4e3a\u8f93\u51fa\u6a21\u5f0f<br \/>\n*&#xff08;volatile unsigned int *&#xff09;0x40011000 &amp;&#061;~(1&lt;&lt;10);\/\/\u51990 \u76ee\u7684\u6700\u7ec8\u914d\u7f6e\u4e3a\u63a8\u633d\u8f93\u51fa<br \/>\n*&#xff08;volatile unsigned int *&#xff09;0x40011000 &amp;&#061;~(1&lt;&lt;11);\/\/\u51990 \u76ee\u7684\u6700\u7ec8\u914d\u7f6e\u4e3a\u63a8\u633d\u8f93\u51fa<\/p>\n<h5 style=\"background-color:transparent\">2.\u914d\u7f6e\u8f93\u51fa\u6570\u636e\u5bc4\u5b58\u5668(ODR)<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"391\" src=\"2026-08-28tmyyapj0oiq.png\" width=\"860\" \/><\/p>\n<p>\/\/\u4ee5\u4e0b\u4ee3\u7801\u4e8c\u9009\u4e00&#xff0c;\u5206\u522b\u5b9e\u73b0\u706f\u706d\u4ee5\u53ca\u706f\u4eae\u7684\u6548\u679c&#xff1b;<br \/>\n*&#xff08;volatile unsigned int *&#xff09;0x4001100C |&#061;(1&lt;&lt;2);\/\/\u8f93\u51fa1<br \/>\n*&#xff08;volatile unsigned int *&#xff09;0x4001100C &amp;&#061;~(1&lt;&lt;2);\/\/\u8f93\u51fa0<\/p>\n<h5>3.\u6dfb\u52a0.s\u542f\u52a8\u6587\u4ef6<\/h5>\n<p>;******************** (C) COPYRIGHT 2017 STMicroelectronics ********************<br \/>\n;* File Name          : startup_stm32f103xe.s<br \/>\n;* Author             : MCD Application Team<br \/>\n;* Description        : STM32F103xE Devices vector table for MDK-ARM toolchain.<br \/>\n;*                      This module performs:<br \/>\n;*                      &#8211; Set the initial SP<br \/>\n;*                      &#8211; Set the initial PC &#061;&#061; Reset_Handler<br \/>\n;*                      &#8211; Set the vector table entries with the exceptions ISR address<br \/>\n;*                      &#8211; Configure the clock system<br \/>\n;*                      &#8211; Branches to __main in the C library (which eventually<br \/>\n;*                        calls main()).<br \/>\n;*                      After Reset the Cortex-M3 processor is in Thread mode,<br \/>\n;*                      priority is Privileged, and the Stack is set to Main.<br \/>\n;******************************************************************************<br \/>\n;* &#064;attention<br \/>\n;*<br \/>\n;* Copyright (c) 2017-2021 STMicroelectronics.<br \/>\n;* All rights reserved.<br \/>\n;*<br \/>\n;* This software is licensed under terms that can be found in the LICENSE file<br \/>\n;* in the root directory of this software component.<br \/>\n;* If no LICENSE file comes with this software, it is provided AS-IS.<br \/>\n;*<br \/>\n;******************************************************************************<br \/>\n; Amount of memory (in bytes) allocated for Stack<br \/>\n; Tailor this value to your application needs<br \/>\n; &lt;h&gt; Stack Configuration<br \/>\n;   &lt;o&gt; Stack Size (in Bytes) &lt;0x0-0xFFFFFFFF:8&gt;<br \/>\n; &lt;\/h&gt;<br \/>\nStack_SizeEQU     0x400<br \/>\n            AREA    STACK, NOINIT, READWRITE, ALIGN&#061;3<br \/>\nStack_Mem       SPACE   Stack_Size<br \/>\n__initial_sp<br \/>\n; &lt;h&gt; Heap Configuration<br \/>\n;   &lt;o&gt;  Heap Size (in Bytes) &lt;0x0-0xFFFFFFFF:8&gt;<br \/>\n; &lt;\/h&gt;<br \/>\nHeap_Size      EQU     0x200<br \/>\n            AREA    HEAP, NOINIT, READWRITE, ALIGN&#061;3<br \/>\n__heap_base<br \/>\nHeap_Mem        SPACE   Heap_Size<br \/>\n__heap_limit<br \/>\n            PRESERVE8<br \/>\n            THUMB<br \/>\n; Vector Table Mapped to Address 0 at Reset<br \/>\nAREA    RESET, DATA, READONLY<br \/>\nEXPORT  __Vectors<br \/>\nEXPORT  __Vectors_End<br \/>\nEXPORT  __Vectors_Size<br \/>\n__Vectors       DCD     __initial_sp               ; Top of Stack<br \/>\nDCD     Reset_Handler              ; Reset Handler<br \/>\nDCD     NMI_Handler                ; NMI Handler<br \/>\nDCD     HardFault_Handler          ; Hard Fault Handler<br \/>\nDCD     MemManage_Handler          ; MPU Fault Handler<br \/>\nDCD     BusFault_Handler           ; Bus Fault Handler<br \/>\nDCD     UsageFault_Handler         ; Usage Fault Handler<br \/>\nDCD     0                          ; Reserved<br \/>\nDCD     0                          ; Reserved<br \/>\nDCD     0                          ; Reserved<br \/>\nDCD     0                          ; Reserved<br \/>\nDCD     SVC_Handler                ; SVCall Handler<br \/>\nDCD     DebugMon_Handler           ; Debug Monitor Handler<br \/>\nDCD     0                          ; Reserved<br \/>\nDCD     PendSV_Handler             ; PendSV Handler<br \/>\nDCD     SysTick_Handler            ; SysTick Handler<br \/>\n            ; External Interrupts<br \/>\n            DCD     WWDG_IRQHandler            ; Window Watchdog<br \/>\n            DCD     PVD_IRQHandler             ; PVD through EXTI Line detect<br \/>\n            DCD     TAMPER_IRQHandler          ; Tamper<br \/>\n            DCD     RTC_IRQHandler             ; RTC<br \/>\n            DCD     FLASH_IRQHandler           ; Flash<br \/>\n            DCD     RCC_IRQHandler             ; RCC<br \/>\n            DCD     EXTI0_IRQHandler           ; EXTI Line 0<br \/>\n            DCD     EXTI1_IRQHandler           ; EXTI Line 1<br \/>\n            DCD     EXTI2_IRQHandler           ; EXTI Line 2<br \/>\n            DCD     EXTI3_IRQHandler           ; EXTI Line 3<br \/>\n            DCD     EXTI4_IRQHandler           ; EXTI Line 4<br \/>\n            DCD     DMA1_Channel1_IRQHandler   ; DMA1 Channel 1<br \/>\n            DCD     DMA1_Channel2_IRQHandler   ; DMA1 Channel 2<br \/>\n            DCD     DMA1_Channel3_IRQHandler   ; DMA1 Channel 3<br \/>\n            DCD     DMA1_Channel4_IRQHandler   ; DMA1 Channel 4<br \/>\n            DCD     DMA1_Channel5_IRQHandler   ; DMA1 Channel 5<br \/>\n            DCD     DMA1_Channel6_IRQHandler   ; DMA1 Channel 6<br \/>\n            DCD     DMA1_Channel7_IRQHandler   ; DMA1 Channel 7<br \/>\n            DCD     ADC1_2_IRQHandler          ; ADC1 &amp;amp; ADC2<br \/>\n            DCD     USB_HP_CAN1_TX_IRQHandler  ; USB High Priority or CAN1 TX<br \/>\n            DCD     USB_LP_CAN1_RX0_IRQHandler ; USB Low  Priority or CAN1 RX0<br \/>\n            DCD     CAN1_RX1_IRQHandler        ; CAN1 RX1<br \/>\n            DCD     CAN1_SCE_IRQHandler        ; CAN1 SCE<br \/>\n            DCD     EXTI9_5_IRQHandler         ; EXTI Line 9..5<br \/>\n            DCD     TIM1_BRK_IRQHandler        ; TIM1 Break<br \/>\n            DCD     TIM1_UP_IRQHandler         ; TIM1 Update<br \/>\n            DCD     TIM1_TRG_COM_IRQHandler    ; TIM1 Trigger and Commutation<br \/>\n            DCD     TIM1_CC_IRQHandler         ; TIM1 Capture Compare<br \/>\n            DCD     TIM2_IRQHandler            ; TIM2<br \/>\n            DCD     TIM3_IRQHandler            ; TIM3<br \/>\n            DCD     TIM4_IRQHandler            ; TIM4<br \/>\n            DCD     I2C1_EV_IRQHandler         ; I2C1 Event<br \/>\n            DCD     I2C1_ER_IRQHandler         ; I2C1 Error<br \/>\n            DCD     I2C2_EV_IRQHandler         ; I2C2 Event<br \/>\n            DCD     I2C2_ER_IRQHandler         ; I2C2 Error<br \/>\n            DCD     SPI1_IRQHandler            ; SPI1<br \/>\n            DCD     SPI2_IRQHandler            ; SPI2<br \/>\n            DCD     USART1_IRQHandler          ; USART1<br \/>\n            DCD     USART2_IRQHandler          ; USART2<br \/>\n            DCD     USART3_IRQHandler          ; USART3<br \/>\n            DCD     EXTI15_10_IRQHandler       ; EXTI Line 15..10<br \/>\n            DCD     RTC_Alarm_IRQHandler        ; RTC Alarm through EXTI Line<br \/>\n            DCD     USBWakeUp_IRQHandler       ; USB Wakeup from suspend<br \/>\n            DCD     TIM8_BRK_IRQHandler        ; TIM8 Break<br \/>\n            DCD     TIM8_UP_IRQHandler         ; TIM8 Update<br \/>\n            DCD     TIM8_TRG_COM_IRQHandler    ; TIM8 Trigger and Commutation<br \/>\n            DCD     TIM8_CC_IRQHandler         ; TIM8 Capture Compare<br \/>\n            DCD     ADC3_IRQHandler            ; ADC3<br \/>\n            DCD     FSMC_IRQHandler            ; FSMC<br \/>\n            DCD     SDIO_IRQHandler            ; SDIO<br \/>\n            DCD     TIM5_IRQHandler            ; TIM5<br \/>\n            DCD     SPI3_IRQHandler            ; SPI3<br \/>\n            DCD     UART4_IRQHandler           ; UART4<br \/>\n            DCD     UART5_IRQHandler           ; UART5<br \/>\n            DCD     TIM6_IRQHandler            ; TIM6<br \/>\n            DCD     TIM7_IRQHandler            ; TIM7<br \/>\n            DCD     DMA2_Channel1_IRQHandler   ; DMA2 Channel1<br \/>\n            DCD     DMA2_Channel2_IRQHandler   ; DMA2 Channel2<br \/>\n            DCD     DMA2_Channel3_IRQHandler   ; DMA2 Channel3<br \/>\n            DCD     DMA2_Channel4_5_IRQHandler ; DMA2 Channel4 &amp;amp; Channel5<br \/>\n__Vectors_End<br \/>\n__Vectors_Size  EQU  __Vectors_End &#8211; __Vectors<br \/>\n            AREA    |.text|, CODE, READONLY<br \/>\n; Reset handler<br \/>\nReset_Handler   PROC<br \/>\nEXPORT  Reset_Handler             [WEAK]<br \/>\nIMPORT  __main<br \/>\nIMPORT  SystemInit<br \/>\nLDR     R0, &#061;SystemInit<br \/>\nBLX     R0<br \/>\nLDR     R0, &#061;__main<br \/>\nBX      R0<br \/>\nENDP<br \/>\n; Dummy Exception Handlers (infinite loops which can be modified)<br \/>\nNMI_Handler     PROC<br \/>\nEXPORT  NMI_Handler                [WEAK]<br \/>\nB       .<br \/>\nENDP<br \/>\nHardFault_Handler<br \/>\nPROC<br \/>\nEXPORT  HardFault_Handler          [WEAK]<br \/>\nB       .<br \/>\nENDP<br \/>\nMemManage_Handler<br \/>\nPROC<br \/>\nEXPORT  MemManage_Handler          [WEAK]<br \/>\nB       .<br \/>\nENDP<br \/>\nBusFault_Handler<br \/>\nPROC<br \/>\nEXPORT  BusFault_Handler           [WEAK]<br \/>\nB       .<br \/>\nENDP<br \/>\nUsageFault_Handler<br \/>\nPROC<br \/>\nEXPORT  UsageFault_Handler         [WEAK]<br \/>\nB       .<br \/>\nENDP<br \/>\nSVC_Handler     PROC<br \/>\nEXPORT  SVC_Handler                [WEAK]<br \/>\nB       .<br \/>\nENDP<br \/>\nDebugMon_Handler<br \/>\nPROC<br \/>\nEXPORT  DebugMon_Handler           [WEAK]<br \/>\nB       .<br \/>\nENDP<br \/>\nPendSV_Handler  PROC<br \/>\nEXPORT  PendSV_Handler             [WEAK]<br \/>\nB       .<br \/>\nENDP<br \/>\nSysTick_Handler PROC<br \/>\nEXPORT  SysTick_Handler            [WEAK]<br \/>\nB       .<br \/>\nENDP<br \/>\nDefault_Handler PROC<br \/>\nEXPORT  WWDG_IRQHandler            [WEAK]<br \/>\nEXPORT  PVD_IRQHandler             [WEAK]<br \/>\nEXPORT  TAMPER_IRQHandler          [WEAK]<br \/>\nEXPORT  RTC_IRQHandler             [WEAK]<br \/>\nEXPORT  FLASH_IRQHandler           [WEAK]<br \/>\nEXPORT  RCC_IRQHandler             [WEAK]<br \/>\nEXPORT  EXTI0_IRQHandler           [WEAK]<br \/>\nEXPORT  EXTI1_IRQHandler           [WEAK]<br \/>\nEXPORT  EXTI2_IRQHandler           [WEAK]<br \/>\nEXPORT  EXTI3_IRQHandler           [WEAK]<br \/>\nEXPORT  EXTI4_IRQHandler           [WEAK]<br \/>\nEXPORT  DMA1_Channel1_IRQHandler   [WEAK]<br \/>\nEXPORT  DMA1_Channel2_IRQHandler   [WEAK]<br \/>\nEXPORT  DMA1_Channel3_IRQHandler   [WEAK]<br \/>\nEXPORT  DMA1_Channel4_IRQHandler   [WEAK]<br \/>\nEXPORT  DMA1_Channel5_IRQHandler   [WEAK]<br \/>\nEXPORT  DMA1_Channel6_IRQHandler   [WEAK]<br \/>\nEXPORT  DMA1_Channel7_IRQHandler   [WEAK]<br \/>\nEXPORT  ADC1_2_IRQHandler          [WEAK]<br \/>\nEXPORT  USB_HP_CAN1_TX_IRQHandler  [WEAK]<br \/>\nEXPORT  USB_LP_CAN1_RX0_IRQHandler [WEAK]<br \/>\nEXPORT  CAN1_RX1_IRQHandler        [WEAK]<br \/>\nEXPORT  CAN1_SCE_IRQHandler        [WEAK]<br \/>\nEXPORT  EXTI9_5_IRQHandler         [WEAK]<br \/>\nEXPORT  TIM1_BRK_IRQHandler        [WEAK]<br \/>\nEXPORT  TIM1_UP_IRQHandler         [WEAK]<br \/>\nEXPORT  TIM1_TRG_COM_IRQHandler    [WEAK]<br \/>\nEXPORT  TIM1_CC_IRQHandler         [WEAK]<br \/>\nEXPORT  TIM2_IRQHandler            [WEAK]<br \/>\nEXPORT  TIM3_IRQHandler            [WEAK]<br \/>\nEXPORT  TIM4_IRQHandler            [WEAK]<br \/>\nEXPORT  I2C1_EV_IRQHandler         [WEAK]<br \/>\nEXPORT  I2C1_ER_IRQHandler         [WEAK]<br \/>\nEXPORT  I2C2_EV_IRQHandler         [WEAK]<br \/>\nEXPORT  I2C2_ER_IRQHandler         [WEAK]<br \/>\nEXPORT  SPI1_IRQHandler            [WEAK]<br \/>\nEXPORT  SPI2_IRQHandler            [WEAK]<br \/>\nEXPORT  USART1_IRQHandler          [WEAK]<br \/>\nEXPORT  USART2_IRQHandler          [WEAK]<br \/>\nEXPORT  USART3_IRQHandler          [WEAK]<br \/>\nEXPORT  EXTI15_10_IRQHandler       [WEAK]<br \/>\nEXPORT  RTC_Alarm_IRQHandler        [WEAK]<br \/>\nEXPORT  USBWakeUp_IRQHandler       [WEAK]<br \/>\nEXPORT  TIM8_BRK_IRQHandler        [WEAK]<br \/>\nEXPORT  TIM8_UP_IRQHandler         [WEAK]<br \/>\nEXPORT  TIM8_TRG_COM_IRQHandler    [WEAK]<br \/>\nEXPORT  TIM8_CC_IRQHandler         [WEAK]<br \/>\nEXPORT  ADC3_IRQHandler            [WEAK]<br \/>\nEXPORT  FSMC_IRQHandler            [WEAK]<br \/>\nEXPORT  SDIO_IRQHandler            [WEAK]<br \/>\nEXPORT  TIM5_IRQHandler            [WEAK]<br \/>\nEXPORT  SPI3_IRQHandler            [WEAK]<br \/>\nEXPORT  UART4_IRQHandler           [WEAK]<br \/>\nEXPORT  UART5_IRQHandler           [WEAK]<br \/>\nEXPORT  TIM6_IRQHandler            [WEAK]<br \/>\nEXPORT  TIM7_IRQHandler            [WEAK]<br \/>\nEXPORT  DMA2_Channel1_IRQHandler   [WEAK]<br \/>\nEXPORT  DMA2_Channel2_IRQHandler   [WEAK]<br \/>\nEXPORT  DMA2_Channel3_IRQHandler   [WEAK]<br \/>\nEXPORT  DMA2_Channel4_5_IRQHandler [WEAK]<br \/>\nWWDG_IRQHandler<br \/>\nPVD_IRQHandler<br \/>\nTAMPER_IRQHandler<br \/>\nRTC_IRQHandler<br \/>\nFLASH_IRQHandler<br \/>\nRCC_IRQHandler<br \/>\nEXTI0_IRQHandler<br \/>\nEXTI1_IRQHandler<br \/>\nEXTI2_IRQHandler<br \/>\nEXTI3_IRQHandler<br \/>\nEXTI4_IRQHandler<br \/>\nDMA1_Channel1_IRQHandler<br \/>\nDMA1_Channel2_IRQHandler<br \/>\nDMA1_Channel3_IRQHandler<br \/>\nDMA1_Channel4_IRQHandler<br \/>\nDMA1_Channel5_IRQHandler<br \/>\nDMA1_Channel6_IRQHandler<br \/>\nDMA1_Channel7_IRQHandler<br \/>\nADC1_2_IRQHandler<br \/>\nUSB_HP_CAN1_TX_IRQHandler<br \/>\nUSB_LP_CAN1_RX0_IRQHandler<br \/>\nCAN1_RX1_IRQHandler<br \/>\nCAN1_SCE_IRQHandler<br \/>\nEXTI9_5_IRQHandler<br \/>\nTIM1_BRK_IRQHandler<br \/>\nTIM1_UP_IRQHandler<br \/>\nTIM1_TRG_COM_IRQHandler<br \/>\nTIM1_CC_IRQHandler<br \/>\nTIM2_IRQHandler<br \/>\nTIM3_IRQHandler<br \/>\nTIM4_IRQHandler<br \/>\nI2C1_EV_IRQHandler<br \/>\nI2C1_ER_IRQHandler<br \/>\nI2C2_EV_IRQHandler<br \/>\nI2C2_ER_IRQHandler<br \/>\nSPI1_IRQHandler<br \/>\nSPI2_IRQHandler<br \/>\nUSART1_IRQHandler<br \/>\nUSART2_IRQHandler<br \/>\nUSART3_IRQHandler<br \/>\nEXTI15_10_IRQHandler<br \/>\nRTC_Alarm_IRQHandler<br \/>\nUSBWakeUp_IRQHandler<br \/>\nTIM8_BRK_IRQHandler<br \/>\nTIM8_UP_IRQHandler<br \/>\nTIM8_TRG_COM_IRQHandler<br \/>\nTIM8_CC_IRQHandler<br \/>\nADC3_IRQHandler<br \/>\nFSMC_IRQHandler<br \/>\nSDIO_IRQHandler<br \/>\nTIM5_IRQHandler<br \/>\nSPI3_IRQHandler<br \/>\nUART4_IRQHandler<br \/>\nUART5_IRQHandler<br \/>\nTIM6_IRQHandler<br \/>\nTIM7_IRQHandler<br \/>\nDMA2_Channel1_IRQHandler<br \/>\nDMA2_Channel2_IRQHandler<br \/>\nDMA2_Channel3_IRQHandler<br \/>\nDMA2_Channel4_5_IRQHandler<br \/>\nB       .<br \/>\nENDP<br \/>\n        ALIGN<br \/>\n;*******************************************************************************<br \/>\n; User Stack and Heap initialization<br \/>\n;*******************************************************************************<br \/>\nIF      :DEF:__MICROLIB<br \/>\nEXPORT  __initial_sp<br \/>\nEXPORT  __heap_base<br \/>\nEXPORT  __heap_limit<br \/>\n         ELSE<br \/>\n     IMPORT  __use_two_region_memory<br \/>\n     EXPORT  __user_initial_stackheap<br \/>\n__user_initial_stackheap<br \/>\nLDR     R0, &#061;  Heap_Mem<br \/>\nLDR     R1, &#061;(Stack_Mem &#043; Stack_Size)<br \/>\nLDR     R2, &#061; (Heap_Mem &#043;  Heap_Size)<br \/>\nLDR     R3, &#061; Stack_Mem<br \/>\nBX      LR<br \/>\nALIGN<br \/>\n     ENDIF<br \/>\n END&amp;amp;lt;\/code&amp;amp;gt;&amp;amp;lt;\/pre&amp;amp;gt;<br \/>\n4.\u5b8c\u6574\u9879\u76ee\u4ee3\u7801<br \/>\nvoid SystemInit(void);<br \/>\nint main(void)<br \/>\n{<br \/>\n*(volatile unsigned int *)0x40021018 |&#061;(1&lt;&lt;4);\/\/RCC\u65f6\u949f\u4f7f\u80fd C<br \/>\n*(volatile unsigned int *)0x40021018 |&#061;(1&lt;&lt;2);\/\/RCC\u65f6\u949f\u4f7f\u80fd A<br \/>\n*(volatile unsigned int *)0x40011000 |&#061;(1&lt;&lt;8);\/\/1 \u5bf9\u5e94\u4f4d\u8bbe\u7f6e\u4e3a1 \u4f46\u662f\u4e0d\u5f71\u54cd\u5176\u4ed6\u4f4d<br \/>\n*(volatile unsigned int *)0x40011000 &amp;&#061;~(1&lt;&lt;9);\/\/\u51990 \u76ee\u7684\u6700\u7ec8\u914d\u7f6e\u4e3a\u8f93\u51fa\u6a21\u5f0f  \u63a8\u633d\u8f93\u51fa  \u901f\u5ea610MHZ<br \/>\n*(volatile unsigned int *)0x4001100C |&#061;(1&lt;&lt;2);\/\/\u8f93\u51fa1<br \/>\n*(volatile unsigned int *)0x4001100C &amp;&#061;~(1&lt;&lt;2);\/\/\u8f93\u51fa0<br \/>\nreturn 0;<br \/>\n}<br \/>\nvoid SystemInit(void)<br \/>\n{<br \/>\n}<br \/>\n\u6dfb\u52a0\u8fdb\u5de5\u7a0b\u5373\u53ef\u7f16\u8bd1\u4e0b\u8f7d&#xff1b;<br \/>\n\u81f3\u6b64\u7528\u5bc4\u5b58\u5668\u70b9\u4eaeLED\u5373\u53ef\u5b8c\u6210&#xff1b;<\/p>\n<p>\u603b\u7ed3&#xff1a;\u672c\u6587\u901a\u8fc7\u70b9\u4eae LED \u7684\u5b9e\u6218\u9879\u76ee&#xff0c;\u5b8c\u6574\u6f14\u793a\u4e86\u4f7f\u7528\u5bc4\u5b58\u5668\u64cd\u4f5c STM32 GPIO \u7684\u6d41\u7a0b\u3002\u56de\u987e\u6574\u4e2a\u70b9\u706f\u6b65\u9aa4&#xff1a;\u9996\u5148\u67e5\u770b\u539f\u7406\u56fe\u786e\u8ba4 LED \u5bf9\u5e94\u7684\u5f15\u811a&#xff08;\u672c\u4f8b\u4e3a PC2&#xff0c;\u4f4e\u7535\u5e73\u70b9\u4eae&#xff09;&#xff1b;\u7136\u540e\u4f7f\u80fd GPIOC \u7aef\u53e3\u65f6\u949f&#xff0c;\u901a\u8fc7 RCC_APB2ENR \u5bc4\u5b58\u5668&#xff08;\u5730\u5740 0x40021018&#xff09;\u7684 bit4 \u7f6e 1 \u5b9e\u73b0&#xff1b;\u63a5\u7740\u914d\u7f6e\u7aef\u53e3\u6a21\u5f0f&#xff0c;\u901a\u8fc7 CRL \u5bc4\u5b58\u5668&#xff08;\u5730\u5740 0x40011000&#xff09;\u5c06 PC2 \u914d\u7f6e\u4e3a\u8f93\u51fa\u6a21\u5f0f\u3001\u63a8\u633d\u8f93\u51fa\u3001\u901f\u5ea6 10MHz&#xff1b;\u6700\u540e\u901a\u8fc7\u8f93\u51fa\u6570\u636e\u5bc4\u5b58\u5668 ODR&#xff08;\u5730\u5740 0x4001100C&#xff09;\u7684 bit2 \u5199\u5165 0 \u6216 1 \u6765\u63a7\u5236\u706f\u7684\u4eae\u706d\u3002\u5173\u952e\u5bc4\u5b58\u5668\u914d\u7f6e\u53ef\u5f52\u7eb3\u4e3a&#xff1a;RCC_APB2ENR \u4f7f\u80fd\u65f6\u949f\u3001CRL \u914d\u7f6e\u6a21\u5f0f\u3001ODR \u8f93\u51fa\u6570\u636e\u3002\u638c\u63e1\u8fd9\u5957\u5bc4\u5b58\u5668\u64cd\u4f5c\u601d\u8def&#xff0c;\u5c31\u80fd\u4e3e\u4e00\u53cd\u4e09&#xff0c;\u7075\u6d3b\u63a7\u5236 STM32 \u7684\u5176\u4ed6\u5916\u8bbe\u3002<\/p>\n<\/p>\n<h3>\u56db\u3001\u5e38\u89c1\u95ee\u9898\u4e0e\u6392\u67e5<\/h3>\n<\/p>\n<p>\u5728\u70b9\u706f\u5b9e\u6218\u8fc7\u7a0b\u4e2d&#xff0c;\u521d\u5b66\u8005\u7ecf\u5e38\u4f1a\u9047\u5230\u7f16\u8bd1\u62a5\u9519\u3001LED \u4e0d\u4eae\u3001\u5f15\u811a\u914d\u7f6e\u9519\u8bef\u7b49\u95ee\u9898\u3002\u4e0b\u9762\u9488\u5bf9\u8fd9\u4e9b\u9ad8\u9891\u95ee\u9898\u7ed9\u51fa\u539f\u56e0\u5206\u6790\u548c\u89e3\u51b3\u65b9\u6cd5&#xff0c;\u5e76\u9644\u4e0a\u8c03\u8bd5\u5efa\u8bae\u3002<\/p>\n<h4>1. \u7f16\u8bd1\u9519\u8bef<\/h4>\n<p>\u95ee\u9898\u73b0\u8c61&#xff1a;\u7f16\u8bd1\u65f6\u62a5\u9519&#xff0c;\u4f8b\u5982 lvalue required as left operand of assignment \u6216 undefined symbol\u3002<\/p>\n<p>\u539f\u56e0\u5206\u6790&#xff1a;<\/p>\n<ul>\n<li>\u76f4\u63a5\u5bf9\u5e38\u91cf\u5730\u5740\u4f7f\u7528 0x40011000 |&#061; &#8230; \u8fd9\u7c7b\u5199\u6cd5&#xff0c;\u5728 C \u8bed\u8a00\u4e2d\u5e38\u91cf\u4e0d\u80fd\u4f5c\u4e3a\u5de6\u503c&#xff0c;\u65e0\u6cd5\u901a\u8fc7\u7f16\u8bd1\u3002<\/li>\n<li>\u7f3a\u5c11\u542f\u52a8\u6587\u4ef6&#xff08;.s \u6587\u4ef6&#xff09;\u6216\u542f\u52a8\u6587\u4ef6\u672a\u6b63\u786e\u6dfb\u52a0\u5230\u5de5\u7a0b\u4e2d&#xff0c;\u5bfc\u81f4\u94fe\u63a5\u9636\u6bb5\u62a5 undefined symbol \u9519\u8bef\u3002<\/li>\n<li>\u5934\u6587\u4ef6\u8def\u5f84\u914d\u7f6e\u9519\u8bef&#xff0c;\u6216\u672a\u5305\u542b\u5fc5\u8981\u7684\u5bc4\u5b58\u5668\u5b9a\u4e49\u5934\u6587\u4ef6\u3002<\/li>\n<\/ul>\n<p>\u89e3\u51b3\u65b9\u6cd5&#xff1a;<\/p>\n<ul>\n<li>\u5c06\u5bc4\u5b58\u5668\u64cd\u4f5c\u6539\u5199\u4e3a\u6307\u9488\u89e3\u5f15\u7528\u5f62\u5f0f&#xff1a;*(volatile unsigned int *)0x40011000 |&#061; (1 &lt;&lt; 8);&#xff0c;\u5176\u4e2d volatile \u9632\u6b62\u7f16\u8bd1\u5668\u4f18\u5316\u6389\u5bf9\u786c\u4ef6\u5bc4\u5b58\u5668\u7684\u8bfb\u5199\u3002<\/li>\n<li>\u786e\u8ba4\u5df2\u5c06 startup_stm32f103xe.s \u542f\u52a8\u6587\u4ef6\u6dfb\u52a0\u5230\u5de5\u7a0b&#xff0c;\u5e76\u6b63\u786e\u914d\u7f6e\u4e86\u82af\u7247\u578b\u53f7&#xff08;\u5982 STM32F103C8T6 \u5bf9\u5e94 STM32F103xE \u7cfb\u5217&#xff09;\u3002<\/li>\n<li>\u68c0\u67e5\u7f16\u8bd1\u5668\u7684 Include Path \u662f\u5426\u5305\u542b\u6807\u51c6\u5916\u8bbe\u5e93\u6216\u5bc4\u5b58\u5668\u5b9a\u4e49\u6240\u5728\u76ee\u5f55\u3002<\/li>\n<\/ul>\n<h4>2. LED \u4e0d\u4eae<\/h4>\n<p>\u95ee\u9898\u73b0\u8c61&#xff1a;\u7a0b\u5e8f\u7f16\u8bd1\u4e0b\u8f7d\u6210\u529f&#xff0c;\u4f46 LED \u59cb\u7ec8\u4e0d\u4eae\u3002<\/p>\n<p>\u539f\u56e0\u5206\u6790&#xff1a;<\/p>\n<ul>\n<li>\u672a\u4f7f\u80fd\u5bf9\u5e94\u7aef\u53e3\u7684\u65f6\u949f\u3002GPIOC \u7aef\u53e3\u65f6\u949f\u672a\u6253\u5f00\u65f6&#xff0c;\u5bc4\u5b58\u5668\u914d\u7f6e\u4e0d\u751f\u6548&#xff0c;\u5916\u8bbe\u4e0d\u5de5\u4f5c\u3002<\/li>\n<li>\u5f15\u811a\u914d\u7f6e\u9519\u8bef&#xff0c;\u4f8b\u5982\u628a PC2 \u8bef\u914d\u6210\u8f93\u5165\u6a21\u5f0f&#xff0c;\u6216 CNF \u4f4d\u914d\u7f6e\u6210\u4e86\u5f00\u6f0f\u8f93\u51fa\u3002<\/li>\n<li>\u8f93\u51fa\u7535\u5e73\u4e0e\u7535\u8def\u4e0d\u5339\u914d\u3002\u672c\u4f8b\u4e2d LED18 \u662f\u4f4e\u7535\u5e73\u70b9\u4eae&#xff0c;\u82e5\u5411 ODR \u5199\u5165 1&#xff08;\u9ad8\u7535\u5e73&#xff09;&#xff0c;\u706f\u53cd\u800c\u4e0d\u4f1a\u4eae\u3002<\/li>\n<li>\u786c\u4ef6\u8fde\u63a5\u95ee\u9898&#xff0c;\u5982 LED \u6b63\u8d1f\u6781\u63a5\u53cd\u3001\u9650\u6d41\u7535\u963b\u7f3a\u5931\u6216\u5f15\u811a\u865a\u710a\u3002<\/li>\n<\/ul>\n<p>\u89e3\u51b3\u65b9\u6cd5&#xff1a;<\/p>\n<ul>\n<li>\u786e\u8ba4\u5df2\u6267\u884c *(volatile unsigned int *)0x40021018 |&#061; (1 &lt;&lt; 4); \u4f7f\u80fd GPIOC \u65f6\u949f\u3002<\/li>\n<li>\u6838\u5bf9 CRL \u5bc4\u5b58\u5668\u914d\u7f6e&#xff0c;\u786e\u4fdd PC2 \u4e3a\u8f93\u51fa\u6a21\u5f0f&#xff08;MODE&#061;01&#xff09;\u3001\u63a8\u633d\u8f93\u51fa&#xff08;CNF&#061;00&#xff09;\u3002<\/li>\n<li>\u6839\u636e\u539f\u7406\u56fe\u786e\u8ba4\u70b9\u4eae\u7535\u5e73\u3002\u672c\u4f8b\u4e3a\u4f4e\u7535\u5e73\u70b9\u4eae&#xff0c;\u5e94\u5411 ODR \u7684 bit2 \u5199\u5165 0&#xff1a;*(volatile unsigned int *)0x4001100C &amp;&#061; ~(1 &lt;&lt; 2);\u3002<\/li>\n<li>\u7528\u4e07\u7528\u8868\u6d4b\u91cf PC2 \u5f15\u811a\u7535\u538b&#xff0c;\u68c0\u67e5 LED \u53ca\u9650\u6d41\u7535\u963b\u662f\u5426\u6b63\u5e38&#xff0c;\u786e\u8ba4\u786c\u4ef6\u8fde\u63a5\u65e0\u8bef\u3002<\/li>\n<\/ul>\n<h4>3. \u5f15\u811a\u914d\u7f6e\u9519\u8bef<\/h4>\n<p>\u95ee\u9898\u73b0\u8c61&#xff1a;\u914d\u7f6e\u4e86 PC2 \u4f46\u5b9e\u9645\u63a7\u5236\u7684\u662f\u5176\u4ed6\u5f15\u811a&#xff0c;\u6216\u5f15\u811a\u65e0\u8f93\u51fa\u3002<\/p>\n<p>\u539f\u56e0\u5206\u6790&#xff1a;<\/p>\n<ul>\n<li>\u5bc4\u5b58\u5668\u4f4d\u64cd\u4f5c\u9519\u8bef&#xff0c;\u4f8b\u5982\u79fb\u4f4d\u4f4d\u6570\u7b97\u9519&#xff0c;\u628a bit8 \u5199\u6210 bit7&#xff0c;\u5bfc\u81f4\u914d\u7f6e\u5230\u4e86\u76f8\u90bb\u5f15\u811a\u3002<\/li>\n<li>\u4f7f\u7528\u4e86\u9519\u8bef\u7684\u5bc4\u5b58\u5668\u5730\u5740&#xff0c;\u4f8b\u5982\u628a CRL&#xff08;0x40011000&#xff09;\u4e0e CRH&#xff08;0x40011004&#xff09;\u6df7\u6dc6\u3002PC2 \u5c5e\u4e8e\u4f4e 8 \u4f4d\u5f15\u811a&#xff0c;\u5e94\u4f7f\u7528 CRL&#xff1b;\u82e5\u914d\u7f6e PC8-PC15 \u5219\u9700\u4f7f\u7528 CRH\u3002<\/li>\n<li>ODR \u5bc4\u5b58\u5668\u5730\u5740\u5199\u9519&#xff0c;\u6216\u64cd\u4f5c\u4f4d\u4e0e\u5f15\u811a\u53f7\u4e0d\u5bf9\u5e94\u3002<\/li>\n<\/ul>\n<p>\u89e3\u51b3\u65b9\u6cd5&#xff1a;<\/p>\n<ul>\n<li>\u5bf9\u7167\u6570\u636e\u624b\u518c\u9010\u4f4d\u6838\u5bf9\u5bc4\u5b58\u5668\u914d\u7f6e\u3002PC2 \u5bf9\u5e94 CRL \u5bc4\u5b58\u5668\u7684 bit8-bit11&#xff08;MODE1 \u548c CNF1&#xff09;&#xff0c;ODR \u5bf9\u5e94 bit2\u3002<\/li>\n<li>\u786e\u8ba4\u5f15\u811a\u7f16\u53f7\u4e0e\u5bc4\u5b58\u5668\u4f4d\u4e00\u4e00\u5bf9\u5e94&#xff1a;PC0-PC7 \u4f7f\u7528 CRL&#xff0c;PC8-PC15 \u4f7f\u7528 CRH\u3002<\/li>\n<li>\u5efa\u8bae\u4f7f\u7528\u8c03\u8bd5\u5668&#xff08;\u5982 ST-Link&#xff09;\u5728 Keil \u4e2d\u67e5\u770b\u5bc4\u5b58\u5668\u7684\u5b9e\u65f6\u503c&#xff0c;\u786e\u8ba4\u914d\u7f6e\u662f\u5426\u5199\u5165\u6210\u529f\u3002<\/li>\n<\/ul>\n<h4>4. \u8c03\u8bd5\u5efa\u8bae<\/h4>\n<ul>\n<li>\u5206\u6b65\u9a8c\u8bc1&#xff1a;\u5148\u5355\u72ec\u4f7f\u80fd\u65f6\u949f&#xff0c;\u518d\u914d\u7f6e\u6a21\u5f0f&#xff0c;\u6700\u540e\u8f93\u51fa\u6570\u636e&#xff0c;\u6bcf\u6b65\u90fd\u7528\u8c03\u8bd5\u5668\u89c2\u5bdf\u5bc4\u5b58\u5668\u503c\u662f\u5426\u7b26\u5408\u9884\u671f\u3002<\/li>\n<li>\u4f7f\u7528\u8c03\u8bd5\u5668&#xff1a;\u5728 Keil MDK \u4e2d\u8fdb\u5165 Debug \u6a21\u5f0f&#xff0c;\u6253\u5f00 Peripherals \u7a97\u53e3\u67e5\u770b GPIO \u548c RCC \u5bc4\u5b58\u5668\u7684\u5b9e\u65f6\u72b6\u6001&#xff0c;\u5feb\u901f\u5b9a\u4f4d\u914d\u7f6e\u662f\u5426\u751f\u6548\u3002<\/li>\n<li>\u7b80\u5316\u7535\u8def&#xff1a;\u6392\u67e5\u786c\u4ef6\u95ee\u9898\u65f6&#xff0c;\u53ef\u5148\u7528\u4e07\u7528\u8868\u76f4\u63a5\u6d4b\u91cf\u5f15\u811a\u7535\u5e73&#xff0c;\u6392\u9664 LED \u6216\u7535\u963b\u6545\u969c\u7684\u5e72\u6270\u3002<\/li>\n<li>\u5bf9\u7167\u53c2\u8003\u4ee3\u7801&#xff1a;\u5c06\u5b8c\u6574\u9879\u76ee\u4ee3\u7801\u4e0e\u672c\u6587\u793a\u4f8b\u9010\u884c\u5bf9\u6bd4&#xff0c;\u91cd\u70b9\u68c0\u67e5\u65f6\u949f\u4f7f\u80fd\u3001CRL \u914d\u7f6e\u548c ODR \u8f93\u51fa\u4e09\u5904\u5173\u952e\u4ee3\u7801\u3002<\/li>\n<li>\u5584\u7528\u641c\u7d22&#xff1a;\u9047\u5230\u62a5\u9519\u65f6&#xff0c;\u5c06\u9519\u8bef\u4fe1\u606f\u590d\u5236\u5230\u641c\u7d22\u5f15\u64ce\u6216 CSDN \u793e\u533a\u641c\u7d22&#xff0c;\u901a\u5e38\u80fd\u627e\u5230\u540c\u7c7b\u95ee\u9898\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5f15\u8a00&#xff1a;\u672c\u6587\u9762\u5411 STM32 \u521d\u5b66\u8005\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1\u5165\u95e8\u8005&#xff0c;\u65e8\u5728\u901a\u8fc7\u4e00\u4e2a\u5b8c\u6574\u7684\u300c\u70b9\u4eae LED\u300d\u5b9e\u6218\u9879\u76ee&#xff0c;\u5e2e\u52a9\u8bfb\u8005\u7406\u89e3 STM32 \u7684\u547d\u540d\u89c4\u5219\u3001GPIO \u8f93\u5165\u8f93\u51fa\u6a21\u5f0f\u4ee5\u53ca\u5bc4\u5b58\u5668\u914d\u7f6e\u65b9\u6cd5\u3002\u6587\u7ae0\u4ece\u57fa\u7840\u6982\u5ff5\u8bb2\u8d77&#xff0c;\u9010\u6b65\u6df1\u5165\u5230\u6570\u636e\u624b\u518c\u67e5\u9605\u3001\u5bc4\u5b58\u5668\u64cd\u4f5c\u548c\u4ee3\u7801\u5b9e\u73b0&#xff0c;\u6700\u7ec8\u5e26\u9886\u8bfb\u8005\u5b8c\u6210\u4ece\u539f\u7406\u5206\u6790\u5230\u5b9e\u9645\u70b9\u706f\u7684\u5168\u8fc7\u7a0b\u3002\u9605\u8bfb\u672c\u6587\u540e&#xff0c;\u4f60\u5c06\u638c\u63e1\u4f7f\u7528\u5bc4\u5b58\u5668\u76f4\u63a5\u63a7\u5236 STM32 GPIO \u7684\u6838\u5fc3\u65b9\u6cd5&#xff0c;\u4e3a\u540e\u7eed\u5b66\u4e60\u66f4\u590d\u6742\u7684<\/p>\n","protected":false},"author":2,"featured_media":96709,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10187,217,270,269],"topic":[],"class_list":["post-96729","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-codingplan","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>3.STM32\u5bc4\u5b58\u5668\u70b9\u706f\u5b9e\u6218\uff1a\u4ece\u547d\u540d\u89c4\u5219\u5230GPIO\u914d\u7f6e\u5168\u89e3\u6790 - \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\/96729.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"3.STM32\u5bc4\u5b58\u5668\u70b9\u706f\u5b9e\u6218\uff1a\u4ece\u547d\u540d\u89c4\u5219\u5230GPIO\u914d\u7f6e\u5168\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5f15\u8a00&#xff1a;\u672c\u6587\u9762\u5411 STM32 \u521d\u5b66\u8005\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1\u5165\u95e8\u8005&#xff0c;\u65e8\u5728\u901a\u8fc7\u4e00\u4e2a\u5b8c\u6574\u7684\u300c\u70b9\u4eae LED\u300d\u5b9e\u6218\u9879\u76ee&#xff0c;\u5e2e\u52a9\u8bfb\u8005\u7406\u89e3 STM32 \u7684\u547d\u540d\u89c4\u5219\u3001GPIO \u8f93\u5165\u8f93\u51fa\u6a21\u5f0f\u4ee5\u53ca\u5bc4\u5b58\u5668\u914d\u7f6e\u65b9\u6cd5\u3002\u6587\u7ae0\u4ece\u57fa\u7840\u6982\u5ff5\u8bb2\u8d77&#xff0c;\u9010\u6b65\u6df1\u5165\u5230\u6570\u636e\u624b\u518c\u67e5\u9605\u3001\u5bc4\u5b58\u5668\u64cd\u4f5c\u548c\u4ee3\u7801\u5b9e\u73b0&#xff0c;\u6700\u7ec8\u5e26\u9886\u8bfb\u8005\u5b8c\u6210\u4ece\u539f\u7406\u5206\u6790\u5230\u5b9e\u9645\u70b9\u706f\u7684\u5168\u8fc7\u7a0b\u3002\u9605\u8bfb\u672c\u6587\u540e&#xff0c;\u4f60\u5c06\u638c\u63e1\u4f7f\u7528\u5bc4\u5b58\u5668\u76f4\u63a5\u63a7\u5236 STM32 GPIO \u7684\u6838\u5fc3\u65b9\u6cd5&#xff0c;\u4e3a\u540e\u7eed\u5b66\u4e60\u66f4\u590d\u6742\u7684\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/96729.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-28T01:00:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010049-6a90ddc1ce237.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=\"12 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/96729.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/96729.html\",\"name\":\"3.STM32\u5bc4\u5b58\u5668\u70b9\u706f\u5b9e\u6218\uff1a\u4ece\u547d\u540d\u89c4\u5219\u5230GPIO\u914d\u7f6e\u5168\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-28T01:00:58+00:00\",\"dateModified\":\"2026-08-28T01:00:58+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/96729.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/96729.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/96729.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"3.STM32\u5bc4\u5b58\u5668\u70b9\u706f\u5b9e\u6218\uff1a\u4ece\u547d\u540d\u89c4\u5219\u5230GPIO\u914d\u7f6e\u5168\u89e3\u6790\"}]},{\"@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":"3.STM32\u5bc4\u5b58\u5668\u70b9\u706f\u5b9e\u6218\uff1a\u4ece\u547d\u540d\u89c4\u5219\u5230GPIO\u914d\u7f6e\u5168\u89e3\u6790 - \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\/96729.html","og_locale":"zh_CN","og_type":"article","og_title":"3.STM32\u5bc4\u5b58\u5668\u70b9\u706f\u5b9e\u6218\uff1a\u4ece\u547d\u540d\u89c4\u5219\u5230GPIO\u914d\u7f6e\u5168\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5f15\u8a00&#xff1a;\u672c\u6587\u9762\u5411 STM32 \u521d\u5b66\u8005\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1\u5165\u95e8\u8005&#xff0c;\u65e8\u5728\u901a\u8fc7\u4e00\u4e2a\u5b8c\u6574\u7684\u300c\u70b9\u4eae LED\u300d\u5b9e\u6218\u9879\u76ee&#xff0c;\u5e2e\u52a9\u8bfb\u8005\u7406\u89e3 STM32 \u7684\u547d\u540d\u89c4\u5219\u3001GPIO \u8f93\u5165\u8f93\u51fa\u6a21\u5f0f\u4ee5\u53ca\u5bc4\u5b58\u5668\u914d\u7f6e\u65b9\u6cd5\u3002\u6587\u7ae0\u4ece\u57fa\u7840\u6982\u5ff5\u8bb2\u8d77&#xff0c;\u9010\u6b65\u6df1\u5165\u5230\u6570\u636e\u624b\u518c\u67e5\u9605\u3001\u5bc4\u5b58\u5668\u64cd\u4f5c\u548c\u4ee3\u7801\u5b9e\u73b0&#xff0c;\u6700\u7ec8\u5e26\u9886\u8bfb\u8005\u5b8c\u6210\u4ece\u539f\u7406\u5206\u6790\u5230\u5b9e\u9645\u70b9\u706f\u7684\u5168\u8fc7\u7a0b\u3002\u9605\u8bfb\u672c\u6587\u540e&#xff0c;\u4f60\u5c06\u638c\u63e1\u4f7f\u7528\u5bc4\u5b58\u5668\u76f4\u63a5\u63a7\u5236 STM32 GPIO \u7684\u6838\u5fc3\u65b9\u6cd5&#xff0c;\u4e3a\u540e\u7eed\u5b66\u4e60\u66f4\u590d\u6742\u7684","og_url":"https:\/\/www.wsisp.com\/helps\/96729.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-28T01:00:58+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260828010049-6a90ddc1ce237.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"12 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/96729.html","url":"https:\/\/www.wsisp.com\/helps\/96729.html","name":"3.STM32\u5bc4\u5b58\u5668\u70b9\u706f\u5b9e\u6218\uff1a\u4ece\u547d\u540d\u89c4\u5219\u5230GPIO\u914d\u7f6e\u5168\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-28T01:00:58+00:00","dateModified":"2026-08-28T01:00:58+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/96729.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/96729.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/96729.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"3.STM32\u5bc4\u5b58\u5668\u70b9\u706f\u5b9e\u6218\uff1a\u4ece\u547d\u540d\u89c4\u5219\u5230GPIO\u914d\u7f6e\u5168\u89e3\u6790"}]},{"@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\/96729","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=96729"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/96729\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/96709"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=96729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=96729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=96729"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=96729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}