readme.txt 544 B

123456789101112131415161718
  1. /*!
  2. \file readme.txt
  3. \brief description of the comparator interrupt demo
  4. */
  5. /*
  6. Copyright (C) 2017 GigaDevice
  7. 2017-06-06, V1.0.0, firmware for GD32F3x0
  8. */
  9. This demo is based on the GD32350R-EVAL board, it shows how to configure the
  10. comparator trigger interrupt using an external interrupt line. In this demo,input
  11. 3.3V to PA1, EXTI line 21 is configured to generate an interrupt on rising edge
  12. of the output signal. After system start-up, enable comparator and trigger interrupt,
  13. then LED2 is on.
  14. Connect PA1 to +3V3.