atsamd11c::gclk::genctrl

Type Alias W

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

Register GENCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn id(&mut self) -> IdW<'_, GenctrlSpec>

Bits 0:3 - Generic Clock Generator Selection

Source

pub fn src(&mut self) -> SrcW<'_, GenctrlSpec>

Bits 8:12 - Source Select

Source

pub fn genen(&mut self) -> GenenW<'_, GenctrlSpec>

Bit 16 - Generic Clock Generator Enable

Source

pub fn idc(&mut self) -> IdcW<'_, GenctrlSpec>

Bit 17 - Improve Duty Cycle

Source

pub fn oov(&mut self) -> OovW<'_, GenctrlSpec>

Bit 18 - Output Off Value

Source

pub fn oe(&mut self) -> OeW<'_, GenctrlSpec>

Bit 19 - Output Enable

Source

pub fn divsel(&mut self) -> DivselW<'_, GenctrlSpec>

Bit 20 - Divide Selection

Source

pub fn runstdby(&mut self) -> RunstdbyW<'_, GenctrlSpec>

Bit 21 - Run in Standby