1 unstable release
0.1.0 | Oct 27, 2019 |
---|
#43 in #nxp
32MB
1M
SLoC
mimxrt1062
This crate provides an autogenerated API for access to MIMXRT1062 peripherals. The API is generated using svd2rust with patched svd files containing extensive type-safe support.
Refer to the documentation for full details.
Usage
To use, in your Cargo.toml:
[dependencies.mimxrt1062]
version = "0.1.0"
features = ["rt"]
The rt
feature is optional and brings in support for cortex-m-rt
.
In your code:
use mimxrt1062;
let mut peripherals = mimxrt1062::Peripherals::take().unwrap();
For full details on the autogenerated API, please see: https://docs.rs/svd2rust/0.16.1/svd2rust/#peripheral-api