xmc4500::ccu40_cc40::sws

Type Alias 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