Expand description
§Embassy MSPM0 HAL
The embassy-mspm0 HAL aims to provide a safe, idiomatic hardware abstraction layer for all MSPM0 and MSPS003 chips.
- Documentation (Important: use docs.embassy.dev rather than docs.rs to see the specific docs for the chip you’re using!)
- Source
- Examples
§Embedded-hal
The embassy-mspm0
HAL implements the traits from embedded-hal (1.0) and embedded-hal-async, as well as embedded-io and embedded-io-async.
§A note on feature flag names
Feature flag names for chips do not include temperature rating or distribution format.
Usually chapter 10 of your device’s datasheet will explain the device nomenclature and how to decode it. Feature names in embassy-mspm0 only use the following from device nomenclature:
- MCU platform
- Product family
- Device subfamily
- Flash memory
- Package type
This means for a part such as MSPM0G3507SPMR
, the feature name is mspm0g3507pm
. This also means that MSPM0G3507QPMRQ1
uses the feature mspm0g3507pm
, since the Q1 parts are just qualified variants of the base G3507 with a PM (QFP-64) package.
§Interoperability
This crate can run on any executor.
Re-exports§
pub use mspm0_metapac as pac;
Modules§
- gpio
- interrupt
- Interrupt definitions.
- mode
- Operating modes for peripherals.
- peripherals
- Types for the peripheral singletons.
- timer
- uart
Structs§
- Config
embassy-mspm0
global configuration.- Peri
- An exclusive reference to a peripheral.
- Peripherals
- Struct containing all the peripheral singletons.