Struct msp432p401r::eusci_b3::ucbx_ctlw1::UCASTP_W[][src]

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

Field UCASTP writer - Automatic STOP condition generation

Implementations

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

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

Writes variant to the field

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

No automatic STOP generation. The STOP condition is generated after the user sets the UCTXSTP bit. The value in UCBxTBCNT is a don’t care.

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

UCBCNTIFG is set with the byte counter reaches the threshold defined in UCBxTBCNT

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

A STOP condition is generated automatically after the byte counter value reached UCBxTBCNT. UCBCNTIFG is set with the byte counter reaching the threshold

pub unsafe fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for UCASTP_W<'a>

impl<'a> Sync for UCASTP_W<'a>

impl<'a> Unpin for UCASTP_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.