[][src]Trait radio_sx128x::Power

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

Radio error type

Loading content...

Required methods

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

Set the radio power in dBm

Loading content...

Implementors

impl<Hal, CommsError, PinError> Power for Sx128x<Hal, CommsError, PinError> where
    Hal: Hal<CommsError, PinError>, 
[src]

radio::Power implementation for the SX128x

type Error = Error<CommsError, PinError>

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

Set TX power in dBm

Loading content...