When I assign a pin to a peripheral (e.g. comparator 3) the corresponding GPIO mode is fixed to Analog and cannot be changed. As a consequence, no pull-up or pull-down resistor can be inserted. By changing System.ioc with a text editor the correct c...