fn is_pending(&self, ev: Event) -> bool {
        let line = ev as u8;

        match line {
            0..=19 | 20 | 21 => {
                reg_for_cpu!(self, pr1).read().bits() & (1 << line) != 0
            }
            49 | 51 => {
                reg_for_cpu!(self, pr2).read().bits() & (1 << (line - 32)) != 0
            }
            82 | 84 | 85 | 86 => {
                reg_for_cpu!(self, pr3).read().bits() & (1 << (line - 64)) != 0
            }
            _ => false,
        }
    }
/// Indicate if the interrupt is currently pending
///
/// Configurable events only
Indicate if the interrupt is currently pending
Configurable events only
Indicate if the interrupt is currently pending Configurable events only
fn is_pending(&self, ev: Event) -> bool {
        let line = ev as u8;
        match line {
            0..=19 | 20 | 21 => {
                reg_for_cpu!(self, pr1).read().bits() & (1 << line) != 0
            }
            49 | 51 => {
                reg_for_cpu!(self, pr2).read().bits() & (1 << (line - 32)) != 0
            }
            82 | 84 | 85 | 86 => {
                reg_for_cpu!(self, pr3).read().bits() & (1 << (line - 64)) != 0
            }
            _ => false,
        }
    }
fn is_pending ( & self , ev : Event ) -> bool { let line = ev as u8 ; match line { 0 ..= 19 | 20 | 21 => { reg_for_cpu ! ( self pr1 ) . read ( ) . bits ( ) & ( 1 << line ) != 0 } 49 | 51 => { reg_for_cpu ! ( self pr2 ) . read ( ) . bits ( ) & ( 1 << ( line - 32 ) ) != 0 } 82 | 84 | 85 | 86 => { reg_for_cpu ! ( self pr3 ) . read ( ) . bits ( ) & ( 1 << ( line - 64 ) ) != 0 } _ => false , } }
Indicate if the interrupt is currently pending
Configurable events only
Indicate if the interrupt is currently pending Configurable events only
&self
ev
Event
&self
ev
Event