32-bit ARM-Based microcontroller SAM D21E / SAM D21G /SAM D21J
I have a Seeeduino XIAO PDF to schematic which uses a ATSAMD21G18-QFN48 chip. Pin D1 on the Seeeduino is pin 9 on the chip; which is labeled as PA4/EIC/REF/AIN4/SCOM0PAD0/TC0
.
What would the REF
pin be used for; and how would the pin be addressed in the code?
Based on this post is sound like it is ADC related.
There is no indication about this on the https://wiki.seeedstudio.com/Seeeduino-XIAO/ website. Only this image: