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

pub struct W(_);

Register spi_config writer

Implementations

impl W[src]

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

Bits 12:15

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

Bit 11

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

Bit 9

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

Bit 8

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

Bit 7

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

Bit 6

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

Bit 5

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

Bit 4

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

Bits 2:3

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

Bit 1

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

Bit 0

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register.

Methods from Deref<Target = W<SPI_CONFIG_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<SPI_CONFIG_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

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

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

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.