Hi Daniel Schoch,
You can disable the ADC module by writing 0X1F to ADC_SC1[ADCH] in the FIFO full interrupt and after you read the data from the FIFO, then the FIFO will be reset and the conversion is stopped.
When you enter in the FIFO interrupt ,you can disable the ADC interrupt at first, then read adc data and disable the ADC module.
You can't use the HTRGMASKSEL set to mask the hardware trigger, because it mask the hardware trigger when data fifo is not empty, but I think you can choose the HTRGMASKE, when you enter in the FIFO interrupt, you set HTRGMASKE at first, then the hardware trigger will be masked.
But If after the FIFO full and the before you enter in the FIFO interrupt interrupt, anther ADC conversion happens, I think your trigger and conversion is really too fast, you should slow down your trigger frequent.
Wish it helps you!
If you still have question, please contact me!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------