1˵
    1TIM3 CH1 CH2 ﵽCCֵתұȽֵۼ
2ʹû
      KEIL MDK-ARM V5.34.0.0
    Ӳ        N32G003F5S7-STB V1.0
3ʹ˵
    ϵͳã
        1ʱԴ
                    AHB=48M,APB=48M,TIM3 CLK=48M
        2жϣ
                    TIM3 Ƚжϴ򿪣ȼ0
        3˿ã
                    PA1ѡΪTIM3CH1
                    PA2ѡΪTIM3CH2
        4TIM
                    TIM3 úCH1 CH2 ıȽֵת򿪱Ƚж
    ʹ÷
        1򿪵ģʽʾ߼ǹ۲TIM3 CH1 CH2Ĳ
        2ÿﵽȽֵʱתͬıȽֵռձΪ50%
4ע
       ĬPA2,PA3ñӵNSLINK⴮ڣPA2PA3ڣ;εñ

1. Function description
    1. After TIM3 CH1 CH2 reaches the CC value, the output is flipped, and the comparison value is accumulated
2. Use environment
    Software development environment: 	KEIL MDK-ARM V5.34.0.0
    Hardware environment:    	             	N32G003F5S7-STB V1.0
3. Instructions for use
    System Configuration;
        1. Clock source:
	    AHB=48M,APB=48M,TIM3 CLK=48M
        2. Interrupt:
                    TIM3 compare interrupt on, priority 0
        3. Port configuration:
                    PA1 is selected as the CH1 output of TIM3
                    PA2 is selected as the CH2 output of TIM3
        4. TIM:
                    TIM3 configures the comparison value output of CH1 CH2 to flip, and open the comparison interrupt
    Instructions:
        1. Open the debug mode after compiling, and observe the waveforms of CH1 CH2 of TIM3 with an oscilloscope or logic analyzer
        2. Whenever the comparison value is reached, the output is flipped, and the same comparison value is increased again, and the waveform duty cycle is 50%
4. Matters needing attention
    By default, the PA2 and PA3 jumper caps of the development board are connected to the virtual serial port of NSLINK. If PA2 and PA3 are not used as serial ports in the project, and are used for other purposes, the serial port jumper caps must be unplugged.
