#[repr(transparent)]pub struct Iptxfcr(pub u32);Expand description
IP Transmit FIFO Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Iptxfcr
impl Iptxfcr
Sourcepub const fn clriptxf(&self) -> bool
pub const fn clriptxf(&self) -> bool
Clear IP Transmit FIFO. Raw bit values: false (0) = Value0: No function.; true (1) = Value1: A clock cycle pulse clears all valid data entries in the IP transmit FIFO.
Sourcepub const fn set_clriptxf(&mut self, val: bool)
pub const fn set_clriptxf(&mut self, val: bool)
Clear IP Transmit FIFO. Raw bit values: false (0) = Value0: No function.; true (1) = Value1: A clock cycle pulse clears all valid data entries in the IP transmit FIFO.
Sourcepub const fn txdmaen(&self) -> bool
pub const fn txdmaen(&self) -> bool
Transmit FIFO DMA Enable. Raw bit values: false (0) = Val0: Processor.; true (1) = Val1: DMA.
Sourcepub const fn set_txdmaen(&mut self, val: bool)
pub const fn set_txdmaen(&mut self, val: bool)
Transmit FIFO DMA Enable. Raw bit values: false (0) = Val0: Processor.; true (1) = Val1: DMA.
Sourcepub const fn set_txwmrk(&mut self, val: u8)
pub const fn set_txwmrk(&mut self, val: u8)
Transmit Watermark Level.
Trait Implementations§
impl Copy for Iptxfcr
impl Eq for Iptxfcr
impl StructuralPartialEq for Iptxfcr
Auto Trait Implementations§
impl Freeze for Iptxfcr
impl RefUnwindSafe for Iptxfcr
impl Send for Iptxfcr
impl Sync for Iptxfcr
impl Unpin for Iptxfcr
impl UnwindSafe for Iptxfcr
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