Cargo Features

CH32L1 has no features set by default.

[dependencies]
ch32l1 = { version = "0.1.7", features = ["rt", "ch32l103", "critical-section"] }
rt

Affects ch32l103::interrupt.interrupt

ch32l103

Affects ch32l1::ch32l103

Features from optional dependencies

critical-section implicit feature

Enables critical-section

critical-section:

Cross-platform critical section