================================================================================ 样例使用说明 Sample Description ================================================================================ 功能描述: 此样例演示了PVD电压检测功能。当供电电压低于3.0V时,LED会点亮,高于3.0V时,LED灯 会熄灭。 Function descriptions: This sample demonstrates the PVD (Programmable Voltage Detector) voltage detection functionality. When the supply voltage is lower than 3.0V, the LED will light up. When the supply voltage is higher than 3.0V, the LED will turn off. ================================================================================ 测试环境: 测试用板:PY32F403_STK MDK版本:5.28 IAR版本:9.20 GCC版本:GNU Arm Embedded Toolchain 10.3-2021.10 Test environment: Test board: PY32F403_STK MDK Version: 5.28 IAR Version: 9.20 GCC Version: GNU Arm Embedded Toolchain 10.3-2021.10 ================================================================================ 使用步骤: 1. 编译下载程序到MCU,并运行; 2. 调整MCU的供电电压低于3.0V,LED点亮; 3. 调整MCU的供电电压高于3.0V,LED熄灭; Example execution steps: 1. Compile and download the program to the MCU and run it; 2. Adjust the supply voltage of the MCU to be lower than 3.0V, the LED will light up; 3. Adjust the supply voltage of the MCU to be higher than 3.0V, the LED will turn off. ================================================================================ 注意事项: Notes: ================================================================================