            免责声明:
Demo Code仅供参考,目的是为了缩短开发者熟悉产品外设的时间.
若直接或间接使用Demo Code代码,由使用者承担因此产生的风险和责任.
==================================================
     Demo GPIO_Key说明:
----- SINOMCU-AE
----- 2021-11-24:
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); 
        若使用调试器供电JP3断开;
3.2)程序主要功能:
        按下按键KEY2(PB4)翻转LED1,下次有效需要抬起按键;        
3.3)串口调试信息输出:
        若宏定义EN_PRINT_UART(USART1_CFG.h)为1,则程序输出程序运行信息.相关设置如下:
        1) P2-TX(PA2)连接USB转UART的RX;
        2) PC机串口工具对应的串口,波特率115200;8bit,无校验,1个停止位;字符串格式.
*****GPIO Key Example*****
--Inf:System Core Clock 8000000 Hz.
--Inf: running count:1
--Inf: running count:2
--Inf: running count:3
--Inf: running count:4
--Inf: Key effective.
--Inf: running count:5
--Inf: running count:6
--Inf: running count:7
--Inf: Key effective.
--Inf: running count:8
--Inf: running count:9
--Inf: running count:10
==================================================

