generated from hulk/gd32f4xx_template_cmake_vscode
Add PA11 power-hold output (PMOS self-latch keep-alive)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user