Skip to main content
2 events
when toggle format what by license comment
Nov 14, 2019 at 22:10 comment added ChrisD91 I was surprised that adding the timer handler would make any difference too. I commented out the other timer5 functions as an attempt to whittle down what was causing the issue. Wilth all functions commented out, it still stops the timer 2 output. I would have thought that every new peripheral would need a new handle? I don't think that the flag needs to be cleared as the ARR (Automatic Reload Register) does it for you. I'll add in the code for checking which peripheral generated the interrupt when I'm back at my computer.
Nov 14, 2019 at 21:03 history answered Anders Petersson CC BY-SA 4.0