#msp430 #peripheral #register #ti

no-std msp430-periph

Peripheral definition for all MSP430s

5 releases

0.0.5 Mar 6, 2023
0.0.4 May 27, 2021
0.0.3 May 21, 2021
0.0.2 May 19, 2021
0.0.1 May 6, 2021

#501 in Embedded development

MIT/Apache

9MB
168K SLoC

msp430-periph

Peripheral definition for all MSP430s

Usage

Add this crate to your dependencies:

[dependencies.msp430-periph]
version = "0.0.5"

Then add the features you need, e.g.

features = [
    # your microcontroller
    "msp430fr5969",
    # every peripheral you need
    "watchdog_timer_2",
    "pmm_4",
    "portb_3i1",
    "portb_3i2",
]

or append -all to the microcontroller feature to enable all peripherals from this microcontroller

features = [ "msp430fr5969-all" ]

To use with the msp430-rt runtime, also enable the rt feature. No memory.x files are needed.

License

Licensed under either of

at your option.

Contribution

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.

Dependencies