/**
  **************************************************************************
  * @file     readme.txt
  * @brief    readme
  **************************************************************************
  */

  this demo is based on the ht32f49395_sk board, in this demo, shows how to test
  hang mode with an external trigger.

  hang mode test -----
  step1: tmr1 is configured as master timer:
  - toggle mode is used

  step2: tmr1 is configured as slave timer for an external trigger connected
         to tmr1 ti2 pin (tmr1 ch2 configured as input pin):
  - the tmr1 ti2fp2 is used as trigger input
  - rising edge is used to start and stop the tmr1: hang mode.

  the timxclk is fixed to 240 mhz, the prescaler is equal to 2 so the tmrx clock
  counter is equal to 80 mhz.
  the three timers are running at:
  tmrx frequency = tmrx clock counter/ 2*(timx_period + 1) = 500 khz.

  set-up
  connect the following pins to an oscilloscope to monitor the different waveforms:
  - tim1 ch1 ---> pa8
