[][src]Struct ambiq_apollo1_pac::iomstr0::cmd::CMD_W

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

Write proxy for field CMD

Methods

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

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

Writes variant to the field

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

LSB bit position of the CMD LENGTH field.

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

LSB bit position of the CMD OFFSET field.

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

LSB bit position of the I2C CMD ADDRESS field.

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

LSB bit position of the SPI CMD UPLNGTH field.

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

LSB bit position of the I2C CMD 10-bit field.

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

LSB bit position of the CMD LSB-first field.

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

LSB bit position of the CMD CONTinue field.

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

LSB bit position of the CMD OPERation field.

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

LSB bit mask of the CMD LENGTH field.

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

LSB bit mask of the CMD OFFSET field.

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

LSB bit mask of the I2C CMD ADDRESS field.

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

LSB bit mask of the SPI CMD CHANNEL field.

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

LSB bit mask of the SPI CMD UPLNGTH field.

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

LSB bit mask of the I2C CMD 10-bit field.

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

LSB bit mask of the CMD LSB-first field.

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

LSB bit mask of the CMD CONTinue field.

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

LSB bit mask of the CMD OPERation field.

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for CMD_W<'a>

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

impl<'a> Unpin for CMD_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> Same<T> for T

type Output = T

Should always be Self

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.