In my ADC interrupt service routine (ADC_IRQHandler), I'd like to have a pointer available that I could use to carry some state from the main app thread to the IRQ handler.
Yes, I could do this by declaring a global, but I go to great lengths to avoid using globals so if there's an existing place to stash a pointer I'd be much happier.