#[repr(transparent)]pub struct Pwd(pub u32);Expand description
USB PHY Power-Down Register
Tuple Fields§
§0: u32Implementations§
Source§impl Pwd
impl Pwd
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 Pwd
impl Eq for Pwd
impl StructuralPartialEq for Pwd
Auto Trait Implementations§
impl Freeze for Pwd
impl RefUnwindSafe for Pwd
impl Send for Pwd
impl Sync for Pwd
impl Unpin for Pwd
impl UnwindSafe for Pwd
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