1、功能说明
    此示例展示了如何使用外部事件作为SHRTIM的置位源和复位源

2、使用环境
    软件开发环境：KEIL MDK-ARM 5.34
                  IAR EWARM 8.50.1

    芯片支持：
        N32H760
        N32H762
        N32H765
        N32H785
        N32H785EC
        N32H787    

3、使用说明
    系统配置：
        1、 时钟源：
            HSE=25M,SHRPLL=312.5M,M7 clock = 600M,  
            SHRTIM clock(SHRPLL) = 312.5M，High-resolution clock = 10GHz。
        2、 端口配置：
            SHRTIM1_TA1 (PC6)
            SHRTIM1_TA2 (PC7)
            EXEV8 (PB6)
        3、SHRTIM：
            SHRTIM_TIMA 引脚 TA1 和 TA2。TIMA TA1/TA2 的置位和复位源被选择为 EXEV8。
            置位、复位同源时，输出反转。
    使用方法： 
        1、 编译后打开调试。外部方波信号连接到 EXEV8 引脚，信号在 TA1/TA2 上生成与这个外部方波信号频率相同的波形。    

        

4、注意事项
    无
    
    
1. Function description
	This example demonstrates how to use external events as the set source and reset source for SHRTIM

2. Development environment
    Software development environment: KEIL MDK-ARM 5.34
    MCU support：
        N32H760
        N32H762
        N32H765
        N32H785
        N32H785EC
        N32H787  

3. How to use
    System Configuration:
        1. clock source
            HSE=25M,SHRPLL=312.5M,M7 clock = 600M,  
            SHRTIM clock(SHRPLL) = 312.5M，High-resolution clock = 10GHz。
        2. Port configuration:
            SHRTIM1_TA1 (PC6)
            SHRTIM1_TA2 (PC7)
            EXEV8 (PB6)
        3. SHRTIM： 
            The SHRTIM_TIMA pins TA1 and TA2. The set and reset sources for TIMA TA1/TA2 have been selected as EXEV8.
            When set and reset are from the same source, the output is inverted.
    Instructions:
        1. After compilation, open debugging. The external square wave signal is connected to the EXEV8 pin, and a waveform with the same frequency as this external square wave signal is generated on TA1/TA2.

4. Attention
    None