atsamd21g::adc::ctrla

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 runstdby(&mut self) -> RunstdbyW<'_, CtrlaSpec>

Bit 2 - Run in Standby