1、功能说明
    1、systick 100ms触发TIM1输出6步换相波形
2、使用环境
    软件开发环境：  KEIL MDK-ARM V5.34.0.0
    硬件环境：        N32G003F5S7-STB V1.0
3、使用说明
    系统配置:
        1、时钟源：
                    AHB=48M,APB=48M,TIM1 CLK=48M
        2、中断：
                    TIM1 COM事件中断打开，优先级1
                    Systick 100ms中断，优先级0
        3、端口配置：
                    PA6择为TIM1 CH1输出
                    PA7选择为TIM1 CH2输出
                    PA11选择为TIM1 CH3输出
                    PA13选择为TIM1 CH1N输出
                    PA12选择为TIM1 CH2N输出
                    PA2选择为TIM1 CH3N输出
                    PA5选择为TIM1 Breakin输入
        4、TIM：
                    TIM1 6路互补冻结输出模式，无刹车，开COM中断
    使用方法：
        1、编译后打开调试模式，用示波器或者逻辑分析仪观察TIM1的输出波形
        2、每隔100ms systick触发COM中断，在TIM的COM中断里面输出AB AC BC BA CA CB的6步换相波形
4、注意事项
       开发板默认PA2、PA3跳帽接到NSLINK的虚拟串口，若工程中PA2、PA3不作串口，用作其他用途，须拔掉串口跳帽。

1. Function description
    1. systick triggers TIM1 for 100ms to output 6-step commutation waveform
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,TIM1 CLK=48M
        2. Interrupt:
                    TIM1 COM event interrupt on, priority 1
                    Systick 100ms interrupt, priority 0
        3. Port configuration:
                    PA6 is selected as TIM1 CH1 output
                    PA7 is selected as TIM1 CH2 output
                    PA11 is selected as TIM1 CH3 output
                    PA13 is selected as TIM1 CH1N output
                    PA12 is selected as TIM1 CH2N output
                    PA2 is selected as TIM1 CH3N output
                    PA5 is selected as TIM1 Breakin input
        4. TIM:
                    TIM1 6-channel complementary freeze output mode, no brake, open COM interrupt
    Instructions:
        1. Open the debug mode after compiling, and observe the output waveform of TIM1 with an oscilloscope or logic analyzer
        2. The systick triggers the COM interrupt every 100ms, and outputs the 6-step commutation waveform of AB AC BC BA CA CB in the COM interrupt of the TIM
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.

