#api-access #svd2rust #nxp

no-std mimxrt1062

Device and peripheral mappings for NXP MIMXRT1062-type devices (e.g. Teensy 4.0)

1 unstable release

0.1.0 Oct 27, 2019

#43 in #nxp

BSD-3-Clause

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

Dependencies