pub fn interrupt_src(&mut self) -> Result<Interrupts, TransferError<SPIErr, PinErr>> {
        let status = self.status()?;
        // Clear flags
        self.write_register(Register::STATUS, Interrupts::all().value())?;
        Ok(Interrupts::from(status.value()))
    }
/// Query which interrupts were triggered.
///
/// Clears the interrupt request flags, so new ones can come in.
Query which interrupts were triggered.
Clears the interrupt request flags, so new ones can come in.
Query which interrupts were triggered . Clears the interrupt request flags so new ones can come in .
pub fn interrupt_src(&mut self) -> Result<Interrupts, TransferError<SPIErr, PinErr>> {
        let status = self.status()?;
        // Clear flags
        self.write_register(Register::STATUS, Interrupts::all().value())?;
        Ok(Interrupts::from(status.value()))
    }
pub fn interrupt_src ( & mut self ) -> Result < Interrupts , TransferError < SPIErr , PinErr > > { let status = self . status ( ) ? ; // Clear flags self . write_register ( Register :: STATUS , Interrupts :: all ( ) . value ( ) ) ? ; Ok ( Interrupts :: from ( status . value ( ) ) ) }
Query which interrupts were triggered.
Query which interrupts were triggered .
&mut self
&mut self