[][src]Enum ambiq_apollo3_pac::iom0::submodctrl::SMOD0TYPER

pub enum SMOD0TYPER {
    SPI_MASTER,
    I2C_MASTER,
    SSPI,
    SI2C,
    NA,
    _Reserved(u8),
}

Possible values of the field SMOD0TYPE

Variants

SPI_MASTER

MSPI submodule value.

I2C_MASTER

I2C Master submodule value.

SSPI

SPI Slave submodule value.

SI2C

I2C Slave submodule value.

NA

NOT INSTALLED value.

_Reserved(u8)

Reserved

Methods

impl SMOD0TYPER[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_spi_master(&self) -> bool[src]

Checks if the value of the field is SPI_MASTER

pub fn is_i2c_master(&self) -> bool[src]

Checks if the value of the field is I2C_MASTER

pub fn is_sspi(&self) -> bool[src]

Checks if the value of the field is SSPI

pub fn is_si2c(&self) -> bool[src]

Checks if the value of the field is SI2C

pub fn is_na(&self) -> bool[src]

Checks if the value of the field is NA

Trait Implementations

impl Copy for SMOD0TYPER[src]

impl Debug for SMOD0TYPER[src]

impl PartialEq<SMOD0TYPER> for SMOD0TYPER[src]

impl Clone for SMOD0TYPER[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for SMOD0TYPER

impl Sync for SMOD0TYPER

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self