You could use a transistor for safety. In fact, depending on the samd core used, some pin are not set to use "high" current mode (7mA), but only something like 2-3mA. (See this issue on github)
PORT->Group[g_APinDescription[ulPin].ulPort].PINCFG[g_APinDescription[ulPin].ulPin].bit. DRVSTR = 1
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16