1、功能说明
     1.LPTIM统计IN1 IN2非正交编码的下降沿个数
2、使用环境
     软件开发环境：KEIL MDK-ARM V5.34.0.0
                   IAR EWARM V8.50.1
     硬件环境：基于N32G430C8L7-STB V1.0开发
3、使用说明
     系统配置;
         1.时钟源：
            HSE=8M,PLL=128M,AHB=128M,APB1=32M,APB2=64M,LPTIM CLK=LSI 40K
         2.端口配置：
            PB5被选为LPTIME IN1输入
            PB7被选为LPTIME IN2输入
            PA1被选为IO输出
            PA7被选为IO输出
         3. LPTIM：
            LPTIM非正交编码器模式，使用内部LSI时钟连续计数IN1 IN2下降沿的个数
     指示：
         1.编译后打开debug模式，连接PA1和PB5，PA7和PB7，在watch window中加入变量encCNT
         2.程序运行后，PA1 PA7输出20个脉冲周期，encCNT等于20
4、注意事项
     无


1. Function description
    1. LPTIM counts the number of falling edges of IN1 IN2 non-orthogonal coding
2. Use environment
    Software development environment: KEIL MDK-ARM V5.34.0.0
    Hardware environment: Developed based on the evaluation board N32G430C8L7-STB V1.0
3. Instructions for use
    System Configuration;
        1. Clock source:
           HSE=8M,PLL=128M,AHB=128M,APB1=32M,APB2=64M,LPTIM CLK=LSI 40K
        2. Port configuration:
           PB5 is selected as LPTIME IN1 input
           PB7 is selected as LPTIME IN2 input
           PA1 is selected as IO output
           PA7 is selected as IO output
        3. LPTIM:
           LPTIM non-quadrature encoder mode, use the internal LSI clock to continuously count the number of falling edges of IN1 IN2
    Instructions:
        1. Open the debug mode after compiling, connect PA1 and PB5, PA7 and PB7, and add the variable encCNT to the watch window
        2. After the program runs, PA1 PA7 outputs 20 pulse cycles, and encCNT is equal to 20
4. Matters needing attention
    none