msp430-periph

Crates.iomsp430-periph
lib.rsmsp430-periph
version0.0.5
sourcesrc
created_at2021-05-06 12:21:08.019091
updated_at2023-10-16 14:51:46.337985
descriptionPeripheral definition for all MSP430s
homepage
repositoryhttps://github.com/kellda/msp430-periph
max_upload_size
id393801
size9,159,644
(kellda)

documentation

README

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.

Commit count: 14

cargo fmt