Struct msp432p401r::cs::csctl2::W [−][src]
Register CSCTL2
writer
Implementations
impl W
[src]
pub fn lfxtdrive(&mut self) -> LFXTDRIVE_W<'_>
[src]
Bits 0:1 - LFXT oscillator current can be adjusted to its drive needs
pub fn lfxtagcoff(&mut self) -> LFXTAGCOFF_W<'_>
[src]
Bit 7 - Disables the automatic gain control of the LFXT crystal
pub fn lfxt_en(&mut self) -> LFXT_EN_W<'_>
[src]
Bit 8 - Turns on the LFXT oscillator regardless if used as a clock resource
pub fn lfxtbypass(&mut self) -> LFXTBYPASS_W<'_>
[src]
Bit 9 - LFXT bypass select
pub fn hfxtdrive(&mut self) -> HFXTDRIVE_W<'_>
[src]
Bit 16 - HFXT oscillator drive selection
pub fn hfxtfreq(&mut self) -> HFXTFREQ_W<'_>
[src]
Bits 20:22 - HFXT frequency selection
pub fn hfxt_en(&mut self) -> HFXT_EN_W<'_>
[src]
Bit 24 - Turns on the HFXT oscillator regardless if used as a clock resource
pub fn hfxtbypass(&mut self) -> HFXTBYPASS_W<'_>
[src]
Bit 25 - HFXT bypass select
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register.
Methods from Deref<Target = W<CSCTL2_SPEC>>
Trait Implementations
impl Deref for W
[src]
type Target = W<CSCTL2_SPEC>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for W
[src]
impl From<W<CSCTL2_SPEC>> for W
[src]
fn from(writer: W<CSCTL2_SPEC>) -> Self
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,