How to accurately determine whether comparator interrupt was generated by rising or falling in the interrupt routine
I use comparator(COMP7) on STM32F303VB as
・Non-inverting input: PC1 (ADC)
・Inverted input: DAC2 output
・Comparator interrupt: rising/falling edge trigger
I checked the COMP7OUT bit, but it seems that this bit is "comparator output at the time the bit is checked" and not the rising or falling edge at the time of interrupt generation.
Is there a way to check whether an interrupt occurred on the rising edge or on the falling edge?
