Struct nrf24_rs::status::Status [−][src]
pub struct Status(_);
Expand description
Wrapper for the status value returned from the device. Provides convenience methods and debug implemantions.
Implementations
impl Status
[src]
impl Status
[src]pub fn data_ready(&self) -> bool
[src]
pub fn data_ready(&self) -> bool
[src]Indicates if there is data ready to be read.
pub fn reached_max_retries(&self) -> bool
[src]
pub fn reached_max_retries(&self) -> bool
[src]Indicates whether the max retries has been reached. Can only be true if auto acknowledgement is enabled.
pub fn data_pipe_available(&self) -> Option<DataPipe>
[src]
pub fn data_pipe_available(&self) -> Option<DataPipe>
[src]Returns data pipe number for the payload availbe for reading or None if RX FIFO is empty.