hal::soc
System-on-chip services used by portable kernel code.
Structs
Section titled “Structs”SocCapabilities
Section titled “SocCapabilities”struct SocCapabilities { pub cores: u8, pub interrupt_matrix: bool, pub cache_off_execution: bool, pub hardware_rng: bool,}Static hardware facts that change kernel strategy, not board pin wiring.
Implements: Clone, Copy, Debug, Eq, PartialEq, StructuralPartialEq
Traits
Section titled “Traits”SystemOnChip
Section titled “SystemOnChip”trait SystemOnChip { unsafe fn configure_cpu_clock() unsafe fn reset_cause() -> u32 fn reset_cause_name(cause: u32) -> &'static str fn measure_cpu_hz(cycle_count: fn(..)) -> Option<u32>}The chip underneath a kernel build.