[][src]Function probe_rs::architecture::arm::ap::get_ap_by_idr

pub fn get_ap_by_idr<AP, P>(debug_port: &mut AP, f: P) -> Option<GenericAP> where
    AP: APAccess<GenericAP, IDR>,
    P: Fn(IDR) -> bool

Tries to find the first AP with the given idr value, returns None if there isn't any