Type Alias xmc4200::hrpwm0_hrc0::gc::R

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

Register GC reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn hrm0(&self) -> HRM0_R

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

source

pub fn hrm1(&self) -> HRM1_R

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

source

pub fn dte(&self) -> DTE_R

Bit 8 - HRCy dead time enable

source

pub fn tr0e(&self) -> TR0E_R

Bit 9 - HRCy trap enable

source

pub fn tr1e(&self) -> TR1E_R

Bit 10 - HRCy complementary trap enable

source

pub fn stc(&self) -> STC_R

Bit 11 - HRCy shadow transfer configuration

source

pub fn dstc(&self) -> DSTC_R

Bit 12 - HRCy dead time shadow transfer configuration

source

pub fn ocs0(&self) -> OCS0_R

Bit 13 - HRPWMx.OUTy0 channel selector

source

pub fn ocs1(&self) -> OCS1_R

Bit 14 - HRPWMx.OUTy1 channel selector

source

pub fn dtus(&self) -> DTUS_R

Bit 16 - Dead Time update trigger selector