1˵
    1TIM3 CH1 CH2 CH3 CH4ƵͬռձȲͬPWM
2ʹû
      KEIL MDK-ARM V5.34.0.0
    Ӳ      N32G031C8L7-STB V1.0
3ʹ˵
    ϵͳã
        1ʱԴ
                    HSE=8M,PLL=48M,AHB=48M,APB1=48M,APB2=48M,TIM3 CLK=48M
        2˿ã
                    PA6ѡΪTIM3CH1
                    PA7ѡΪTIM3CH2
                    PB0ѡΪTIM3CH3
                    PB1ѡΪTIM3CH4
        3TIM
                    TIM3 CH1 CH2 CH3 CH4ȣռձȲ
    ʹ÷
        1򿪵ģʽʾ߼ǹ۲TIM3 CH1CH2CH3CH4Ĳ
        2к󣬲4·ռձȲͬPWMź
4ע
    

1. Function description
     1. TIM3 CH1 CH2 CH3 CH4 outputs PWM with the same frequency and different duty cycles
2. Use environment
    Software development environment: KEIL MDK-ARM V5.34.0.0
    Hardware environment: Developed based on the evaluation board N32G031C8L7-STB V1.0
3. Instructions for Use
    System configuration
        1. Clock source:
                     HSE=8M, PLL=48M, AHB=48M, APB1=48M, APB2=48M, TIM3 CLK=48M
         2. Port configuration:
                     PA6 is selected as the CH1 output of TIM3
                     PA7 is selected as the CH2 output of TIM3
                     PB0 is selected as the CH3 output of TIM3
                     PB1 is selected as the CH4 output of TIM3
         3. TIM:
                     TIM3 CH1 CH2 CH3 CH4 has the same period, and the duty cycle is not equal
     Instructions:
         1. After compiling, turn on the debug mode, use an oscilloscope or logic analyzer to observe the waveforms of TIM3 CH1, CH2, CH3, CH4
         2. After the program runs, 4 PWM signals with equal period and different duty cycle are generated
4. Matters needing attention
    None