/*! \file readme.txt \brief description of the comparator switch demo */ /* Copyright (C) 2017 GigaDevice 2017-06-06, V1.0.0, firmware for GD32F3x0 */ This demo is based on the GD32350R-EVAL board, it shows how to configure the comparator input switch. In this demo, input 3.3V to PA4 ,turn on comparator input switch,then PA4 will be connected to CMP1_IP.After system start-up, enable comparator,then LED2 is on. Connect PA4 to +3V3.