Type Alias xmc4400::dsd::cgcfg::CGMOD_R

source ·
pub type CGMOD_R = FieldReader<CGMOD_A>;
Expand description

Field CGMOD reader - Carrier Generator Operating Mode

Aliased Type§

struct CGMOD_R { /* private fields */ }

Implementations§

source§

impl CGMOD_R

source

pub const fn variant(&self) -> CGMOD_A

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

Stopped

source

pub fn is_value2(&self) -> bool

Square wave

source

pub fn is_value3(&self) -> bool

Triangle

source

pub fn is_value4(&self) -> bool

Sine wave