A small board support library for SAMD21. Currently only has the bits I use, and in one static configuration. More flexibility will happen eventually, probably.
Thanks to these excellent articles:
- https://blog.thea.codes/understanding-the-sam-d21-clocks/
- https://blog.thea.codes/sam-d21-brown-out-detector/ for code samples for clock setup + the brownout detector.