[][src]Struct ambiq_apollo3_pac::clkgen::octrl::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn acal(&mut self) -> _ACALW[src]

Bits 8:10 - Autocalibration control. This selects the source to be used in the autocalibration flow. This flow can also be used to measure an internal clock against an external clock source, with the external clock normally used as the reference.

pub fn osel(&mut self) -> _OSELW[src]

Bit 7 - Selects the RTC oscillator (1 => LFRC, 0 => XT)

pub fn fos(&mut self) -> _FOSW[src]

Bit 6 - Oscillator switch on failure function. If this is set, then LFRC clock source will switch from XT to RC.

pub fn stoprc(&mut self) -> _STOPRCW[src]

Bit 1 - Stop the LFRC Oscillator to the RTC

pub fn stopxt(&mut self) -> _STOPXTW[src]

Bit 0 - Stop the XT Oscillator to the RTC

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self