Trait radio::Power[][src]

pub trait Power {
    type Error;
    fn set_power(&mut self, power: i8) -> Result<(), Self::Error>;
}

Power trait for configuring radio power

Associated Types

type Error[src]

Radio error type

Loading content...

Required methods

fn set_power(&mut self, power: i8) -> Result<(), Self::Error>[src]

Set the radio power in dBm

Loading content...

Implementors

impl<St, Reg, Ch, Inf, Irq, E> Power 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

Loading content...