Does the Photon have a built-in comparator?

The AVR Microcontrollers have one and I can use it to trigger an interrupt as in - when the voltage on pin D6 crosses the reference voltage on D7 (for the UNO).

I looked in the Photon documentation and could not find anything on this. Would prefer to use an internal comparator than getting an external chip.

Many thanks for your help!


According to the docs, no, this particular STM32F205 does not appear to have any… other versions of the STM32 do, but not the 2F.

Page 5 of the PDF

I think you will need to add that externally, and use a gpio pin for interrupt/wakeup.