Type Alias xmc4800::dsd::cgcfg::DivcgW

source ·
pub type DivcgW<'a, REG> = FieldWriter<'a, REG, 4, Divcg>;
Expand description

Field DIVCG writer - Divider Factor for the PWM Pattern Signal Generator

Aliased Type§

struct DivcgW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> DivcgW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn value1(self) -> &'a mut W<REG>

fCG = fCLK / 2

source

pub fn value2(self) -> &'a mut W<REG>

fCG = fCLK / 4

source

pub fn value3(self) -> &'a mut W<REG>

fCG = fCLK / 6

source

pub fn value4(self) -> &'a mut W<REG>

fCG = fCLK / 32