Add PA11 power-hold output (PMOS self-latch keep-alive)

This commit is contained in:
2026-10-10 09:51:51 +08:00
parent 9c7aafb78c
commit 6246a87c3c
16 changed files with 2573 additions and 3 deletions
+4
View File
@@ -14,6 +14,7 @@
#include "command.h"
#include "ntc.h"
#include "led.h"
#include "pwr_hold.h"
#include <stdio.h>
#include "board_config.h"
@@ -25,6 +26,9 @@
*/
int main(void)
{
/* 电源保持脚最先初始化:上电立即拉高 PA11 维持 PMOS 导通(先于一切外设) */
pwr_hold_init();
led_init();
systick_config();