Crate msp430_periph[][src]

Expand description

msp430-periph

Peripheral definition for all MSP430s

Usage

Since this crate includes 621 devices and 481 peripherals, everything is feature-gated. That means you have to enable every microcontroller and peripheral you want to use, for example:

[dependencies.msp430-periph]
version = "0.0.1"
features = [
    "msp430fr5969",
    "watchdog_timer_2",
    "pmm__power_management_system_4",
    "port_1_2_7",
    "port_3_4_7",
]

There is also an -all version of microcontroller features to enable all peripherals from this microcontroller:

[dependencies]
msp430-periph = { version = "0.0.1", features = [ "msp430fr5969-all" ] }

Documentation

It is not reasonable to build documentation for the whole crate with all features enabled. You can either look at the source code or build documentation for the features you use by running cargo doc in your project directory.

Re-exports

pub use utils;

Modules

devices

All devices

peripherals

All peripherals