#[repr(transparent)]pub struct Data(pub u32);Expand description
Data
Tuple Fields§
§0: u32Implementations§
Source§impl Data
impl Data
Sourcepub const fn set_r0t0(&mut self, val: bool)
pub const fn set_r0t0(&mut self, val: bool)
Read receive FIFO bit 0 or write transmit FIFO bit 0
Sourcepub const fn set_r1t1(&mut self, val: bool)
pub const fn set_r1t1(&mut self, val: bool)
Read receive FIFO bit 1 or write transmit FIFO bit 1
Sourcepub const fn set_r2t2(&mut self, val: bool)
pub const fn set_r2t2(&mut self, val: bool)
Read receive FIFO bit 2 or write transmit FIFO bit 2
Sourcepub const fn set_r3t3(&mut self, val: bool)
pub const fn set_r3t3(&mut self, val: bool)
Read receive FIFO bit 3 or write transmit FIFO bit 3
Sourcepub const fn set_r4t4(&mut self, val: bool)
pub const fn set_r4t4(&mut self, val: bool)
Read receive FIFO bit 4 or write transmit FIFO bit 4
Sourcepub const fn set_r5t5(&mut self, val: bool)
pub const fn set_r5t5(&mut self, val: bool)
Read receive FIFO bit 5 or write transmit FIFO bit 5
Sourcepub const fn set_r6t6(&mut self, val: bool)
pub const fn set_r6t6(&mut self, val: bool)
Read receive FIFO bit 6 or write transmit FIFO bit 6
Sourcepub const fn set_r7t7(&mut self, val: bool)
pub const fn set_r7t7(&mut self, val: bool)
Read receive FIFO bit 7 or write transmit FIFO bit 7
Sourcepub const fn set_r8t8(&mut self, val: bool)
pub const fn set_r8t8(&mut self, val: bool)
Read receive FIFO bit 8 or write transmit FIFO bit 8
Sourcepub const fn set_r9t9(&mut self, val: bool)
pub const fn set_r9t9(&mut self, val: bool)
Read receive FIFO bit 9 or write transmit FIFO bit 9
Sourcepub const fn set_linbrk(&mut self, val: bool)
pub const fn set_linbrk(&mut self, val: bool)
LIN Break
Sourcepub const fn set_idline(&mut self, val: bool)
pub const fn set_idline(&mut self, val: bool)
Idle Line
Sourcepub const fn set_rxempt(&mut self, val: bool)
pub const fn set_rxempt(&mut self, val: bool)
Receive Buffer Empty
Sourcepub const fn set_fretsc(&mut self, val: bool)
pub const fn set_fretsc(&mut self, val: bool)
Frame Error Transmit Special Character
Sourcepub const fn set_paritye(&mut self, val: bool)
pub const fn set_paritye(&mut self, val: bool)
Parity Error
Trait Implementations§
impl Copy for Data
impl Eq for Data
impl StructuralPartialEq for Data
Auto Trait Implementations§
impl Freeze for Data
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
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