pub struct DcdcConfig {
pub regh: bool,
pub regh_voltage: Option<ReghVoltage>,
pub regmain: bool,
pub regradio: bool,
}Expand description
Settings for enabling the built in DCDC converters.
Fields§
§regh: boolConfig for the high voltage stage, if disabled LDO will be used.
regh_voltage: Option<ReghVoltage>Configure the voltage of the high voltage stage. It is stored in non-volatile memory (UICR.VREGHVOUT register); pass None to not touch it.
regmain: boolConfig for the main rail, if disabled LDO will be used.
regradio: boolConfig for the radio rail, 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