Timeline for STM32 interrupt and input on same pin
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 6, 2021 at 16:33 | vote | accept | zozwold | ||
Apr 7, 2021 at 23:33 | answer | added | Maple | timeline score: 0 | |
Apr 7, 2021 at 23:32 | answer | added | Justme | timeline score: 1 | |
Apr 7, 2021 at 23:23 | comment | added | Kartman | Your strategy sounds ok. Its a common technique to enable/disable interrupts on a gpio. Another technique is not to poll or wait for the adc to complete but set up a timer to trigger the conversion then next timer tick read the result and start the next conversion. You normally don’t need to run the adc full speed so set the timer to a value greater than the max conversion time. | |
Apr 7, 2021 at 23:17 | history | asked | zozwold | CC BY-SA 4.0 |