Trait dw1000::hl::Receiving [−][src]
pub trait Receiving: Awake {
const AUTO_RX_REENABLE: bool;
const DOUBLE_BUFFERED: bool;
fn mark_finished(&mut self);
fn is_finished(&self) -> bool;
fn get_rx_config(&self) -> &RxConfig;
}
Expand description
Any state struct that implements this trait shares a number of rx operations
Associated Constants
const AUTO_RX_REENABLE: bool
const AUTO_RX_REENABLE: bool
When true, the radio will re-enable the receive operation after it has received a message
const DOUBLE_BUFFERED: bool
const DOUBLE_BUFFERED: bool
When true, the radio will use both receive buffers. This can help decrease the downtime between receiving messages.
Required methods
fn mark_finished(&mut self)
fn mark_finished(&mut self)
Mark the receiving state as finished
fn is_finished(&self) -> bool
fn is_finished(&self) -> bool
Return true if the receiving state has been marked as finished
fn get_rx_config(&self) -> &RxConfig
fn get_rx_config(&self) -> &RxConfig
Get the rx radio config