I would like like to use a hardware input to trigger an ADC conversion. As I understand the manual, this could be either through the PDB or directly with the ADHWT input, but I'm not able to make the full connection.
My design has a front end with a peak detector that gives a rising edge when the peak is found. I know I could use that edge as an interrupt to generate a software trigger and achieve the same result. But, if possible, I'd like the hardware to initiate that process and thus save the interrupt latency time.
Is there an example that would show me the way?