Type Alias atsame54n::tcc0::fctrlb::W

source ·
pub type W = W<FCTRLB_SPEC>;
Expand description

Register FCTRLB writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn src(&mut self) -> SRC_W<'_, FCTRLB_SPEC, 0>

Bits 0:1 - Fault B Source

source

pub fn keep(&mut self) -> KEEP_W<'_, FCTRLB_SPEC, 3>

Bit 3 - Fault B Keeper

source

pub fn qual(&mut self) -> QUAL_W<'_, FCTRLB_SPEC, 4>

Bit 4 - Fault B Qualification

source

pub fn blank(&mut self) -> BLANK_W<'_, FCTRLB_SPEC, 5>

Bits 5:6 - Fault B Blanking Mode

source

pub fn restart(&mut self) -> RESTART_W<'_, FCTRLB_SPEC, 7>

Bit 7 - Fault B Restart

source

pub fn halt(&mut self) -> HALT_W<'_, FCTRLB_SPEC, 8>

Bits 8:9 - Fault B Halt Mode

source

pub fn chsel(&mut self) -> CHSEL_W<'_, FCTRLB_SPEC, 10>

Bits 10:11 - Fault B Capture Channel

source

pub fn capture(&mut self) -> CAPTURE_W<'_, FCTRLB_SPEC, 12>

Bits 12:14 - Fault B Capture Action

source

pub fn blankpresc(&mut self) -> BLANKPRESC_W<'_, FCTRLB_SPEC, 15>

Bit 15 - Fault B Blanking Prescaler

source

pub fn blankval(&mut self) -> BLANKVAL_W<'_, FCTRLB_SPEC, 16>

Bits 16:23 - Fault B Blanking Time

source

pub fn filterval(&mut self) -> FILTERVAL_W<'_, FCTRLB_SPEC, 24>

Bits 24:27 - Fault B Filter Value

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual