Type Alias W

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

Register CTRLA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn swrst(&mut self) -> SwrstW<'_, CtrlaSpec>

Bit 0 - Software Reset

Source

pub fn enable(&mut self) -> EnableW<'_, CtrlaSpec>

Bit 1 - Enable

Source

pub fn dualsel(&mut self) -> DualselW<'_, CtrlaSpec>

Bits 3:4 - Dual Mode Trigger Selection

Source

pub fn slaveen(&mut self) -> SlaveenW<'_, CtrlaSpec>

Bit 5 - Slave Enable

Source

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

Bit 6 - Run in Standby

Source

pub fn ondemand(&mut self) -> OndemandW<'_, CtrlaSpec>

Bit 7 - On Demand Control

Source

pub fn prescaler(&mut self) -> PrescalerW<'_, CtrlaSpec>

Bits 8:10 - Prescaler Configuration

Source

pub fn r2r(&mut self) -> R2rW<'_, CtrlaSpec>

Bit 15 - Rail to Rail Operation Enable