Type Alias xmc4200::hrpwm0_hrc0::gc::W

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

Register GC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn hrm0(&mut self) -> HRM0_W<'_, GC_SPEC>

Bits 0:1 - HRCy high resolution mode configuration for source selector 0

source

pub fn hrm1(&mut self) -> HRM1_W<'_, GC_SPEC>

Bits 2:3 - HRCy high resolution mode configuration for source selector 1

source

pub fn dte(&mut self) -> DTE_W<'_, GC_SPEC>

Bit 8 - HRCy dead time enable

source

pub fn tr0e(&mut self) -> TR0E_W<'_, GC_SPEC>

Bit 9 - HRCy trap enable

source

pub fn tr1e(&mut self) -> TR1E_W<'_, GC_SPEC>

Bit 10 - HRCy complementary trap enable

source

pub fn stc(&mut self) -> STC_W<'_, GC_SPEC>

Bit 11 - HRCy shadow transfer configuration

source

pub fn dstc(&mut self) -> DSTC_W<'_, GC_SPEC>

Bit 12 - HRCy dead time shadow transfer configuration

source

pub fn ocs0(&mut self) -> OCS0_W<'_, GC_SPEC>

Bit 13 - HRPWMx.OUTy0 channel selector

source

pub fn ocs1(&mut self) -> OCS1_W<'_, GC_SPEC>

Bit 14 - HRPWMx.OUTy1 channel selector

source

pub fn dtus(&mut self) -> DTUS_W<'_, GC_SPEC>

Bit 16 - Dead Time update trigger selector