Type Alias xmc4800::ccu40_cc40::sws::W

source ·
pub type W = W<SWS_SPEC>;
Expand description

Register SWS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn spm(&mut self) -> SPM_W<'_, SWS_SPEC>

Bit 0 - Period match while counting up set

source

pub fn som(&mut self) -> SOM_W<'_, SWS_SPEC>

Bit 1 - One match while counting down set

source

pub fn scmu(&mut self) -> SCMU_W<'_, SWS_SPEC>

Bit 2 - Compare match while counting up set

source

pub fn scmd(&mut self) -> SCMD_W<'_, SWS_SPEC>

Bit 3 - Compare match while counting down set

source

pub fn se0a(&mut self) -> SE0A_W<'_, SWS_SPEC>

Bit 8 - Event 0 detection set

source

pub fn se1a(&mut self) -> SE1A_W<'_, SWS_SPEC>

Bit 9 - Event 1 detection set

source

pub fn se2a(&mut self) -> SE2A_W<'_, SWS_SPEC>

Bit 10 - Event 2 detection set

source

pub fn strpf(&mut self) -> STRPF_W<'_, SWS_SPEC>

Bit 11 - Trap Flag status set