Type Alias atsamd51p::tc0::count32::ctrla::MODE_R

source ·
pub type MODE_R = FieldReader<MODESELECT_A>;
Expand description

Field MODE reader - Timer Counter Mode

Aliased Type§

struct MODE_R { /* private fields */ }

Implementations§

source§

impl MODE_R

source

pub const fn variant(&self) -> Option<MODESELECT_A>

Get enumerated values variant

source

pub fn is_count16(&self) -> bool

Counter in 16-bit mode

source

pub fn is_count8(&self) -> bool

Counter in 8-bit mode

source

pub fn is_count32(&self) -> bool

Counter in 32-bit mode