Type Alias atsame54n::tc0::count16::ctrla::PRESCSYNC_W

source ·
pub type PRESCSYNC_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 2, O, PRESCSYNCSELECT_A>;
Expand description

Field PRESCSYNC writer - Prescaler and Counter Synchronization

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> PRESCSYNC_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

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

Reload or reset the counter on next generic clock

source

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

Reload or reset the counter on next prescaler clock

source

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

Reload or reset the counter on next generic clock and reset the prescaler counter