Type Alias atsame54n::pdec::intenset::R

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

Register INTENSET reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn ovf(&self) -> OVF_R

Bit 0 - Overflow/Underflow Interrupt Enable

source

pub fn err(&self) -> ERR_R

Bit 1 - Error Interrupt Enable

source

pub fn dir(&self) -> DIR_R

Bit 2 - Direction Interrupt Enable

source

pub fn vlc(&self) -> VLC_R

Bit 3 - Velocity Interrupt Enable

source

pub fn mc0(&self) -> MC0_R

Bit 4 - Channel 0 Compare Match Enable

source

pub fn mc1(&self) -> MC1_R

Bit 5 - Channel 1 Compare Match Enable