#[repr(transparent)]pub struct PwdSet(pub u32);Expand description
USB PHY Power-Down Register
Tuple Fields§
§0: u32Implementations§
Source§impl PwdSet
impl PwdSet
Sourcepub const fn set_txpwdfs(&mut self, val: bool)
pub const fn set_txpwdfs(&mut self, val: bool)
0 = Normal operation
Sourcepub const fn txpwdibias(&self) -> bool
pub const fn txpwdibias(&self) -> bool
0 = Normal operation
Sourcepub const fn set_txpwdibias(&mut self, val: bool)
pub const fn set_txpwdibias(&mut self, val: bool)
0 = Normal operation
Sourcepub const fn set_txpwdv2i(&mut self, val: bool)
pub const fn set_txpwdv2i(&mut self, val: bool)
0 = Normal operation
Sourcepub const fn set_rxpwdenv(&mut self, val: bool)
pub const fn set_rxpwdenv(&mut self, val: bool)
0 = Normal operation
Sourcepub const fn set_rxpwd1pt1(&mut self, val: bool)
pub const fn set_rxpwd1pt1(&mut self, val: bool)
0 = Normal operation
Sourcepub const fn set_rxpwddiff(&mut self, val: bool)
pub const fn set_rxpwddiff(&mut self, val: bool)
0 = Normal operation
Sourcepub const fn set_rxpwdrx(&mut self, val: bool)
pub const fn set_rxpwdrx(&mut self, val: bool)
0 = Normal operation
Trait Implementations§
impl Copy for PwdSet
impl Eq for PwdSet
impl StructuralPartialEq for PwdSet
Auto Trait Implementations§
impl Freeze for PwdSet
impl RefUnwindSafe for PwdSet
impl Send for PwdSet
impl Sync for PwdSet
impl Unpin for PwdSet
impl UnwindSafe for PwdSet
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