Type Alias xmc4300::scu_osc::oschpctrl::R

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

Register OSCHPCTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn x1den(&self) -> X1denR

Bit 0 - XTAL1 Data Enable

source

pub fn shby(&self) -> ShbyR

Bit 1 - Shaper Bypass

source

pub fn gainsel(&self) -> GainselR

Bits 2:3 - Oscillator Gain Selection

source

pub fn mode(&self) -> ModeR

Bits 4:5 - Oscillator Mode

source

pub fn oscval(&self) -> OscvalR

Bits 16:19 - OSC Frequency Value