Type Alias xmc4800::dsd::cgcfg::W

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

Register CGCFG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn cgmod(&mut self) -> CgmodW<'_, CgcfgSpec>

Bits 0:1 - Carrier Generator Operating Mode

source

pub fn brev(&mut self) -> BrevW<'_, CgcfgSpec>

Bit 2 - Bit-Reverse PWM Generation

source

pub fn sigpol(&mut self) -> SigpolW<'_, CgcfgSpec>

Bit 3 - Signal Polarity

source

pub fn divcg(&mut self) -> DivcgW<'_, CgcfgSpec>

Bits 4:7 - Divider Factor for the PWM Pattern Signal Generator