This is a Peripheral Access Crate for the Texas Instruments MSPM0L2228 microcontroller.
This crate is automatically generated from the SVD file found in the Arm Keil CMSIS Pack for the MSPM0L222X family (revision 1.1.1). svd2rust is used to automatically generate the PAC from the SVD file. The provided SVD file also has a few mistakes, which are patched using svdtools.
Note
This section is only relevant if you need to rebuild the crate. Generated code is already included in the repository.
First, make sure you have Rust installed (via rustup). Then, install the following development dependencies.
cargo install svd2rust svdtools form
rustup component add --toolchain nightly rustfmt
Simply run make
to generate the crate.
make
This crate is licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Copyright (c) 2025 SIGPwny
The MSPM0L222X.svd file is licensed under the BSD-3-Clause license (SPDX).
Copyright (c) 2023 Texas Instruments Incorporated