#[repr(transparent)]pub struct Uartifls(pub u32);
Expand description
Interrupt FIFO Level Select Register, UARTIFLS
Tuple Fields§
§0: u32
Implementations§
source§impl Uartifls
impl Uartifls
sourcepub const fn txiflsel(&self) -> u8
pub const fn txiflsel(&self) -> u8
Transmit interrupt FIFO level select. The trigger points for the transmit interrupt are as follows: b000 = Transmit FIFO becomes <= 1 / 8 full b001 = Transmit FIFO becomes <= 1 / 4 full b010 = Transmit FIFO becomes <= 1 / 2 full b011 = Transmit FIFO becomes <= 3 / 4 full b100 = Transmit FIFO becomes <= 7 / 8 full b101-b111 = reserved.
sourcepub fn set_txiflsel(&mut self, val: u8)
pub fn set_txiflsel(&mut self, val: u8)
Transmit interrupt FIFO level select. The trigger points for the transmit interrupt are as follows: b000 = Transmit FIFO becomes <= 1 / 8 full b001 = Transmit FIFO becomes <= 1 / 4 full b010 = Transmit FIFO becomes <= 1 / 2 full b011 = Transmit FIFO becomes <= 3 / 4 full b100 = Transmit FIFO becomes <= 7 / 8 full b101-b111 = reserved.
sourcepub const fn rxiflsel(&self) -> u8
pub const fn rxiflsel(&self) -> u8
Receive interrupt FIFO level select. The trigger points for the receive interrupt are as follows: b000 = Receive FIFO becomes >= 1 / 8 full b001 = Receive FIFO becomes >= 1 / 4 full b010 = Receive FIFO becomes >= 1 / 2 full b011 = Receive FIFO becomes >= 3 / 4 full b100 = Receive FIFO becomes >= 7 / 8 full b101-b111 = reserved.
sourcepub fn set_rxiflsel(&mut self, val: u8)
pub fn set_rxiflsel(&mut self, val: u8)
Receive interrupt FIFO level select. The trigger points for the receive interrupt are as follows: b000 = Receive FIFO becomes >= 1 / 8 full b001 = Receive FIFO becomes >= 1 / 4 full b010 = Receive FIFO becomes >= 1 / 2 full b011 = Receive FIFO becomes >= 3 / 4 full b100 = Receive FIFO becomes >= 7 / 8 full b101-b111 = reserved.
Trait Implementations§
impl Copy for Uartifls
impl Eq for Uartifls
impl StructuralPartialEq for Uartifls
Auto Trait Implementations§
impl Freeze for Uartifls
impl RefUnwindSafe for Uartifls
impl Send for Uartifls
impl Sync for Uartifls
impl Unpin for Uartifls
impl UnwindSafe for Uartifls
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)