Type Alias xmc4300::scu_osc::oschpctrl::W

source ·
pub type W = W<OSCHPCTRL_SPEC>;
Expand description

Register OSCHPCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn x1den(&mut self) -> X1DEN_W<'_, OSCHPCTRL_SPEC>

Bit 0 - XTAL1 Data Enable

source

pub fn shby(&mut self) -> SHBY_W<'_, OSCHPCTRL_SPEC>

Bit 1 - Shaper Bypass

source

pub fn gainsel(&mut self) -> GAINSEL_W<'_, OSCHPCTRL_SPEC>

Bits 2:3 - Oscillator Gain Selection

source

pub fn mode(&mut self) -> MODE_W<'_, OSCHPCTRL_SPEC>

Bits 4:5 - Oscillator Mode

source

pub fn oscval(&mut self) -> OSCVAL_W<'_, OSCHPCTRL_SPEC>

Bits 16:19 - OSC Frequency Value