https://github.com/dflemstr/mimxrt1062
https://github.com/dflemstr/mimxrt1062
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dflemstr/mimxrt1062
- Owner: dflemstr
- Created: 2019-10-27T09:05:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-27T09:13:44.000Z (over 6 years ago)
- Last Synced: 2025-08-11T07:03:18.180Z (11 months ago)
- Language: Rust
- Size: 2.43 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.
[svd2rust]: https://github.com/japaric/svd2rust
[documentation]: https://docs.rs/mimxrt1062/latest/mimxrt1062/
## Usage
To use, in your Cargo.toml:
```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:
```rust
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