pub trait EsbDataRate: RadioErrorType {
// Required methods
fn get_data_rate(&mut self) -> Result<DataRate, Self::Error>;
fn set_data_rate(&mut self, data_rate: DataRate) -> Result<(), Self::Error>;
}Expand description
A trait to represent manipulation of the Data Rate for an ESB capable transceiver.
Required Methods§
Sourcefn get_data_rate(&mut self) -> Result<DataRate, Self::Error>
fn get_data_rate(&mut self) -> Result<DataRate, Self::Error>
Get the currently configured Data Rate