            免责声明:
Demo Code仅供参考,目的是为了缩短开发者熟悉产品外设的时间.
若直接或间接使用Demo Code代码,由使用者承担因此产生的风险和责任.
==================================================
     Demo PVD level6说明:
----- SINOMCU-AE
----- 2022-01-08:
1) 软件:Keil MDK-Lite  Version: 5.36.0.0
2) 硬件:SinoMCU MS32F031 EvaluationBoard V1.1(2021-11-25)
3.1)硬件连接:
        跳线帽(默认):JP1(3.3V);JP3短接;JP2,JP8,9,10短接;BOOT(0); 
        EV板使用外部供电,仿真器及串口进行电平转换;调节外部供电电压测试.
3.2)程序主要功能:
        使能PVD检测,检测VDD低于Level6时中断;中断服务函数置Flag,主程序查询Flag.
        LED1闪烁周期默认1S(高+低,宏定义COUNT_PERIOD修改默认值),VDD低于Level6时LED1闪烁周期默认250ms.
3.3)串口调试信息输出:
        若宏定义EN_PRINT_UART(USART1_CFG.h)为1,则程序输出程序运行信息.相关设置如下:
        1) P2-TX(PA2)连接USB转UART的RX;
        2) PC机串口工具对应的串口,波特率115200;8bit,无校验,1个停止位;字符串格式.
*****PVD level6 Example*****
--Inf:System Core Clock 8000000 Hz.
--Inf: running count:1
--Inf: running count:2
--Inf: running count:3
--Inf: running count:4
--Inf:!!!PVD detect!
--Inf:!!!Still in previous status!
--Inf: running count:5
--Inf:!!!Still in previous status!
……
--Inf: running count:23
--Inf:!!!Still in previous status!
--Inf: running count:24
--Inf: running count:25
==================================================