W

Type Alias W 

Source
pub type W = W<OscctrlSpec>;
Expand description

Register OSCCTRL writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn filter_en(&mut self) -> FilterEnW<'_, OscctrlSpec>

Bit 0 - Enables analog deglitch filter.

Source

pub fn ibias_sel(&mut self) -> IbiasSelW<'_, OscctrlSpec>

Bit 1 - If IBIAS_EN is 1, selects 4x,2x mode.

Source

pub fn hyst_en(&mut self) -> HystEnW<'_, OscctrlSpec>

Bit 2 - Enables high current hysteresis buffer.

Source

pub fn ibias_en(&mut self) -> IbiasEnW<'_, OscctrlSpec>

Bit 3 - Enables higher 4x,2x current modes.

Source

pub fn bypass(&mut self) -> BypassW<'_, OscctrlSpec>

Bit 4 - RTC Crystal Bypass

Source

pub fn sqw_32k(&mut self) -> Sqw32kW<'_, OscctrlSpec>

Bit 5 - RTC 32kHz Square Wave Output