[][src]Struct imxrt1062_pwm1::sm::smcaptctrlb::ONESHOTB_W

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

Write proxy for field ONESHOTB

Methods

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

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

Writes variant to the field

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

Free running mode is selected. If both capture circuits are enabled, then capture circuit 0 is armed first after CAPTCTRLB[ARMB] is set. Once a capture occurs, capture circuit 0 is disarmed and capture circuit 1 is armed. After capture circuit 1 performs a capture, it is disarmed and capture circuit 0 is re-armed. The process continues indefinitely.If only one of the capture circuits is enabled, then captures continue indefinitely on the enabled capture circuit.

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

One shot mode is selected. If both capture circuits are enabled, then capture circuit 0 is armed first after CAPTCTRLB[ARMB] is set. Once a capture occurs, capture circuit 0 is disarmed and capture circuit 1 is armed. After capture circuit 1 performs a capture, it is disarmed and CAPTCTRLB[ARMB] is cleared. No further captures will be performed until CAPTCTRLB[ARMB] is set again.If only one of the capture circuits is enabled, then a single capture will occur on the enabled capture circuit and CAPTCTRLB[ARMB] is then cleared.

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 ONESHOTB_W<'a>

impl<'a> !Sync for ONESHOTB_W<'a>

impl<'a> Unpin for ONESHOTB_W<'a>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.