Skip to main content

peripherals_by_name

Function peripherals_by_name 

pub fn peripherals_by_name(
    name: &str,
) -> impl Iterator<Item = &'static Peripheral>
Expand description

iterate all peripherals whose node name matches, with or without unit address e.g. channel matches channel@0, channel@1, etc. across all parents node names are only unique among siblings - use peripheral_by_name_under or peripheral_by_path when you need an unambiguous match