[][src]Struct bl602_pac::spi::spi_config::R

pub struct R(_);

Register spi_config reader

Implementations

impl R[src]

pub fn cr_spi_deg_cnt(&self) -> CR_SPI_DEG_CNT_R[src]

Bits 12:15

pub fn cr_spi_deg_en(&self) -> CR_SPI_DEG_EN_R[src]

Bit 11

pub fn cr_spi_m_cont_en(&self) -> CR_SPI_M_CONT_EN_R[src]

Bit 9

pub fn cr_spi_rxd_ignr_en(&self) -> CR_SPI_RXD_IGNR_EN_R[src]

Bit 8

pub fn cr_spi_byte_inv(&self) -> CR_SPI_BYTE_INV_R[src]

Bit 7

pub fn cr_spi_bit_inv(&self) -> CR_SPI_BIT_INV_R[src]

Bit 6

pub fn cr_spi_sclk_ph(&self) -> CR_SPI_SCLK_PH_R[src]

Bit 5

pub fn cr_spi_sclk_pol(&self) -> CR_SPI_SCLK_POL_R[src]

Bit 4

pub fn cr_spi_frame_size(&self) -> CR_SPI_FRAME_SIZE_R[src]

Bits 2:3

pub fn cr_spi_s_en(&self) -> CR_SPI_S_EN_R[src]

Bit 1

pub fn cr_spi_m_en(&self) -> CR_SPI_M_EN_R[src]

Bit 0

Methods from Deref<Target = R<SPI_CONFIG_SPEC>>

pub fn bits(&self) -> REG::Ux[src]

Reads raw bits from register.

Trait Implementations

impl Deref for R[src]

type Target = R<SPI_CONFIG_SPEC>

The resulting type after dereferencing.

impl From<R<SPI_CONFIG_SPEC>> for R[src]

Auto Trait Implementations

impl Send for R

impl Sync for R

impl Unpin for R

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.