#[repr(transparent)]pub struct Fifo(pub u32);Expand description
FIFO.
Tuple Fields§
§0: u32Implementations§
Source§impl Fifo
impl Fifo
Sourcepub const fn rxfifosize(&self) -> Rxfifosize
pub const fn rxfifosize(&self) -> Rxfifosize
Receive FIFO Buffer Depth.
Sourcepub const fn set_rxfifosize(&mut self, val: Rxfifosize)
pub const fn set_rxfifosize(&mut self, val: Rxfifosize)
Receive FIFO Buffer Depth.
Sourcepub const fn txfifosize(&self) -> Rxfifosize
pub const fn txfifosize(&self) -> Rxfifosize
Transmit FIFO Buffer Depth.
Sourcepub const fn set_txfifosize(&mut self, val: Rxfifosize)
pub const fn set_txfifosize(&mut self, val: Rxfifosize)
Transmit FIFO Buffer Depth.
Sourcepub const fn set_rxiden(&mut self, val: Rxiden)
pub const fn set_rxiden(&mut self, val: Rxiden)
Receiver Idle Empty Enable.
Sourcepub const fn rxflush(&self) -> bool
pub const fn rxflush(&self) -> bool
Receive FIFO Flush. Raw bit values: false (0) = NoEffect: No effect.; true (1) = RxfifoRst: All data flushed out.
Sourcepub const fn set_rxflush(&mut self, val: bool)
pub const fn set_rxflush(&mut self, val: bool)
Receive FIFO Flush. Raw bit values: false (0) = NoEffect: No effect.; true (1) = RxfifoRst: All data flushed out.
Sourcepub const fn txflush(&self) -> bool
pub const fn txflush(&self) -> bool
Transmit FIFO Flush. Raw bit values: false (0) = NoEffect: No effect.; true (1) = TxfifoRst: All data flushed out.
Sourcepub const fn set_txflush(&mut self, val: bool)
pub const fn set_txflush(&mut self, val: bool)
Transmit FIFO Flush. Raw bit values: false (0) = NoEffect: No effect.; true (1) = TxfifoRst: All data flushed out.
Sourcepub const fn set_rxempt(&mut self, val: bool)
pub const fn set_rxempt(&mut self, val: bool)
Receive FIFO Or Buffer Empty.
Sourcepub const fn set_txempt(&mut self, val: bool)
pub const fn set_txempt(&mut self, val: bool)
Transmit FIFO Or Buffer Empty.
Trait Implementations§
impl Copy for Fifo
impl Eq for Fifo
impl StructuralPartialEq for Fifo
Auto Trait Implementations§
impl Freeze for Fifo
impl RefUnwindSafe for Fifo
impl Send for Fifo
impl Sync for Fifo
impl Unpin for Fifo
impl UnwindSafe for Fifo
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