# ATSAML22J

Peripheral access crate for the ATSAML22J from Microchip (Atmel) for Rust Embedded projects.

The code is generated by `svd2rust`.

## Errors in SVD file

The SVD file from Microchip contains an error: The `SYNCBUSY` register is defined with an enumerated value field of `GENCTRL0` objects, but it is really a set of bits `GENCTRL0`..`GENCTRL4`. The svd is handcrafted to correct for this.

## License

Licensed under either:

* [Apache License, Version 2.0](http://opensource.org/licenses/MIT), or
* [MIT license](http://opensource.org/licenses/MIT)
