pub struct W(_);
Expand description
Register CSCTL2
writer
Implementations
sourceimpl W
impl W
sourcepub fn lfxtdrive(&mut self) -> LFXTDRIVE_W<'_, 0>
pub fn lfxtdrive(&mut self) -> LFXTDRIVE_W<'_, 0>
Bits 0:1 - LFXT oscillator current can be adjusted to its drive needs
sourcepub fn lfxtagcoff(&mut self) -> LFXTAGCOFF_W<'_, 7>
pub fn lfxtagcoff(&mut self) -> LFXTAGCOFF_W<'_, 7>
Bit 7 - Disables the automatic gain control of the LFXT crystal
sourcepub fn lfxt_en(&mut self) -> LFXT_EN_W<'_, 8>
pub fn lfxt_en(&mut self) -> LFXT_EN_W<'_, 8>
Bit 8 - Turns on the LFXT oscillator regardless if used as a clock resource
sourcepub fn lfxtbypass(&mut self) -> LFXTBYPASS_W<'_, 9>
pub fn lfxtbypass(&mut self) -> LFXTBYPASS_W<'_, 9>
Bit 9 - LFXT bypass select
sourcepub fn hfxtdrive(&mut self) -> HFXTDRIVE_W<'_, 16>
pub fn hfxtdrive(&mut self) -> HFXTDRIVE_W<'_, 16>
Bit 16 - HFXT oscillator drive selection
sourcepub fn hfxtfreq(&mut self) -> HFXTFREQ_W<'_, 20>
pub fn hfxtfreq(&mut self) -> HFXTFREQ_W<'_, 20>
Bits 20:22 - HFXT frequency selection
sourcepub fn hfxt_en(&mut self) -> HFXT_EN_W<'_, 24>
pub fn hfxt_en(&mut self) -> HFXT_EN_W<'_, 24>
Bit 24 - Turns on the HFXT oscillator regardless if used as a clock resource
sourcepub fn hfxtbypass(&mut self) -> HFXTBYPASS_W<'_, 25>
pub fn hfxtbypass(&mut self) -> HFXTBYPASS_W<'_, 25>
Bit 25 - HFXT bypass select
Methods from Deref<Target = W<CSCTL2_SPEC>>
Trait Implementations
sourceimpl From<W<CSCTL2_SPEC>> for W
impl From<W<CSCTL2_SPEC>> for W
sourcefn from(writer: W<CSCTL2_SPEC>) -> Self
fn from(writer: W<CSCTL2_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more