As the sercom_id() function grows it gets more unweidly. Let's replace it with a simple switch statement that is true for all sam0 parts.
As the sercom_id() function grows it gets more unweidly. Let's replace it with a simple switch statement that is true for all sam0 parts.