pub struct Dcdc<'a> { /* private fields */ }
Expand description
DCDC converter
Implementations§
Source§impl<'a> Dcdc<'a>
impl<'a> Dcdc<'a>
Sourcepub const fn new(ccm: &'a Ccm) -> Self
pub const fn new(ccm: &'a Ccm) -> Self
Construct a new DCDC peripheral that can control its own clock
Sourcepub fn clock(&self) -> &(impl ClockInterface + '_)
pub fn clock(&self) -> &(impl ClockInterface + '_)
Returns the interface that controls the DCDC clock
Sourcepub fn set_target_vdd_soc(&self, millivolts: u32)
pub fn set_target_vdd_soc(&self, millivolts: u32)
Set the target value of VDD_SOC
, in milliamps
Values are clamped between 800mV and 1575mV, with 25mV step sizes.
Auto Trait Implementations§
impl<'a> Freeze for Dcdc<'a>
impl<'a> !RefUnwindSafe for Dcdc<'a>
impl<'a> !Send for Dcdc<'a>
impl<'a> !Sync for Dcdc<'a>
impl<'a> Unpin for Dcdc<'a>
impl<'a> !UnwindSafe for Dcdc<'a>
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