{"id":1102,"date":"2024-10-15T17:40:30","date_gmt":"2024-10-15T09:40:30","guid":{"rendered":"https:\/\/aoofoo.com\/?p=1102"},"modified":"2024-10-16T22:37:26","modified_gmt":"2024-10-16T14:37:26","slug":"2-44-%e4%bf%ae%e6%94%b9%e4%b8%bb%e9%a2%91%e4%bd%8e%e5%8a%9f%e8%80%97%e6%a8%a1%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/aoofoo.com\/index.php\/2024\/10\/15\/2-44-%e4%bf%ae%e6%94%b9%e4%b8%bb%e9%a2%91%e4%bd%8e%e5%8a%9f%e8%80%97%e6%a8%a1%e5%bc%8f\/","title":{"rendered":"2.44 \u4fee\u6539\u4e3b\u9891&#038;\u4f4e\u529f\u8017\u6a21\u5f0f"},"content":{"rendered":"<h2>\u4fee\u6539\u4e3b\u9891<\/h2>\n<p>\u4fee\u6539\u4e3b\u9891\u5c31\u662f\u8981\u7814\u7a76\u4e00\u4e0bsystem_stm32f10x.c\u548csystem_stm32f10x.h\u8fd9\u4e24\u4e2a\u6587\u4ef6\u3002<\/p>\n<p>\u8fd9\u4e24\u4e2a\u6587\u4ef6\u5b9e\u7528<span style=\"color: #ff9900;\"><strong>\u914d\u7f6e\u7cfb\u7edf\u65f6\u949f<\/strong><\/span>\u7684\uff0c\u4e5f\u5c31\u662f\u914d\u7f6eRCC\u65f6\u949f\u6811\u3002<\/p>\n<div class=\"sc-collapse\"><div class=\"sc-collapse__header\"><svg class=\"sc-collapse__arrow\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"6 9 12 15 18 9\"\/><\/svg>RCC\u65f6\u949f\u6811<\/div><div class=\"sc-collapse__body\"><div class=\"sc-collapse__content\"><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1106\" src=\"https:\/\/aoofoo.com\/wp-content\/uploads\/2024\/10\/1-20.png\" alt=\"\" width=\"871\" height=\"930\" \/><\/p>\n<p><\/div><\/div><\/div>\n<p>\u8fd9\u8282\u6211\u4eec\u4e3b\u8981\u4e86\u89e3\uff0c\u5916\u90e8\u76848MHz\u6676\u632f\uff0c\u4ed6\u5982\u4f55\u8fdb\u884c\u9009\u62e9\uff0c\u5982\u4f55\u500d\u9891\uff0c\u624d\u80fd\u5f97\u523072MHz\u7684SYSCLK\uff0c\u7cfb\u7edf\u4e3b\u9891\u3002\u7cfb\u7edf\u4e3b\u9891\u5982\u4f55\u53bb\u5206\u914d\uff0c\u624d\u80fd\u5f97\u5230AHB\u3001APB1\u548cAPB2\u7684\u65f6\u949f\u9891\u7387\u3002<\/p>\n<p>\u5728\u6211\u4eec\u4e4b\u524d\u7684\u8bfe\u7a0b\u91cc\uff0c\u4e00\u76f4\u4fdd\u6301\u4e86\u9ed8\u8ba4\u7684\u914d\u7f6e\uff0c\u5c31\u662f\u6676\u632f\u63a5\u7684\u662f8MHz HSE\uff0c\u4e3b\u9891\u662f72MHz\uff0cAHB\u548cAPB2\u662f72MHz\uff0cAPB1\u662f36MHz\u3002\u4f46\u5176\u5b9e\uff0c\u8fd9\u4e9b\u90fd\u4e0d\u662f\u7edd\u5bf9\u7684\uff0c\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u8fdb\u884c\u66f4\u6539\u3002\uff08\u4e00\u822c\u5efa\u8bae\u4e0d\u8981\u6539\uff0c\u7edd\u5927\u591a\u6570\u7a0b\u5e8f\u90fd\u662f\u6309\u7167\u9ed8\u8ba4\u7684\u914d\u7f6e\u6765\u5199\u7684\uff09<\/p>\n<p>system\u8fd9\u4e24\u4e2a\u6587\u4ef6\uff0c\u63d0\u4f9b\u4e86<strong><span style=\"color: #ff9900;\">\u4e24\u4e2a\u5916\u90e8\u53ef\u8c03\u7528\u7684\u51fd\u6570<\/span><\/strong>\u548c\u4e00\u4e2a<strong><span style=\"color: #ff9900;\">\u5916\u90e8\u53ef\u8c03\u7528\u7684\u53d8\u91cf<\/span><\/strong>\uff1a<\/p>\n<p>\u4e24\u4e2a\u5916\u90e8\u53ef\u8c03\u7528\u7684\u51fd\u6570\u662f\uff1aSystemInit()\u548cSystemCoreClockUpdata().<\/p>\n<p>\u4e00\u4e2a\u5916\u90e8\u53ef\u8c03\u7528\u7684\u53d8\u91cf\u662f\uff1aSystemCoreClock.<\/p>\n<p>SystemInit()\u8fd9\u4e2a\u51fd\u6570\u662f\u7528\u6765\u914d\u7f6e\u65f6\u949f\u6811\u7684\uff0c\u4e5f\u662f\u8fd9\u4e2a\u6587\u4ef6\u6700\u91cd\u8981\u7684\u90e8\u5206\uff0c\u4f7f\u7528HSE\u914d\u7f6e\u4e3b\u9891\u4e3a72MHz\uff0c\u5c31\u662f\u8fd9\u4e2a\u51fd\u6570\u5e72\u7684\u6d3b\uff0c\u5e76\u4e14\u8fd9\u4e2a\u51fd\u6570\uff0c\u5728\u590d\u4f4d\u540e\uff0c\u6267\u884cmain\u51fd\u6570\u4e4b\u524d\uff0c\u5728\u542f\u52a8\u6587\u4ef6\u91cc\u81ea\u52a8\u8c03\u7528\u4e86\u3002<\/p>\n<p>SystemCoreClock\u8868\u793a\u4e3b\u9891\u9891\u7387\u7684\u503c\uff0c\u6211\u4eec\u60f3\u77e5\u9053\u76ee\u524d\u7684\u4e3b\u9891\u662f\u591a\u5c11\uff0c\u76f4\u63a5\u663e\u793a\u4e00\u4e0b\u8fd9\u4e2a\u53d8\u91cf\u5c31\u884c\u4e86\u3002<\/p>\n<p>SystemCoreClockUpdata()\uff0c\u8fd9\u4e2a\u662f\u7528\u6765\u66f4\u65b0SystemCoreClock\u8fd9\u4e2a\u53d8\u91cf\u7684\uff0c\u56e0\u4e3a\u8fd9\u4e2a\u53d8\u91cf\u53ea\u6709\u6700\u5f00\u59cb\u7684\u4e00\u6b21\u8d4b\u503c\uff0c\u4e4b\u540e\u5982\u679c\u6211\u4eec\u6539\u53d8\u7684\u4e3b\u9891\u9891\u7387\uff0c\u8fd9\u4e2a\u503c\u4e0d\u4f1a\u8ddf\u7740\u53d8\u6362\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1105\" src=\"https:\/\/aoofoo.com\/wp-content\/uploads\/2024\/10\/1-19.png\" alt=\"\" width=\"1109\" height=\"598\" \/><\/p>\n<p>\u5728 system_stm32f10x.c \u6587\u4ef6\u4e2d \uff0c \u66f4\u6539\u8fd9\u91cc\u7684define\uff0c\u4f1a\u4fee\u6539\u4e0d\u540c\u7684\u4e3b\u9891\u3002<\/p>\n<h2>\u7761\u7720\u6a21\u5f0f\/\u4e32\u53e3\u53d1\u9001\u63a5\u6536<\/h2>\n<p>\u5bf9\u4e8e\u9760\u4e2d\u65ad\u89e6\u53d1\uff0c\u6ca1\u6709\u4e2d\u65ad\u7684\u65f6\u5019\u5c31\u6ca1\u4ec0\u4e48\u4e8b\u7684\u4ee3\u7801\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u7ed9\u5b83\u52a0\u5165\u4f4e\u529f\u8017\u6a21\u5f0f\uff0c\u6ca1\u4e8b\u7684\u65f6\u5019\u5c31\u4f4e\u529f\u8017\uff0c\u4e2d\u65ad\u6765\u4e86\uff0c\u518d\u9192\u6765\u5e72\u6d3b\u5c31\u884c\u4e86\u3002<\/p>\n<p>\u7761\u7720\u6a21\u5f0f\u662fCPU\u65f6\u949f\u5173\u95ed\uff0c\u7a0b\u5e8f\u4e0d\u518d\u6267\u884c\uff0c\u4f46\u662f\u5916\u8bbe\u7684\u65f6\u949f\u4e0d\u4f1a\u5173\uff0cUSART\u786c\u4ef6\u7535\u8def\u8fd8\u662f\u53ef\u4ee5\u63a5\u6536\u6570\u636e\u7684\uff0cUSART\u6536\u5230\u6570\u636e\u540e\uff0c\u4ea7\u751f\u4e2d\u65ad\uff0c\u5524\u9192CPU\u3002<\/p>\n<p>\u7761\u7720\u7a0b\u5e8f\u903b\u8f91\uff1a<\/p>\n<p>\u7a0b\u5e8f\u6b63\u5e38\u8fd0\u884c\uff0c\u8d70\u5230__WFI()\u51fd\u6570\u8fd9\u91cc\uff0c\u7a0b\u5e8f\u8fdb\u5165\u7761\u7720\u72b6\u6001\uff0c\u5982\u679c\u4e32\u53e3\u4e0a\u6709\u4fe1\u606f\uff0c\u90a3\u4e48\u5c31\u4f1a\u7ec8\u6b62\u7761\u7720\u6a21\u5f0f\u6b63\u5e38\u8fd0\u884c\uff0c\u5148\u8fdb\u5165\u4e2d\u65ad\u7a0b\u5e8f\u6267\u884c\u4e2d\u65ad\u51fd\u6570\u4e2d\u7684\u4ee3\u7801\uff0c\u7136\u540e\u518d\u8fdb\u5165\u4e3b\u7a0b\u5e8f\uff0c\u663e\u793a\u63a5\u6536\u5230\u7684\u6570\u636e\uff0c\u7136\u540e\u5c31\u4f1a\u8fdb\u5165\u5230\u65b0\u7684\u7761\u7720\u6a21\u5f0f\u3002<\/p>\n<pre class=\"corepress-code-pre\"><code>int main(void){\r\n\tOLED_Init();\r\n\tSerial_Init();\r\n\tOLED_ShowString(1,1,\"RxData:\");\r\n\t\r\n\twhile(1)\r\n\t{\r\n\t\tif(Serial_GetRxFlag() == 1)\r\n\t\t{\t\r\n\t\t\tRxData = Serial_GetRxData();\r\n\t\t\tSerial_SendByte(RxData);\r\n\t\t\tOLED_ShowHexNum(1,8,RxData,2);\r\n\t\t}\r\n\t\t\r\n\t\tOLED_ShowString(2,1,\"Running\");\r\n\t\tDelay_ms(100);\r\n\t\tOLED_ShowString(2,1,\"        \");\r\n\t\tDelay_ms(100);\r\n\t\t\r\n\t\t__WFI();\/\/\u4e2d\u65ad\u5524\u9192\r\n\t}\r\n}<\/code><\/pre>\n<h2>\u505c\u6b62\u6a21\u5f0f\/\u5bf9\u5c04\u5f0f\u7ea2\u5916\u4f20\u611f\u5668\u8ba1\u6b21<\/h2>\n<p>\u505c\u6b62\u6a21\u5f0f\u53ea\u80fd\u901a\u8fc7\u5916\u90e8\u4e2d\u65ad\u6765\u89e6\u53d1\uff0c\u6240\u4ee5\u548c\u505c\u6b62\u6a21\u5f0f\u76f8\u5173\u7684\u4ee3\u7801\uff0c\u80af\u5b9a\u5c31\u8981\u7528\u5916\u90e8\u4e2d\u65ad\u3002<\/p>\n<p>\u5bf9\u4e8e\u201c\u5bf9\u5c04\u5f0f\u7ea2\u5916\u4f20\u611f\u5668\u8ba1\u6b21\u201d\uff0c\u53ea\u6709\u5f53\u6709\u4e1c\u897f\u906e\u6321\u7ea2\u5916\u7ebf\u65f6\uff0c\u6a21\u5757\u4f1a\u7ed9STM32\u53d1\u9001\u4e00\u4e2a\u5916\u90e8\u4e2d\u65ad\u4fe1\u53f7\uff0c\u6240\u4ee5\u8fd9\u4e2a\u7a0b\u5e8f\u662f\u53ef\u4ee5\u4f7f\u7528\u505c\u6b62\u6a21\u5f0f\u6765\u7701\u7535\u7684\u3002<\/p>\n<p>\u5728\u505c\u6b62\u6a21\u5f0f\u4e0b\uff0c1.8V\u533a\u57df\u7684\u65f6\u949f\u5173\u95ed\uff0cCPU\u548c\u5916\u8bbe\u90fd\u6ca1\u6709\u65f6\u949f\u4e86\uff0c\u4f46\u662f\u5916\u90e8\u4e2d\u65ad\u7684\u5de5\u4f5c\u662f\u4e0d\u9700\u8981\u65f6\u949f\u7684\uff0c\u8fd9\u70b9\u4e5f\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u770b\u51fa\uff0c\u5728\u521d\u59cb\u5316\u7684\u65f6\u5019\u6839\u672c\u6ca1\u6709\u5f00\u542fEXTI\u65f6\u949f\u7684\u53c2\u6570\uff0c\u8fd9\u4e5f\u662fEXTI\u80fd\u5728\u65f6\u949f\u5173\u95ed\u7684\u60c5\u51b5\u4e0b\u5de5\u4f5c\u7684\u539f\u56e0\uff0c\u56e0\u4e3a\u5b83\u4e0d\u9700\u8981\u65f6\u949f\u3002<\/p>\n<p>\u521a\u624d\u5199\u7684\u7761\u7720\u6a21\u5f0f\u5176\u5b9e\u90fd\u662f\u5185\u6838\u7684\u64cd\u4f5c\uff0c\u7761\u7720\u6a21\u5f0f\u6d89\u53ca\u7684\u51e0\u4e2a\u5bc4\u5b58\u5668\uff0c\u4e5f\u90fd\u662f\u5728\u5185\u6838\u91cc\uff0c\u8ddfPWR\u5916\u8bbe\u5173\u7cfb\u4e0d\u5927\uff0c\u6240\u4ee5\u521a\u624d\u5f00\u542f\u7761\u7720\u6a21\u5f0f\u90fd\u6ca1\u6709\u7528\u5230PWR\u7684\u5e93\u51fd\u6570\u3002\u4e0d\u8fc7\u73b0\u5728\u505c\u6b62\u6a21\u5f0f\uff0c\u6d89\u53ca\u5230\u5185\u6838\u4e4b\u5916\u7684\u7535\u8def\u64cd\u4f5c\uff0c\u8fd9\u5c31\u9700\u8981\u7528\u5230PWR\u5916\u8bbe\u4e86\u3002<\/p>\n<div class=\"sc-collapse\"><div class=\"sc-collapse__header\"><svg class=\"sc-collapse__arrow\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"6 9 12 15 18 9\"\/><\/svg>PWR\u5e93\u51fd\u6570<\/div><div class=\"sc-collapse__body\"><div class=\"sc-collapse__content\"><\/p>\n<p>void PWR_DeInit(void);\/\/\u6062\u590d\u7f3a\u7701\u914d\u7f6e<br \/>\nvoid PWR_BackupAccessCmd(FunctionalState NewState);\/\/\u4f7f\u80fd\u540e\u5907\u533a\u57df\u7684\u8bbf\u95ee<br \/>\nvoid PWR_PVDCmd(FunctionalState NewState);\/\/\u4f7f\u80fdPVD\u529f\u80fd<br \/>\nvoid PWR_PVDLevelConfig(uint32_t PWR_PVDLevel);\/\/\u914d\u7f6ePVD\u7684\u9608\u503c\u7535\u538b<br \/>\nvoid PWR_WakeUpPinCmd(FunctionalState NewState);\/\/\u4f7f\u80fd\u4f4d\u4e8ePA0\u4f4d\u7f6e\u7684WKUP\u5f15\u811a\uff08\u5f85\u673a\u6a21\u5f0f\u53ef\u4ee5\u7528WKUP\u7684\u4e0a\u5347\u6cbf\u5524\u9192\uff09<br \/>\nvoid PWR_EnterSTOPMode(uint32_t PWR_Regulator, uint8_t PWR_STOPEntry);\/\/\u8fdb\u5165\u505c\u6b62\u6a21\u5f0f<br \/>\nvoid PWR_EnterSTANDBYMode(void);\/\/\u8fdb\u5165\u5f85\u673a\u6a21\u5f0f<br \/>\nFlagStatus PWR_GetFlagStatus(uint32_t PWR_FLAG);\/\/\u83b7\u53d6\u6807\u5fd7\u4f4d<br \/>\nvoid PWR_ClearFlag(uint32_t PWR_FLAG);\/\/\u6e05\u9664\u6807\u5fd7\u4f4d<\/p>\n<p><\/div><\/div><\/div>\n<p>\u505c\u6b62\u6a21\u5f0f\u548c\u5f85\u673a\u6a21\u5f0f\u90fd\u9700\u8981PWR\u5916\u8bbe\u5e72\u6d3b\uff0c\u6240\u4ee5\u6211\u4eec\u9996\u5148\u8981\u5f00\u542fPWR\u7684\u65f6\u949f\u3002<\/p>\n<pre class=\"corepress-code-pre\"><code>int main(void)\r\n{\r\n\t\/*\u6a21\u5757\u521d\u59cb\u5316*\/\r\n\tOLED_Init();\t\t\t\/\/OLED\u521d\u59cb\u5316\r\n\tCountSensor_Init();\t\t\/\/\u8ba1\u6570\u4f20\u611f\u5668\u521d\u59cb\u5316\r\n\t\r\n\t\/*\u663e\u793a\u9759\u6001\u5b57\u7b26\u4e32*\/\r\n\tOLED_ShowString(1, 1, \"Count:\");\t\/\/1\u884c1\u5217\u663e\u793a\u5b57\u7b26\u4e32Count:\r\n\t\r\n\tRCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR,ENABLE);\r\n\t\r\n\twhile (1)\r\n\t{\r\n\t\tOLED_ShowNum(1, 7, CountSensor_Get(), 5);\t\t\/\/OLED\u4e0d\u65ad\u5237\u65b0\u663e\u793aCountSensor_Get\u7684\u8fd4\u56de\u503c\r\n\t\t\r\n\t\tOLED_ShowString(2,1,\"Running\");\r\n\t\tDelay_ms(100);\r\n\t\tOLED_ShowString(2,1,\"        \");\r\n\t\tDelay_ms(100);\r\n\t\t\r\n\t\tPWR_EnterSTOPMode(PWR_Regulator_ON,PWR_STOPEntry_WFI);\r\n\t}\r\n}<\/code><\/pre>\n<p>\u53ef\u4ee5\u770b\u5230\u7684\u73b0\u8c61\u662f\uff0cRunning\u5728\u6ca1\u6709\u4e1c\u897f\u906e\u6321\u7ea2\u5916\u4f20\u611f\u5668\u7684\u60c5\u51b5\u4e0b\u4e0d\u518d\u95ea\u70c1\uff0c\u8bc1\u660e\u8fdb\u5165\u5230\u4e86\u505c\u6b62\u6a21\u5f0f\uff0c\u4f46\u540c\u65f6\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u53d1\u73b0\uff0cRunning\u7684\u95ea\u70c1\u901f\u5ea6\u660e\u663e\u53d8\u6162\u4e86\uff0c\u8fd9\u662f\u56e0\u4e3a\u9000\u51fa\u505c\u6b62\u6a21\u5f0f\u65f6\uff0cHSI\u88ab\u9009\u4e3a\u7cfb\u7edf\u65f6\u949f\uff0c\u800cHSI\u662f8MHz\uff0c\u6240\u4ee5\u5524\u9192\u4e4b\u540e\u7684\u7a0b\u5e8f\uff0c\u8fd0\u884c\u5c31\u4f1a\u660e\u663e\u53d8\u6162\uff0c\u89e3\u51b3\u65b9\u6cd5\u4e5f\u5f88\u7b80\u5355\uff0c\u6211\u4eec\u53ea\u9700\u8981\u5728\u505c\u6b62\u6a21\u5f0f\u4e4b\u540e\uff0c\u91cd\u65b0\u8c03\u7528SystemInit()\u51fd\u6570\uff0c\u91cd\u65b0\u542f\u52a8HSE\u914d\u7f6e72MHz\u4e3b\u9891\u5c31\u884c\u4e86\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u5f85\u673a\u6a21\u5f0f\/\u5b9e\u65f6\u65f6\u949f<\/h2>\n<p>\u8fd9\u4e2a\u7a0b\u5e8f\u6211\u4eec\u7684\u4e3b\u8981\u4efb\u52a1\u5c31\u662f\uff1a<\/p>\n<p>1.\u8bbe\u7f6eRTC\u95f9\u949f\u3002<\/p>\n<p>2.\u8fdb\u5165\u5f85\u673a\u6a21\u5f0f\u3002<\/p>\n<p>3.\u4f7f\u7528\u95f9\u949f\u4fe1\u53f7\uff0c\u5524\u9192\u5f85\u673a\u6a21\u5f0f\u3002<\/p>\n<p>\u8fdb\u5165\u5f85\u673a\u6a21\u5f0f\u540e\u518d\u88ab\u5524\u9192\uff0c\u7a0b\u5e8f\u662f\u4ece\u5934\u5f00\u59cb\u8fd0\u884c\u7684\uff0c\u6240\u4ee5PWR_EnterSTANDBYMode()\u51fd\u6570\uff0c\u8fdb\u5165\u5f85\u673a\u6a21\u5f0f\u4e4b\u540e\u7684\u4ee3\u7801\u4e5f\u4e0d\u4f1a\u518d\u88ab\u8fd0\u884c\u3002<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"corepress-code-pre\"><code>int main(void)\r\n{\r\n\tOLED_Init();\r\n\tMyRTC_Init();\r\n\t\r\n\t\/\/\u5f00\u542fPWR\u65f6\u949f\r\n\tRCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR,ENABLE);\r\n\t\r\n\tOLED_ShowString(1,1,\"CNT :\");\/\/\u79d2\u8ba1\u6570\u5668\r\n\tOLED_ShowString(2,1,\"ALR :\");\/\/\u95f9\u949f\u503c\r\n\tOLED_ShowString(3,1,\"ALRF:\");\/\/\u95f9\u949f\u503c\u6807\u5fd7\u4f4d\r\n\t\r\n\tuint32_t Alarm = RTC_GetCounter()+10;\r\n\t\r\n\t\/\/\u5728\u6bcf\u6b21\u590d\u4f4d\u540e\u8bbe\u7f6e\u95f9\u949f\u503c,\u95f9\u949f\u503c\u662f10s\u540e\r\n\tRTC_SetAlarm(Alarm);\r\n\tOLED_ShowNum(2,6,Alarm,10);\r\n\t\r\n\twhile(1)\r\n\t{\t\r\n\t\tOLED_ShowNum(1,6,RTC_GetCounter(),10);\r\n\t\tOLED_ShowNum(3,6,RTC_GetFlagStatus(RTC_FLAG_ALR),1);\r\n\t\t\r\n\t\tOLED_ShowString(4,1,\"Running\");\r\n\t\tDelay_ms(100);\r\n\t\tOLED_ShowString(4,1,\"       \");\r\n\t\tDelay_ms(100);\r\n\t\t\r\n\t\tPWR_EnterSTANDBYMode();\r\n\t}\r\n\t\r\n}<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4fee\u6539\u4e3b\u9891 \u4fee\u6539\u4e3b\u9891\u5c31\u662f\u8981\u7814\u7a76\u4e00\u4e0bsystem_stm32f10x.c\u548csystem_stm32f10x.h\u8fd9\u4e24 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1102","post","type-post","status-publish","format-standard","hentry","category-stm32"],"_links":{"self":[{"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/posts\/1102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/comments?post=1102"}],"version-history":[{"count":11,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/posts\/1102\/revisions"}],"predecessor-version":[{"id":1115,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/posts\/1102\/revisions\/1115"}],"wp:attachment":[{"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/media?parent=1102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/categories?post=1102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/tags?post=1102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}