Type Alias W

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

Register CAP_CH%s_CFG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn en(&mut self) -> EN_W<'_, CAP_CH_CFG_SPEC>

Bit 0

Source

pub fn mode(&mut self) -> MODE_W<'_, CAP_CH_CFG_SPEC>

Bits 1:2

Source

pub fn prescale(&mut self) -> PRESCALE_W<'_, CAP_CH_CFG_SPEC>

Bits 3:10

Source

pub fn in_invert(&mut self) -> IN_INVERT_W<'_, CAP_CH_CFG_SPEC>

Bit 11

Source

pub fn sw(&mut self) -> SW_W<'_, CAP_CH_CFG_SPEC>

Bit 12