pub fn debug_write<W: ?Sized>(
        &mut self,
        f: &mut ufmt::Formatter<'_, W>,
    ) -> core::result::Result<(), W::Error>
    where
        W: ufmt::uWrite,
    {
        f.debug_struct("NRF Configuration")?
            .field("channel", &self.channel().unwrap())?
            .field("frequency", &(self.channel().unwrap() as u16 + 2400))?
            .field("data rate", &self.data_rate().unwrap())?
            .field(
                "power amplification level",
                &self.power_amp_level().unwrap(),
            )?
            //.field("crc encoding scheme", &self.enco().unwrap())?
            //.field("address length", &self.set_address_width)
            .field("payload size", &self.payload_size())?
            .field("auto retransmission", &self.retries().unwrap())?
            .finish()
    }
/// Write debug information to formatter.
Write debug information to formatter.
Write debug information to formatter .
pub fn debug_write<W: ?Sized>(
        &mut self,
        f: &mut ufmt::Formatter<'_, W>,
    ) -> core::result::Result<(), W::Error>
    where
        W: ufmt::uWrite,
    {
        f.debug_struct("NRF Configuration")?
            .field("channel", &self.channel().unwrap())?
            .field("frequency", &(self.channel().unwrap() as u16 + 2400))?
            .field("data rate", &self.data_rate().unwrap())?
            .field(
                "power amplification level",
                &self.power_amp_level().unwrap(),
            )?
            //.field("crc encoding scheme", &self.enco().unwrap())?
            //.field("address length", &self.set_address_width)
            .field("payload size", &self.payload_size())?
            .field("auto retransmission", &self.retries().unwrap())?
            .finish()
    }
pub fn debug_write < W : ? Sized > ( & mut self , f : & mut ufmt :: Formatter < ' _ , W > , ) -> core :: result :: Result < ( ) , W :: Error > where W : ufmt :: uWrite , { f . debug_struct ( " " ) ? . field ( " " , & self . channel ( ) . unwrap ( ) ) ? . field ( " " , & ( self . channel ( ) . unwrap ( ) as u16 + 2400 ) ) ? . field ( " " , & self . data_rate ( ) . unwrap ( ) ) ? . field ( " " , & self . power_amp_level ( ) . unwrap ( ) , ) ? //.field("crc encoding scheme", &self.enco().unwrap())? //.field("address length", &self.set_address_width) . field ( " " , & self . payload_size ( ) ) ? . field ( " " , & self . retries ( ) . unwrap ( ) ) ? . finish ( ) }
Write debug information to formatter.
Write debug information to formatter .
&mut self
f
&mut ufmt::Formatter<'_, W>
&mut self
f
&mut ufmt::Formatter<'_, W>