readme.txt 800 B

123456789101112131415161718192021222324
  1. /*!
  2. \file readme.txt
  3. \brief description of the ADC analog watchdog 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
  10. use the ADC analog watchdog to guard continuously an ADC channel.
  11. The ADC is configured in continuous mode, PC1 is chosen as analog
  12. input pin.
  13. Change the VR1 on the GD32350R-EVAL board, when the channel11
  14. converted value is over the programmed analog watchdog high threshold
  15. (value 0x0A00) or below the analog watchdog low threshold(value 0x0400),
  16. an WDE interrupt will occur, and LED2 will turn on. When the channel11
  17. converted value is in safe range(among 0x0400 and 0x0A00), the LED2 will
  18. be off.
  19. The analog input pin should be configured to AIN mode.