atsamd21g::tcc0::ctrla

Type Alias ResolutionW

Source
pub type ResolutionW<'a, REG> = FieldWriter<'a, REG, 2, Resolutionselect, Safe>;
Expand description

Field RESOLUTION writer - Enhanced Resolution

Aliased Type§

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

Implementations§

Source§

impl<'a, REG> ResolutionW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

pub fn none(self) -> &'a mut W<REG>

Dithering is disabled

Source

pub fn dith4(self) -> &'a mut W<REG>

Dithering is done every 16 PWM frames

Source

pub fn dith5(self) -> &'a mut W<REG>

Dithering is done every 32 PWM frames

Source

pub fn dith6(self) -> &'a mut W<REG>

Dithering is done every 64 PWM frames