Cargo Features
ch572_pac has no features set by default.
[dependencies]
ch572_pac = { version = "0.1.0", features = ["rt", "v-trap", "critical-section"] }
- rt v-trap? = riscv-rt
-
Affects
ch572_pac::interrupt.interrupt
… - v-trap = rt
-
Enables v-trap of riscv-rt ^0.13.0
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- critical-section implicit feature
-
Enables critical-section
critical-section:
Cross-platform critical section
- riscv-rt rt? v-trap?
-
Enables riscv-rt ^0.13.0