1 unstable release
0.0.1 | Mar 14, 2023 |
---|
#21 in #bit-field
Used in cyt2b7
9.5MB
182K
SLoC
Peripheral access crate for T2G cyt2b7
Revision = rev_d svd version = 1.0.0
Using device crate in your project
In your own project's Cargo.toml
:
[dependencies.cyt2b7_d]
version = "0.0.1"
features = ["rt", "critical-section"]
The rt
feature is optional.
See svd2rust for details.
The critical-section
feature is optional.
See critical-section for details.
Usage of device crate in your code:
use cyt2b7_d as pac;
let mut peripherals = pac::Peripherals::take().unwrap();