pub struct DcdcConfig {
pub reg0_voltage: Option<Reg0Voltage>,
pub reg1: bool,
}Expand description
Settings for enabling the built in DCDC converters.
Fields§
§reg0_voltage: Option<Reg0Voltage>Configure the voltage of the first stage DCDC. It is stored in non-volatile memory (UICR.REGOUT0 register); pass None to not touch it.
reg1: boolConfig for the second stage DCDC (VDD -> DEC4), if disabled LDO will be used.
Auto Trait Implementations§
impl Freeze for DcdcConfig
impl RefUnwindSafe for DcdcConfig
impl Send for DcdcConfig
impl Sync for DcdcConfig
impl Unpin for DcdcConfig
impl UnsafeUnpin for DcdcConfig
impl UnwindSafe for DcdcConfig
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