Cargo Features

CH32V2 has no features set by default.

[dependencies]
ch32v2 = { version = "0.1.6", features = ["rt", "ch32v20x", "critical-section"] }
rt

Affects ch32v20x::interrupt.interrupt

ch32v20x

Affects ch32v2::ch32v20x

Features from optional dependencies

critical-section implicit feature

Enables critical-section

critical-section:

Cross-platform critical section