pub struct PKTCTRL0<MODE> { /* private fields */ }
Implementations§
source§impl PKTCTRL0<Mask>
impl PKTCTRL0<Mask>
pub fn mask() -> PKTCTRL0<Mask>
pub fn white_data(&self) -> u8
pub fn pkt_format(&self) -> u8
pub fn crc_en(&self) -> u8
pub fn length_config(&self) -> u8
source§impl PKTCTRL0<R>
impl PKTCTRL0<R>
pub fn modify(self) -> PKTCTRL0<W>
sourcepub fn white_data(&self) -> u8
pub fn white_data(&self) -> u8
Turn data whitening on / off
sourcepub fn pkt_format(&self) -> u8
pub fn pkt_format(&self) -> u8
Format of RX and TX data
sourcepub fn length_config(&self) -> u8
pub fn length_config(&self) -> u8
Packet length configuration
source§impl PKTCTRL0<W>
impl PKTCTRL0<W>
pub fn bits(self) -> u8
sourcepub fn white_data(&mut self, bits: u8) -> &mut Self
pub fn white_data(&mut self, bits: u8) -> &mut Self
Turn data whitening on / off
sourcepub fn pkt_format(&mut self, bits: u8) -> &mut Self
pub fn pkt_format(&mut self, bits: u8) -> &mut Self
Format of RX and TX data
sourcepub fn length_config(&mut self, bits: u8) -> &mut Self
pub fn length_config(&mut self, bits: u8) -> &mut Self
Packet length configuration
Trait Implementations§
impl<MODE: Copy> Copy for PKTCTRL0<MODE>
Auto Trait Implementations§
impl<MODE> RefUnwindSafe for PKTCTRL0<MODE>where
MODE: RefUnwindSafe,
impl<MODE> Send for PKTCTRL0<MODE>where
MODE: Send,
impl<MODE> Sync for PKTCTRL0<MODE>where
MODE: Sync,
impl<MODE> Unpin for PKTCTRL0<MODE>where
MODE: Unpin,
impl<MODE> UnwindSafe for PKTCTRL0<MODE>where
MODE: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more