probe_rs::architecture::arm::component

Function find_component

Source
pub fn find_component(
    components: &[CoresightComponent],
    peripheral_type: PeripheralType,
) -> Result<&CoresightComponent, ArmError>
Expand description

Goes through every component in the vector and tries to find the first component with the given type