Struct msp432p401r::eusci_b2::ucbx_ctlw0::W[][src]

pub struct W(_);

Register UCBxCTLW0 writer

Implementations

impl W[src]

pub fn ucswrst(&mut self) -> UCSWRST_W<'_>[src]

Bit 0 - Software reset enable

pub fn uctxstt(&mut self) -> UCTXSTT_W<'_>[src]

Bit 1 - Transmit START condition in master mode

pub fn uctxstp(&mut self) -> UCTXSTP_W<'_>[src]

Bit 2 - Transmit STOP condition in master mode

pub fn uctxnack(&mut self) -> UCTXNACK_W<'_>[src]

Bit 3 - Transmit a NACK

pub fn uctr(&mut self) -> UCTR_W<'_>[src]

Bit 4 - Transmitter/receiver

pub fn uctxack(&mut self) -> UCTXACK_W<'_>[src]

Bit 5 - Transmit ACK condition in slave mode

pub fn ucssel(&mut self) -> UCSSEL_W<'_>[src]

Bits 6:7 - eUSCI_B clock source select

pub fn ucsync(&mut self) -> UCSYNC_W<'_>[src]

Bit 8 - Synchronous mode enable

pub fn ucmode(&mut self) -> UCMODE_W<'_>[src]

Bits 9:10 - eUSCI_B mode

pub fn ucmst(&mut self) -> UCMST_W<'_>[src]

Bit 11 - Master mode select

pub fn ucmm(&mut self) -> UCMM_W<'_>[src]

Bit 13 - Multi-master environment select

pub fn ucsla10(&mut self) -> UCSLA10_W<'_>[src]

Bit 14 - Slave addressing mode select

pub fn uca10(&mut self) -> UCA10_W<'_>[src]

Bit 15 - Own addressing mode select

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

Writes raw bits to the register.

Methods from Deref<Target = W<UCBXCTLW0_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<UCBXCTLW0_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<UCBXCTLW0_SPEC>> for W[src]

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

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.