#[repr(transparent)]pub struct HpCnfgCtrl(pub u32);Expand description
High Power Config Control.
Tuple Fields§
§0: u32Implementations§
Source§impl HpCnfgCtrl
impl HpCnfgCtrl
Sourcepub const fn set_hp_req_en(&mut self, val: bool)
pub const fn set_hp_req_en(&mut self, val: bool)
High Power Request Enable.
Sourcepub const fn override_en(&self) -> bool
pub const fn override_en(&self) -> bool
Override Enable.
Sourcepub const fn set_override_en(&mut self, val: bool)
pub const fn set_override_en(&mut self, val: bool)
Override Enable.
Sourcepub const fn override_sel(&self) -> bool
pub const fn override_sel(&self) -> bool
Override Select.
Sourcepub const fn set_override_sel(&mut self, val: bool)
pub const fn set_override_sel(&mut self, val: bool)
Override Select.
Trait Implementations§
Source§impl Clone for HpCnfgCtrl
impl Clone for HpCnfgCtrl
Source§fn clone(&self) -> HpCnfgCtrl
fn clone(&self) -> HpCnfgCtrl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HpCnfgCtrl
impl Debug for HpCnfgCtrl
Source§impl Default for HpCnfgCtrl
impl Default for HpCnfgCtrl
Source§fn default() -> HpCnfgCtrl
fn default() -> HpCnfgCtrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for HpCnfgCtrl
impl PartialEq for HpCnfgCtrl
impl Copy for HpCnfgCtrl
impl Eq for HpCnfgCtrl
impl StructuralPartialEq for HpCnfgCtrl
Auto Trait Implementations§
impl Freeze for HpCnfgCtrl
impl RefUnwindSafe for HpCnfgCtrl
impl Send for HpCnfgCtrl
impl Sync for HpCnfgCtrl
impl Unpin for HpCnfgCtrl
impl UnwindSafe for HpCnfgCtrl
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