Type Alias atsame54n::tcc0::fctrlb::CAPTURE_W

source ·
pub type CAPTURE_W<'a, REG, const O: u8> = FieldWriterSafe<'a, REG, 3, O, CAPTURESELECT_A>;
Expand description

Field CAPTURE writer - Fault B Capture Action

Aliased Type§

struct CAPTURE_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> CAPTURE_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn disable(self) -> &'a mut W<REG>

No capture

source

pub fn capt(self) -> &'a mut W<REG>

Capture on fault

source

pub fn captmin(self) -> &'a mut W<REG>

Minimum capture

source

pub fn captmax(self) -> &'a mut W<REG>

Maximum capture

source

pub fn locmin(self) -> &'a mut W<REG>

Minimum local detection

source

pub fn locmax(self) -> &'a mut W<REG>

Maximum local detection

source

pub fn deriv0(self) -> &'a mut W<REG>

Minimum and maximum local detection

source

pub fn captmark(self) -> &'a mut W<REG>

Capture with ramp index as MSB value