pub struct DcDcOperatingMode { /* private fields */ }Expand description
Selects the operating mode (PFM/PWM Auto or Fixed PWM) for DC-DC1, DC-DC2, and DC-DC3.
Implementations§
Source§impl DcDcOperatingMode
impl DcDcOperatingMode
Sourcepub fn dcdc_1_operating_mode(&self) -> DcDcModeSelection
pub fn dcdc_1_operating_mode(&self) -> DcDcModeSelection
Read the dcdc_1_operating_mode field of the register.
DC-DC1 operating mode.
Sourcepub fn dcdc_2_operating_mode(&self) -> DcDcModeSelection
pub fn dcdc_2_operating_mode(&self) -> DcDcModeSelection
Read the dcdc_2_operating_mode field of the register.
DC-DC2 operating mode.
Sourcepub fn dcdc_3_operating_mode(&self) -> DcDcModeSelection
pub fn dcdc_3_operating_mode(&self) -> DcDcModeSelection
Read the dcdc_3_operating_mode field of the register.
DC-DC3 operating mode.
Sourcepub fn set_dcdc_1_operating_mode(&mut self, value: DcDcModeSelection)
pub fn set_dcdc_1_operating_mode(&mut self, value: DcDcModeSelection)
Write the dcdc_1_operating_mode field of the register.
DC-DC1 operating mode.
Sourcepub fn set_dcdc_2_operating_mode(&mut self, value: DcDcModeSelection)
pub fn set_dcdc_2_operating_mode(&mut self, value: DcDcModeSelection)
Write the dcdc_2_operating_mode field of the register.
DC-DC2 operating mode.
Sourcepub fn set_dcdc_3_operating_mode(&mut self, value: DcDcModeSelection)
pub fn set_dcdc_3_operating_mode(&mut self, value: DcDcModeSelection)
Write the dcdc_3_operating_mode field of the register.
DC-DC3 operating mode.
Trait Implementations§
Source§impl BitAnd for DcDcOperatingMode
impl BitAnd for DcDcOperatingMode
Source§impl BitAndAssign for DcDcOperatingMode
impl BitAndAssign for DcDcOperatingMode
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for DcDcOperatingMode
impl BitOr for DcDcOperatingMode
Source§impl BitOrAssign for DcDcOperatingMode
impl BitOrAssign for DcDcOperatingMode
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for DcDcOperatingMode
impl BitXor for DcDcOperatingMode
Source§impl BitXorAssign for DcDcOperatingMode
impl BitXorAssign for DcDcOperatingMode
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for DcDcOperatingMode
impl Clone for DcDcOperatingMode
Source§fn clone(&self) -> DcDcOperatingMode
fn clone(&self) -> DcDcOperatingMode
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 DcDcOperatingMode
impl Debug for DcDcOperatingMode
Source§impl From<DcDcOperatingMode> for [u8; 1]
impl From<DcDcOperatingMode> for [u8; 1]
Source§fn from(val: DcDcOperatingMode) -> Self
fn from(val: DcDcOperatingMode) -> Self
Converts to this type from the input type.
Source§impl From<DcDcOperatingMode> for FieldSetValue
impl From<DcDcOperatingMode> for FieldSetValue
Source§fn from(val: DcDcOperatingMode) -> Self
fn from(val: DcDcOperatingMode) -> Self
Converts to this type from the input type.
Source§impl Not for DcDcOperatingMode
impl Not for DcDcOperatingMode
Source§impl PartialEq for DcDcOperatingMode
impl PartialEq for DcDcOperatingMode
impl Copy for DcDcOperatingMode
impl Eq for DcDcOperatingMode
impl StructuralPartialEq for DcDcOperatingMode
Auto Trait Implementations§
impl Freeze for DcDcOperatingMode
impl RefUnwindSafe for DcDcOperatingMode
impl Send for DcDcOperatingMode
impl Sync for DcDcOperatingMode
impl Unpin for DcDcOperatingMode
impl UnwindSafe for DcDcOperatingMode
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