Struct msp432p401r::eusci_b2::ucbx_ctlw0::W [−][src]
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>>
Trait Implementations
impl Deref for W
[src]
type Target = W<UCBXCTLW0_SPEC>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for W
[src]
impl From<W<UCBXCTLW0_SPEC>> for W
[src]
fn from(writer: W<UCBXCTLW0_SPEC>) -> Self
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,