Type Alias xmc4400::dsd::cgcfg::DIVCG_W

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

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

Aliased Type§

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

Implementations§

source§

impl<'a, REG> DIVCG_W<'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