Skip to content

sigpwny/mspm0l222x-pac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mspm0l222x-pac

Crates.io Version docs.rs

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.

Building

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

License

This crate is licensed under either of:

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

About

A Peripheral Access Crate for the Texas Instruments MSPM0L222X microcontroller family

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Languages