#[repr(transparent)]pub struct Pwren(pub u32);Expand description
Power Enable register
Tuple Fields§
§0: u32Implementations§
Source§impl Pwren
impl Pwren
Sourcepub const fn power_enable0(&self) -> bool
pub const fn power_enable0(&self) -> bool
Power on/off switch for card 0; once power is turned on, software should wait for regulator/switch ramp-up time before trying to initialize card 0.
Sourcepub const fn set_power_enable0(&mut self, val: bool)
pub const fn set_power_enable0(&mut self, val: bool)
Power on/off switch for card 0; once power is turned on, software should wait for regulator/switch ramp-up time before trying to initialize card 0.
Sourcepub const fn power_enable1(&self) -> bool
pub const fn power_enable1(&self) -> bool
Power on/off switch for card 1; once power is turned on, software should wait for regulator/switch ramp-up time before trying to initialize card 1.
Sourcepub const fn set_power_enable1(&mut self, val: bool)
pub const fn set_power_enable1(&mut self, val: bool)
Power on/off switch for card 1; once power is turned on, software should wait for regulator/switch ramp-up time before trying to initialize card 1.
Trait Implementations§
impl Copy for Pwren
impl Eq for Pwren
impl StructuralPartialEq for Pwren
Auto Trait Implementations§
impl Freeze for Pwren
impl RefUnwindSafe for Pwren
impl Send for Pwren
impl Sync for Pwren
impl Unpin for Pwren
impl UnwindSafe for Pwren
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