Type Alias atsame54n::tcc0::ctrlbset::IDXCMD_R

source ·
pub type IDXCMD_R = FieldReader<IDXCMDSELECT_A>;
Expand description

Field IDXCMD reader - Ramp Index Command

Aliased Type§

struct IDXCMD_R { /* private fields */ }

Implementations§

source§

impl IDXCMD_R

source

pub const fn variant(&self) -> IDXCMDSELECT_A

Get enumerated values variant

source

pub fn is_disable(&self) -> bool

Command disabled: Index toggles between cycles A and B

source

pub fn is_set(&self) -> bool

Set index: cycle B will be forced in the next cycle

source

pub fn is_clear(&self) -> bool

Clear index: cycle A will be forced in the next cycle

source

pub fn is_hold(&self) -> bool

Hold index: the next cycle will be the same as the current cycle