[−][src]Struct ambiq_apollo1_pac::iomstr0::cmd::CMD_W
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
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,
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> Same<T> for T
type Output = T
Should always be Self
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.
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>,