pub type W = W<CGCFG_SPEC>;
Expand description
Register CGCFG
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn cgmod(&mut self) -> CGMOD_W<'_, CGCFG_SPEC>
pub fn cgmod(&mut self) -> CGMOD_W<'_, CGCFG_SPEC>
Bits 0:1 - Carrier Generator Operating Mode
sourcepub fn brev(&mut self) -> BREV_W<'_, CGCFG_SPEC>
pub fn brev(&mut self) -> BREV_W<'_, CGCFG_SPEC>
Bit 2 - Bit-Reverse PWM Generation
sourcepub fn sigpol(&mut self) -> SIGPOL_W<'_, CGCFG_SPEC>
pub fn sigpol(&mut self) -> SIGPOL_W<'_, CGCFG_SPEC>
Bit 3 - Signal Polarity
sourcepub fn divcg(&mut self) -> DIVCG_W<'_, CGCFG_SPEC>
pub fn divcg(&mut self) -> DIVCG_W<'_, CGCFG_SPEC>
Bits 4:7 - Divider Factor for the PWM Pattern Signal Generator