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
+9
View File
@@ -136,6 +136,15 @@ void usart1_irq_handler(void);
/******************************************************************************/
/* >>>>>>>>>>>>>>>>>>>>[POWER HOLD(PMOS 自锁保持脚)]<<<<<<<<<<<<<<<<<<<< */
/* PA11:上电保持脚——main 入口即初始化为推挽输出高(先于一切外设初始化),
维持 PMOS 导通;复位期间由外部电路(按键/上拉)保持。 */
#define PWR_HOLD_RCU RCU_GPIOA
#define PWR_HOLD_PORT GPIOA
#define PWR_HOLD_PIN GPIO_PIN_11
/******************************************************************************/
#define DEBUG_UART USART1
#endif //BOARD_CONFIG_H