[][src]Struct trinket_m0::tcc0::fctrlb::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

pub fn src(&mut self) -> _SRCW[src]

Bits 0:1 - Fault B Source

pub fn keep(&mut self) -> _KEEPW[src]

Bit 3 - Fault B Keeper

pub fn qual(&mut self) -> _QUALW[src]

Bit 4 - Fault B Qualification

pub fn blank(&mut self) -> _BLANKW[src]

Bits 5:6 - Fault B Blanking Mode

pub fn restart(&mut self) -> _RESTARTW[src]

Bit 7 - Fault B Restart

pub fn halt(&mut self) -> _HALTW[src]

Bits 8:9 - Fault B Halt Mode

pub fn chsel(&mut self) -> _CHSELW[src]

Bits 10:11 - Fault B Capture Channel

pub fn capture(&mut self) -> _CAPTUREW[src]

Bits 12:14 - Fault B Capture Action

pub fn blankval(&mut self) -> _BLANKVALW[src]

Bits 16:23 - Fault B Blanking Time

pub fn filterval(&mut self) -> _FILTERVALW[src]

Bits 24:27 - Fault B Filter Value

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]