I have an ADC that sends a rising edge when data is ready. I am currently reading this edge asynchronously using an ISR triggered DMA, which further triggers a new reading once the data has been read. In the main loop, I copy a counter from the ISR to keep track of the number of readings.
If I get a new interrupt while _disable_interrupt, does Teensy keep track of that when I enable interrupt again? If not, is reading the pin level the best option (whether it is now high)?
I also have a FTM timer that is counting external pulses and want that to be going during __disable_irq. How do they interact?
If you can point me to the right location on the datasheet, then I know where to look in the future! Thanks.
If I get a new interrupt while _disable_interrupt, does Teensy keep track of that when I enable interrupt again? If not, is reading the pin level the best option (whether it is now high)?
I also have a FTM timer that is counting external pulses and want that to be going during __disable_irq. How do they interact?
If you can point me to the right location on the datasheet, then I know where to look in the future! Thanks.