#[repr(transparent)]pub struct Pmiccfg(pub u32);Expand description
PMIC power mode select control configuration to let PMC know when vddcore or vdd1v8 will power off/on
Tuple Fields§
§0: u32Implementations§
Source§impl Pmiccfg
impl Pmiccfg
Sourcepub const fn set_vddcorem0(&mut self, val: Vddcorem0)
pub const fn set_vddcorem0(&mut self, val: Vddcorem0)
vddcore state in PMIC mode 0
Sourcepub const fn set_vddcorem1(&mut self, val: Vddcorem1)
pub const fn set_vddcorem1(&mut self, val: Vddcorem1)
vddcore state in PMIC mode 1
Sourcepub const fn set_vddcorem2(&mut self, val: Vddcorem2)
pub const fn set_vddcorem2(&mut self, val: Vddcorem2)
vddcore state in PMIC mode 2
Sourcepub const fn set_vddcorem3(&mut self, val: Vddcorem3)
pub const fn set_vddcorem3(&mut self, val: Vddcorem3)
vddcore state in PMIC mode 3
Sourcepub const fn set_vdd1v8m0(&mut self, val: Vdd1v8m0)
pub const fn set_vdd1v8m0(&mut self, val: Vdd1v8m0)
vdd1v8 state in PMIC mode 0
Sourcepub const fn set_vdd1v8m1(&mut self, val: Vdd1v8m1)
pub const fn set_vdd1v8m1(&mut self, val: Vdd1v8m1)
vdd1v8 state in PMIC mode 1
Sourcepub const fn set_vdd1v8m2(&mut self, val: Vdd1v8m2)
pub const fn set_vdd1v8m2(&mut self, val: Vdd1v8m2)
vdd1v8 state in PMIC mode 2
Sourcepub const fn set_vdd1v8m3(&mut self, val: Vdd1v8m3)
pub const fn set_vdd1v8m3(&mut self, val: Vdd1v8m3)
vdd1v8 state in PMIC mode 3
Trait Implementations§
impl Copy for Pmiccfg
impl Eq for Pmiccfg
impl StructuralPartialEq for Pmiccfg
Auto Trait Implementations§
impl Freeze for Pmiccfg
impl RefUnwindSafe for Pmiccfg
impl Send for Pmiccfg
impl Sync for Pmiccfg
impl Unpin for Pmiccfg
impl UnwindSafe for Pmiccfg
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