Type Alias atsame54n::tc0::count8::ctrla::MODE_W

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

Field MODE writer - Timer Counter Mode

Aliased Type§

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

Implementations§

source§

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

source

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

Counter in 16-bit mode

source

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

Counter in 8-bit mode

source

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

Counter in 32-bit mode