pub type W = W<OSCHPCTRL_SPEC>;
Expand description
Register OSCHPCTRL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn x1den(&mut self) -> X1DEN_W<'_, OSCHPCTRL_SPEC>
pub fn x1den(&mut self) -> X1DEN_W<'_, OSCHPCTRL_SPEC>
Bit 0 - XTAL1 Data Enable
sourcepub fn shby(&mut self) -> SHBY_W<'_, OSCHPCTRL_SPEC>
pub fn shby(&mut self) -> SHBY_W<'_, OSCHPCTRL_SPEC>
Bit 1 - Shaper Bypass
sourcepub fn gainsel(&mut self) -> GAINSEL_W<'_, OSCHPCTRL_SPEC>
pub fn gainsel(&mut self) -> GAINSEL_W<'_, OSCHPCTRL_SPEC>
Bits 2:3 - Oscillator Gain Selection
sourcepub fn mode(&mut self) -> MODE_W<'_, OSCHPCTRL_SPEC>
pub fn mode(&mut self) -> MODE_W<'_, OSCHPCTRL_SPEC>
Bits 4:5 - Oscillator Mode
sourcepub fn oscval(&mut self) -> OSCVAL_W<'_, OSCHPCTRL_SPEC>
pub fn oscval(&mut self) -> OSCVAL_W<'_, OSCHPCTRL_SPEC>
Bits 16:19 - OSC Frequency Value