#[repr(transparent)]pub struct Hdcr(pub u32);Expand description
Half Duplex Control
Tuple Fields§
§0: u32Implementations§
Source§impl Hdcr
impl Hdcr
Sourcepub const fn set_txstall(&mut self, val: Txstall)
pub const fn set_txstall(&mut self, val: Txstall)
Transmit Stall
Sourcepub const fn set_rxwrmsk(&mut self, val: Rxwrmsk)
pub const fn set_rxwrmsk(&mut self, val: Rxwrmsk)
Receive FIFO Write Mask
Sourcepub const fn set_rtsext(&mut self, val: u8)
pub const fn set_rtsext(&mut self, val: u8)
RTS Extended
Trait Implementations§
impl Copy for Hdcr
impl Eq for Hdcr
impl StructuralPartialEq for Hdcr
Auto Trait Implementations§
impl Freeze for Hdcr
impl RefUnwindSafe for Hdcr
impl Send for Hdcr
impl Sync for Hdcr
impl Unpin for Hdcr
impl UnwindSafe for Hdcr
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