Struct Cr3
#[repr(transparent)]pub struct Cr3(pub u32);Expand description
Power control register 3
Tuple Fields§
§0: u32Implementations§
§impl Cr3
impl Cr3
pub const fn set_ulpmen(&mut self, val: bool)
pub const fn set_ulpmen(&mut self, val: bool)
Ultra-low-power mode enable
pub const fn ucpd_stdby(&self) -> bool
pub const fn ucpd_stdby(&self) -> bool
USB Type-C and power delivery Standby mode
pub const fn set_ucpd_stdby(&mut self, val: bool)
pub const fn set_ucpd_stdby(&mut self, val: bool)
USB Type-C and power delivery Standby mode
pub const fn ucpd_dbdis(&self) -> bool
pub const fn ucpd_dbdis(&self) -> bool
USB Type-C and power delivery dead battery disable
pub const fn set_ucpd_dbdis(&mut self, val: bool)
pub const fn set_ucpd_dbdis(&mut self, val: bool)
USB Type-C and power delivery dead battery disable
Trait Implementations§
impl Copy for Cr3
impl Eq for Cr3
impl StructuralPartialEq for Cr3
Auto Trait Implementations§
impl Freeze for Cr3
impl RefUnwindSafe for Cr3
impl Send for Cr3
impl Sync for Cr3
impl Unpin for Cr3
impl UnsafeUnpin for Cr3
impl UnwindSafe for Cr3
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