[][src]Type Definition rsl10_pac::spi1::spi1_ctrl1::R

type R = R<u32, SPI1_CTRL1>;

Reader of register SPI1_CTRL1

Methods

impl R[src]

pub fn spi1_start_busy(&self) -> SPI1_START_BUSY_R[src]

Bit 8 - Start an SPI data transfer and indicate if a transfer is in progress

pub fn spi1_rw_cmd(&self) -> SPI1_RW_CMD_R[src]

Bits 6:7 - Issue a read command or write command to the SPI interface

pub fn spi1_cs(&self) -> SPI1_CS_R[src]

Bit 5 - Set the chip-select line for SPI (master mode), read the chip-select line for SPI (slave mode)

pub fn spi1_word_size(&self) -> SPI1_WORD_SIZE_R[src]

Bits 0:4 - Select the word size used by the SPI interface (word size = SPI1_WORD_SIZE + 1)