Type Alias xmc4800::dsd::cgcfg::DivcgR

source ·
pub type DivcgR = FieldReader<Divcg>;
Expand description

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

Aliased Type§

struct DivcgR { /* private fields */ }

Implementations§

source§

impl DivcgR

source

pub const fn variant(&self) -> Option<Divcg>

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

fCG = fCLK / 2

source

pub fn is_value2(&self) -> bool

fCG = fCLK / 4

source

pub fn is_value3(&self) -> bool

fCG = fCLK / 6

source

pub fn is_value4(&self) -> bool

fCG = fCLK / 32