1˵
    1TIM3 CH2ؼƵ
2ʹû
    KEIL MDK-ARM V5.34.0.0
    Ӳ 
        N32G05xϵУ
            N32G05xRBQ7_STB V1.0
        N32G05xϵУ
            N32G05xRBL7_STB V1.0
3ʹ˵
    ϵͳ:
        1ʱԴ
                    HSI=8M,SYS CLK=64M,TIM3 CLK=64M
        2жϣ
                    TIM3 CH2жϴ
        3˿ã
                    PA8ѡΪTIM3 CH2
                    PA3ѡΪIO 
        4TIM
                    TIM3 CH2 زжϴ
    ʹ÷
        1򿪵ģʽPA3PA8TIM3Freqӵwatch
        2ͨԴ޸gOnePulsEnΪ1PA3еƽת
        3PA3ƽת󣬲鿴TIM3FreqƵֵ
4ע
        ̿ɲؼʱΪ65536*TIM3_CLK
	
	
	
1. Function description
     1. TIM3 CH2 rising edge calculation frequency
2. Use environment
	Software development environment: KEIL MDK-ARM V5.34.0.0
    Hardware development environment:
         N32G05x series:
            Developed based on the evaluation board N32G05xRBQ7_STB V1.0
         N32G05x series:
            Developed based on the evaluation board N32G05xRBL7_STB V1.0
3. Instructions for use
    System Configuration;
        1. Clock source:
                     HSI=8M,SYS CLK=64M,TIM3 CLK=64M
         2. Interruption:
                     TIM3 CH2 rising edge interrupt is turned on
         3. Port configuration:
                     PA8 is selected as TIM3 CH2 input
                     PA3 is selected as IO output
         4. TIM:
                     TIM3 CH2 rising edge capture interrupt is turned on
     Instructions:
         1. After compiling, open the debug mode, connect PA3 and PA8, and add the variable TIM3Freq to the watch window
         2. Modify gOnePulsEn to 1 in the debug mode and flip the PA3 pin level
         3. After the program controls the level of PA3 to flip, check the frequency value calculated by TIM3Freq
4. Matters needing attention
     The maximum time between rising edges that can be captured by this demo is 65536 * TIM3_CLK
	