ADCn.INTFLAGS.RESRDY and ADCn.INTFLAGS.WCOMP are cleared when reading ADCn.RESH.
In 8-bit mode, read ADCn.RESH to clear the flag or clear the flag directly.