Type Alias atsame54n::pdec::intflag::R

source ·
pub type R = R<INTFLAG_SPEC>;
Expand description

Register INTFLAG reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn ovf(&self) -> OVF_R

Bit 0 - Overflow/Underflow

source

pub fn err(&self) -> ERR_R

Bit 1 - Error

source

pub fn dir(&self) -> DIR_R

Bit 2 - Direction Change

source

pub fn vlc(&self) -> VLC_R

Bit 3 - Velocity

source

pub fn mc0(&self) -> MC0_R

Bit 4 - Channel 0 Compare Match

source

pub fn mc1(&self) -> MC1_R

Bit 5 - Channel 1 Compare Match