Type Alias atsame54n::tcc0::ctrla::RESOLUTION_W

source ·
pub type RESOLUTION_W<'a, REG, const O: u8> = FieldWriterSafe<'a, REG, 2, O, RESOLUTIONSELECT_A>;
Expand description

Field RESOLUTION writer - Enhanced Resolution

Aliased Type§

struct RESOLUTION_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> RESOLUTION_W<'a, REG, O>
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