Type Alias xmc4200::hrpwm0_csg0::sc::W

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

Register SC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn psrm(&mut self) -> PSRM_W<'_, SC_SPEC>

Bits 0:1 - Prescaler external start configuration

source

pub fn pstm(&mut self) -> PSTM_W<'_, SC_SPEC>

Bits 2:3 - Prescaler external stop configuration

source

pub fn fpd(&mut self) -> FPD_W<'_, SC_SPEC>

Bit 4 - Fixed division disable

source

pub fn psv(&mut self) -> PSV_W<'_, SC_SPEC>

Bits 5:6 - Prescaler division factor

source

pub fn scm(&mut self) -> SCM_W<'_, SC_SPEC>

Bits 8:9 - Slope control mode

source

pub fn ssrm(&mut self) -> SSRM_W<'_, SC_SPEC>

Bits 10:11 - Slope external start configuration

source

pub fn sstm(&mut self) -> SSTM_W<'_, SC_SPEC>

Bits 12:13 - Slope external stop configuration

source

pub fn svsc(&mut self) -> SVSC_W<'_, SC_SPEC>

Bits 14:15 - Slope reference value mode

source

pub fn swsm(&mut self) -> SWSM_W<'_, SC_SPEC>

Bits 16:17 - Initial DAC start mode

source

pub fn gcfg(&mut self) -> GCFG_W<'_, SC_SPEC>

Bits 18:19 - Slope step gain configuration

source

pub fn ist(&mut self) -> IST_W<'_, SC_SPEC>

Bit 20 - Immediate shadow transfer

source

pub fn pse(&mut self) -> PSE_W<'_, SC_SPEC>

Bit 21 - Pulse swallow enable

source

pub fn pswm(&mut self) -> PSWM_W<'_, SC_SPEC>

Bits 24:25 - Pulse swallow window mode