W

Type Alias W 

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

Register CTRLA writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn enable(&mut self) -> ENABLE_W<'_, CTRLA_SPEC>

Bit 0 - Enable

Source

pub fn hysmode(&mut self) -> HYSMODE_W<'_, CTRLA_SPEC>

Bits 1:2 - Hysteresis Mode

Source

pub fn lpmode(&mut self) -> LPMODE_W<'_, CTRLA_SPEC>

Bit 3 - Low Power Mode

Source

pub fn intmode(&mut self) -> INTMODE_W<'_, CTRLA_SPEC>

Bits 4:5 - Interrupt Mode

Source

pub fn outen(&mut self) -> OUTEN_W<'_, CTRLA_SPEC>

Bit 6 - Output Buffer Enable

Source

pub fn runstdby(&mut self) -> RUNSTDBY_W<'_, CTRLA_SPEC>

Bit 7 - Run in Standby Mode