Crates.io | msp430-periph |
lib.rs | msp430-periph |
version | 0.0.5 |
source | src |
created_at | 2021-05-06 12:21:08.019091 |
updated_at | 2023-10-16 14:51:46.337985 |
description | Peripheral definition for all MSP430s |
homepage | |
repository | https://github.com/kellda/msp430-periph |
max_upload_size | |
id | 393801 |
size | 9,159,644 |
msp430-periph
Peripheral definition for all MSP430s
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.
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.