Struct dwm1001::DW_IRQ[][src]

pub struct DW_IRQ(_);
Expand description

The DW_IRQ pin (P0.19 on the nRF52)

Can be used to wait for DW1000 interrupts.

Implementations

Create a new instance of the DW1000 interrupt pin

Sets up DW1000 interrupt and goes to sleep until an interrupt occurs

This method sets up the interrupt of the pin connected to DW_IRQ on the DW1000 and goes to sleep, waiting for interrupts.

There are two gotchas that must be kept in mind when using this method:

  • This method returns on any interrupt, even those unrelated to the DW1000.
  • This method disables interrupt handlers. No interrupt handler will be called while this method is active.

Frees the irq pin

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Casts the value.

OverflowingCasts the value.

Should always be Self

Casts the value.

Casts the value.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Casts the value.

UnwrappedCasts the value.

Casts the value.

WrappingCasts the value.