1˵
    1TIM3 CH2ؼƵ
2ʹû
      KEIL MDK-ARM V5.26.2.0
    Ӳ      N32L40XM-STB_V1.0
3ʹ˵
    ϵͳã
        1ʱԴ
            HSE=8M,PLL=64M,AHB=64M,APB1=16M,APB2=32M,TIM3 CLK=32M
        2жϣ
            TIM3 CH2жϴ򿪣ȼ0ȼ1
        3˿ã
            PA7ѡΪTIM3 CH2
            PA3ѡΪIO 
        4TIM
            TIM3 CH2 زжϴ
    ʹ÷
        1򿪵ģʽPA3PA7TIM3Freqӵwatch
        2PA3ƽת󣬲鿴TIM3FreqƵֵ
4ע
    

1. Function description
     1. TIM3 CH2 rising edge calculation frequency
2. Use environment
     Software development environment: KEIL MDK-ARM V5.26.2.0
     Hardware environment: Developed based on N32L40XM-STB_V1.0
3. Instructions for use
     System Configuration;
         1. Clock source:
             HSE=8M,PLL=64M,AHB=64M,APB1=16M,APB2=32M,TIM3 CLK=32M
         2. Interruption:
             TIM3 CH2 rising edge interrupt is turned on, the preemption priority is 0, and the subpriority is 1
         3. Port configuration:
             PA7 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 PA7, and add the variable TIM3Freq to the watch window
         2. After the program controls the level of PA3 to flip, check the frequency value calculated by TIM3Freq
4. Matters needing attention
     without