[−]Struct metro_m4::target_device::oscctrl::xoscctrl::R
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
Blanket Implementations
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.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self