1˵
    1TIM13·
2ʹû
      KEIL MDK-ARM V5.34.0.0
    Ӳ      N32G031C8L7-STB V1.0
3ʹ˵
    ϵͳ:
        1ʱԴ
                    HSE=8M,PLL=48M,AHB=48M,APB1=48M,APB2=48M,TIM1 CLK=48M
        2˿ã
                    PA8ѡΪTIM1 CH1
                    PA9ѡΪTIM1 CH2
                    PA10ѡΪTIM1 CH3
                    PB13ѡΪTIM1 CH1N
                    PB14ѡΪTIM1 CH2N
                    PB15ѡΪTIM1 CH3N
                    PB12ѡΪTIM1 Breakin
        3TIM
                    TIM1 6·IOMɲ
    ʹ÷
        1򿪵ģʽʾ߼ǹ۲TIM1Ĳ
        2ɹ۲쵽3·ΣPB12Ϊ߿ɹر
4ע
       ĬPA9,PA10ñӵNSLINK⴮ڣPA9PA10ڣ;εñ

1. Function description
    1. TIM1 output 3 complementary waveforms
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, TIM1 CLK=48M
        2. Port configuration:
                     PA8 is selected as TIM1 CH1 output
                     PA9 is selected as TIM1 CH2 output
                     PA10 is selected as TIM1 CH3 output
                     PB13 is selected as TIM1 CH1N output
                     PB14 is selected as TIM1 CH2N output
                     PB15 is selected as TIM1 CH3N output
                     PB12 is selected as TIM1 Breakin input
        3. TIM:
            TIM1 6 Complementary with dead-time, with IOM Brake
    Instructions:
        1. Open debugging mode after compilation and observe TIM1 waveform with oscilloscope or logic analyzer
        2. 3 complementary waveforms can be observed, and the output of PB12 pin can be turned off when the pin is high
4. Matters needing attention
    By default, the PA9 and PA10 jumper caps of the development board are connected to the virtual serial port of NSLINK. If PA9 and PA10 are not used as serial ports in the project, and are used for other purposes, the serial port jumper caps must be unplugged.
