Module esp32c2_hal::system
source · Expand description
System
The SYSTEM/DPORT peripheral needs to be split into several logical parts.
Example
let peripherals = Peripherals::take().unwrap();
let system = peripherals.SYSTEM.split();
let clocks = ClockControl::boot_defaults(system.clock_control).freeze();
Structs
Controls the configuration of the chip’s clocks.
Controls the enablement of peripheral clocks.
Controls the configuration of the chip’s clocks.
The SYSTEM/DPORT splitted into it’s different logical parts.
Enums
Peripherals which can be enabled via PeripheralClockControl
Traits
Extension trait to split a SYSTEM/DPORT peripheral in independent logical
parts