[][src]Struct s32k144::sim::misctrl0::_FTM0_OBE_CTRLW

pub struct _FTM0_OBE_CTRLW<'a> { /* fields omitted */ }

Proxy

Methods

impl<'a> _FTM0_OBE_CTRLW<'a>
[src]

pub fn variant(self, variant: FTM0_OBE_CTRLW) -> &'a mut W
[src]

Writes variant to the field

pub fn _0(self) -> &'a mut W
[src]

The FTM channel output is put to safe state when the FTM counter is enabled and the FTM channel output is enabled by Fault Control (FTM_MODE[FAULTM]!=2'b00 and FTM_FLTCTRL[FSTATE]=1'b0) and PWM is enabled (FTM_SC[PWMENn] = 1'b1). Otherwise the channel output is tristated.

pub fn _1(self) -> &'a mut W
[src]

The FTM channel output state is retained when the channel is in output mode. The output channel is tristated when the channel is in input capture [DECAPEN=1'b0, COMBINE=1'b0, MSnB:MSnA=2'b00] or dual edge capture mode [DECAPEN=1'b1].

pub fn set_bit(self) -> &'a mut W
[src]

Sets the field bit

pub fn clear_bit(self) -> &'a mut W
[src]

Clears the field bit

pub fn bit(self, value: bool) -> &'a mut W
[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for _FTM0_OBE_CTRLW<'a>

impl<'a> Sync for _FTM0_OBE_CTRLW<'a>

Blanket Implementations

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

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]