1˵
    1TIM1 CH2ſCH1TIM3 TIM4
2ʹû
      KEIL MDK-ARM V5.26.2.0
    Ӳ      N32L40XM-STB_V1.0
3ʹ˵
    ϵͳã
        1ʱԴ
            HSE=8M,PLL=64M,AHB=64M,APB1=16M,APB2=32M,TIM1 CLK=64M,TIM3 CLK=32M,TIM4 CLK=32M
        2˿ã
            PA8ѡΪTIM1 CH1
            PA9ѡΪTIM1 CH2
            PA6ѡΪTIM3 CH1
            PB6ѡΪTIM4 CH1
        3TIM
            TIM1 CH2 ſCH1ſTIM3,TIM4
    ʹ÷
        1򿪵ģʽʾ߼ǹ۲TIM1 CH1,TIM3 CH1,TIM4 CH1Ĳ
        2TIM1 CH2ߵƽʱʼ͵ƽֹͣ
4ע
    

1. Function description
     1. TIM1 CH2 gated CH1 and TIM3 TIM4
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,TIM1 CLK=64M,TIM3 CLK=32M,TIM4 CLK=32M
         2. Port configuration:
             PA8 is selected as TIM1 CH1 output
             PA9 is selected as TIM1 CH2 input
             PA6 is selected as TIM3 CH1 output
             PB6 is selected as TIM4 CH1 output
         3. TIM:
             TIM1 CH2 gated CH1, gated TIM3, TIM4
     Instructions:
         1. After compiling, turn on the debug mode, use an oscilloscope or logic analyzer to observe the waveforms of TIM1 CH1, TIM3 CH1, TIM4 CH1
         2. TIM1 CH2 high level timer starts counting, low level stops
4. Matters needing attention
     without