readme.txt 714 B

1234567891011121314151617181920212223
  1. /*!
  2. \file readme.txt
  3. \brief description of the comparator pwm signal control 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 control PWM
  10. output by using comparator output
  11. - CMP channel0 is configured as following:
  12. - Inverting input is internally connected to VREFINT = 1.22V
  13. - Non Inverting input is connected to PC1
  14. - Output is internally connected to TIMER1 OCREFCLR (output compare reference clear)
  15. - While PC1/PC0 is lower than VREFINT (1.22V), PWM signal is displayed on PB3
  16. - While PC1/PC0 is higher than VREFINT, PB3 is displayed in low level.
  17. Connect PA1 to PC1.