Type Alias xmc4800::dsd::cgcfg::DIVCG_R

source ·
pub type DIVCG_R = FieldReader<DIVCG_A>;
Expand description

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

Aliased Type§

struct DIVCG_R { /* private fields */ }

Implementations§

source§

impl DIVCG_R

source

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

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