Struct drone_sx1276::device::Device [] [src]

pub struct Device<C: Conn, M: Mode> { /* fields omitted */ }

Semtech SX1276/77/78/79 device.

Methods

impl<C: Conn, M: Mode> Device<C, M>
[src]

[src]

Initializes connected pins.

[src]

Returns underlying connection bindings.

[src]

Runs a reset procedure, and returns a future for its result. The mode will be set to LoRa on success.

impl<C: Conn> Device<C, FskOok>
[src]

[src]

Creates a new Device in FSK/OOK mode from provided tokens.

[src]

Converts into LoRa mode.

impl<C: Conn> Device<C, Lora>
[src]

[src]

Converts into FSK/OOK mode.

impl<C: Conn> Device<C, Undefined>
[src]

[src]

Converts into LoRa mode.

[src]

Converts into FSK/OOK mode.

Trait Implementations

impl<C: Conn, M: Mode> Deref for Device<C, M>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<C: Conn, M: Mode> DerefMut for Device<C, M>
[src]

[src]

Mutably dereferences the value.

Auto Trait Implementations

impl<C, M> Send for Device<C, M> where
    M: Send

impl<C, M> Sync for Device<C, M> where
    C: Sync,
    M: Sync