1˵
    1TIM3 CH1 CH2 CH3 CH4 CCֵʱжϣתIOƽ
2ʹû
      KEIL MDK-ARM V5.34.0.0
    Ӳ      N32G031C8L7-STB V1.0
3ʹ˵
    ϵͳã
        1ʱԴ
            HSE=8M,PLL=48M,AHB=48M,APB1=12M,APB2=48M,TIM3 CLK=24M
        2жϣ
            TIM3 Ƚжϴ򿪣ȼ1
        3˿ã
                    PA6ѡΪIO
                    PA7ѡΪIO
                    PA8ѡΪIO
                    PA9ѡΪIO
        4TIM
                    TIM3ģʽCH1 CH2 CH3 CH4Ƚֵж
    ʹ÷
        1򿪵ģʽʾ߼ǹ۲PA6PA7PA8PA9Ĳ
        2к󣬶ӦͨﵽȽֵ󣬱ȽֵۼӲתӦIOڵƽ
4ע
   ĬPA9,PA10ñӵNSLINK⴮ڣPA9PA10ڣ;εñ

1. Function description
     1. TIM3 uses the CH1 CH2 CH3 CH4 CC value to generate a timing interrupt and flip the IO level
2. Use environment
     Software development environment: KEIL MDK-ARM V5.34.0.0
     Hardware Environment: Developed based on N32G031C8L7-STB V1.0
3. Instructions for use
     System Configuration;
         1. Clock source:
             HSE=8M, PLL=48M, AHB=48M, APB1=12M, APB2=48M, TIM3 CLK=24M
         2. Interruption:
             TIM3 compare interrupt is turned on, priority level 1
         3. Port configuration:
                     PA6 is selected as IO output
                     PA7 is selected as IO output
                     PA8 is selected as IO output
                     PA9 is selected as IO output
         4. TIM:
                     TIM3 output freeze mode, CH1 CH2 CH3 CH4 compare value interrupt
     Instructions:
         1. Open the debug mode after compiling, and observe the waveform of PA6,PA7,PA8,PA9 with an oscilloscope or logic analyzer
         2. After the program runs, after the corresponding channel reaches the comparison value, the comparison value accumulates and flips the corresponding IO port level
Matters needing attention
     None