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