Skip to main content

W

Type Alias W 

Source
pub type W = W<u32, CC1_CTRL>;
Expand description

Writer for register CC1_CTRL

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

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

Bits 0:1 - CC Channel Mode

Source

pub fn outinv(&mut self) -> OUTINV_W<'_>

Bit 2 - Output Invert

Source

pub fn coist(&mut self) -> COIST_W<'_>

Bit 4 - Compare Output Initial State

Source

pub fn cmoa(&mut self) -> CMOA_W<'_>

Bits 8:9 - Compare Match Output Action

Source

pub fn cofoa(&mut self) -> COFOA_W<'_>

Bits 10:11 - Counter Overflow Output Action

Source

pub fn cufoa(&mut self) -> CUFOA_W<'_>

Bits 12:13 - Counter Underflow Output Action

Source

pub fn prssel(&mut self) -> PRSSEL_W<'_>

Bits 16:19 - Compare/Capture Channel PRS Input Channel Selection

Source

pub fn icedge(&mut self) -> ICEDGE_W<'_>

Bits 24:25 - Input Capture Edge Select

Source

pub fn icevctrl(&mut self) -> ICEVCTRL_W<'_>

Bits 26:27 - Input Capture Event Control

Source

pub fn prsconf(&mut self) -> PRSCONF_W<'_>

Bit 28 - PRS Configuration

Source

pub fn insel(&mut self) -> INSEL_W<'_>

Bit 29 - Input Selection

Source

pub fn filt(&mut self) -> FILT_W<'_>

Bit 30 - Digital Filter