#[repr(u8)]pub enum InterruptKind {
MaxRetries = 16,
TxDataSent = 32,
RxDataReady = 64,
}
Expand description
Represents the different interrupt types available on the nRF24L01.
Each variant corresponds to a specific interrupt condition, with values matching the bit positions in the STATUS register.
The nRF24L01 IRQ pin is active LOW and will be asserted when any enabled interrupt occurs.
Variants§
MaxRetries = 16
Maximum number of TX retransmits interrupt.
TxDataSent = 32
Data Sent TX FIFO interrupt. Asserted when packet transmitted on TX.
RxDataReady = 64
Data Ready RX FIFO interrupt. Asserted when new data arrives RX FIFO.
Trait Implementations§
Source§impl Clone for InterruptKind
impl Clone for InterruptKind
Source§fn clone(&self) -> InterruptKind
fn clone(&self) -> InterruptKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for InterruptKind
impl PartialEq for InterruptKind
impl Copy for InterruptKind
impl Eq for InterruptKind
impl StructuralPartialEq for InterruptKind
Auto Trait Implementations§
impl Freeze for InterruptKind
impl RefUnwindSafe for InterruptKind
impl Send for InterruptKind
impl Sync for InterruptKind
impl Unpin for InterruptKind
impl UnwindSafe for InterruptKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more