[][src]Trait radio::Interrupts

pub trait Interrupts {
    type Irq;
    type Error;
    fn get_interrupts(&mut self, clear: bool) -> Result<Self::Irq, Self::Error>;
}

Rssi trait allows polling for RSSI on the current channel

Associated Types

type Irq

Interrupt object

type Error

Radio error

Loading content...

Required methods

fn get_interrupts(&mut self, clear: bool) -> Result<Self::Irq, Self::Error>

Fetch any pending interrupts from the device If the clear option is set, this will also clear any returned flags

Loading content...

Implementors

impl<St, Reg, Ch, Inf, Irq, E> Interrupts for Radio<St, Reg, Ch, Inf, Irq, E> where
    St: PartialEq + Debug + Clone,
    Reg: PartialEq + Debug + Clone,
    Ch: PartialEq + Debug + Clone,
    Inf: PartialEq + Debug + Clone,
    Irq: PartialEq + Debug + Clone,
    E: PartialEq + Debug + Clone
[src]

type Error = E

type Irq = Irq

Loading content...