pub fn start_listening(&mut self) -> Result<(), TransferError<SPIErr, PinErr>> {
        // Enable RX listening flag
        self.config_reg |= 1;
        self.write_register(Register::CONFIG, self.config_reg)?;
        // Flush interrupts
        self.reset_status()?;

        self.set_ce_high()?;

        Ok(())
    }
/// Starts listening on the pipes that are opened for reading.
/// Used in Receiver Mode.
///
/// # Examples
/// ```rust
/// // First open data pipe 0 with address "Node1"
/// chip.open_reading_pipe(DataPipe::DP0, b"Node1")?;
/// // Configure the chip to listening modes (non blocking)
/// chip.start_listening()
/// // Now we can check for available messages and read them
/// ```
/// # Warnings
/// Make sure at least one pipe is opened for reading using the [`open_reading_pipe()`](#method.open_reading_pipe) method.
///
// TODO: Use the type system to make start and stop listening by RAII and Drop
Starts listening on the pipes that are opened for reading.
Used in Receiver Mode.
Starts listening on the pipes that are opened for reading . Used in Receiver Mode .
pub fn start_listening(&mut self) -> Result<(), TransferError<SPIErr, PinErr>> {
        // Enable RX listening flag
        self.config_reg |= 1;
        self.write_register(Register::CONFIG, self.config_reg)?;
        // Flush interrupts
        self.reset_status()?;
        self.set_ce_high()?;
        Ok(())
    }
pub fn start_listening ( & mut self ) -> Result < ( ) , TransferError < SPIErr , PinErr > > { // Enable RX listening flag self . config_reg |= 1 ; self . write_register ( Register :: CONFIG , self . config_reg ) ? ; // Flush interrupts self . reset_status ( ) ? ; self . set_ce_high ( ) ? ; Ok ( ( ) ) }
Starts listening on the pipes that are opened for reading.
Starts listening on the pipes that are opened for reading .
&mut self
&mut self
examples
```rust
First open data pipe 0 with address "Node1"
chip.open_reading_pipe(DataPipe::DP0, b"Node1")?;
Configure the chip to listening modes (non blocking)
chip.start_listening()
Now we can check for available messages and read them
```
` ` ` rust First open data pipe 0 with address " Node1 " chip . open_reading_pipe ( DataPipe :: DP0 b " Node1 " ) ? ; Configure the chip to listening modes ( non blocking ) chip . start_listening () Now we can check for available messages and read them ` ` `
warnings
Make sure at least one pipe is opened for reading using the [`open_reading_pipe()`](#method.open_reading_pipe) method.

Use the type system to make start and stop listening by RAII and Drop
Make sure at least one pipe is opened for reading using the [ ` open_reading_pipe () ` ] ( #method . open_reading_pipe ) method . Use the type system to make start and stop listening by RAII and Drop