atsamd21j::tcc0::ctrla

Type Alias ResolutionR

Source
pub type ResolutionR = FieldReader<Resolutionselect>;
Expand description

Field RESOLUTION reader - Enhanced Resolution

Aliased Type§

struct ResolutionR { /* private fields */ }

Implementations§

Source§

impl ResolutionR

Source

pub const fn variant(&self) -> Resolutionselect

Get enumerated values variant

Source

pub fn is_none(&self) -> bool

Dithering is disabled

Source

pub fn is_dith4(&self) -> bool

Dithering is done every 16 PWM frames

Source

pub fn is_dith5(&self) -> bool

Dithering is done every 32 PWM frames

Source

pub fn is_dith6(&self) -> bool

Dithering is done every 64 PWM frames