Excerpt from the SAMD wiring_analog.c file in the Arduino Core repo. While developing a shield that interfaces to 24 V systems, the development team noticed that the ADC readings on a SAMD21-based ...
In turn, since he needed an easy way to program the flash memory which holds the software to run on the Z80, he used an Arduino Mega as a debugger, making the SBC an Arduino shield itself.