[]Struct metro_m4::target_device::oscctrl::xoscctrl::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R

pub fn bits(&self) -> u32

Value of the register as raw bits

pub fn enable(&self) -> ENABLER

Bit 1 - Oscillator Enable

pub fn xtalen(&self) -> XTALENR

Bit 2 - Crystal Oscillator Enable

pub fn runstdby(&self) -> RUNSTDBYR

Bit 6 - Run in Standby

pub fn ondemand(&self) -> ONDEMANDR

Bit 7 - On Demand Control

pub fn lowbufgain(&self) -> LOWBUFGAINR

Bit 8 - Low Buffer Gain Enable

pub fn iptat(&self) -> IPTATR

Bits 9:10 - Oscillator Current Reference

pub fn imult(&self) -> IMULTR

Bits 11:14 - Oscillator Current Multiplier

pub fn enalc(&self) -> ENALCR

Bit 15 - Automatic Loop Control Enable

pub fn cfden(&self) -> CFDENR

Bit 16 - Clock Failure Detector Enable

pub fn swben(&self) -> SWBENR

Bit 17 - Xosc Clock Switch Enable

pub fn startup(&self) -> STARTUPR

Bits 20:23 - Start-Up Time

pub fn cfdpresc(&self) -> CFDPRESCR

Bits 24:27 - Clock Failure Detector Prescaler

Auto Trait Implementations

impl Unpin for R

impl Sync for R

impl Send for R

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self