Type Alias atsame54p::oscctrl::xoscctrl::R

source ·
pub type R = R<XOSCCTRL_SPEC>;
Expand description

Register XOSCCTRL[%s] reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn enable(&self) -> ENABLE_R

Bit 1 - Oscillator Enable

source

pub fn xtalen(&self) -> XTALEN_R

Bit 2 - Crystal Oscillator Enable

source

pub fn runstdby(&self) -> RUNSTDBY_R

Bit 6 - Run in Standby

source

pub fn ondemand(&self) -> ONDEMAND_R

Bit 7 - On Demand Control

source

pub fn lowbufgain(&self) -> LOWBUFGAIN_R

Bit 8 - Low Buffer Gain Enable

source

pub fn iptat(&self) -> IPTAT_R

Bits 9:10 - Oscillator Current Reference

source

pub fn imult(&self) -> IMULT_R

Bits 11:14 - Oscillator Current Multiplier

source

pub fn enalc(&self) -> ENALC_R

Bit 15 - Automatic Loop Control Enable

source

pub fn cfden(&self) -> CFDEN_R

Bit 16 - Clock Failure Detector Enable

source

pub fn swben(&self) -> SWBEN_R

Bit 17 - Xosc Clock Switch Enable

source

pub fn startup(&self) -> STARTUP_R

Bits 20:23 - Start-Up Time

source

pub fn cfdpresc(&self) -> CFDPRESC_R

Bits 24:27 - Clock Failure Detector Prescaler