Now, after a look at RM0440, section 24.3.1, you will realise that the (digital) output of the comparators is not routed directly to the pins, but via a (digital) polarity switch. Only then is the signal available at the GPIO, which results in the current carrying capacity of a GPIO.
[edit] I forgot to point out that the respective COMPx_OUT is an Alternate function output, which is visible in fig. 25 as input of the digital GPIO driver. [/edit]
Does it answer your question?
Regards
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.