Type Alias atsame54n::tcc0::fctrlb::CAPTURE_R

source ·
pub type CAPTURE_R = FieldReader<CAPTURESELECT_A>;
Expand description

Field CAPTURE reader - Fault B Capture Action

Aliased Type§

struct CAPTURE_R { /* private fields */ }

Implementations§

source§

impl CAPTURE_R

source

pub const fn variant(&self) -> CAPTURESELECT_A

Get enumerated values variant

source

pub fn is_disable(&self) -> bool

No capture

source

pub fn is_capt(&self) -> bool

Capture on fault

source

pub fn is_captmin(&self) -> bool

Minimum capture

source

pub fn is_captmax(&self) -> bool

Maximum capture

source

pub fn is_locmin(&self) -> bool

Minimum local detection

source

pub fn is_locmax(&self) -> bool

Maximum local detection

source

pub fn is_deriv0(&self) -> bool

Minimum and maximum local detection

source

pub fn is_captmark(&self) -> bool

Capture with ramp index as MSB value