[−][src]Type Definition rsl10_pac::spi1::spi1_ctrl0::R
type R = R<u32, SPI1_CTRL0>;
Reader of register SPI1_CTRL0
Methods
impl R
[src]
pub fn spi1_overrun_int_enable(&self) -> SPI1_OVERRUN_INT_ENABLE_R
[src]
Bit 10 - Enable/disable SPI overrun interrupts
pub fn spi1_underrun_int_enable(&self) -> SPI1_UNDERRUN_INT_ENABLE_R
[src]
Bit 9 - Enable/disable SPI underrun interrupts
pub fn spi1_controller(&self) -> SPI1_CONTROLLER_R
[src]
Bit 8 - Select whether data transfer will be controlled by the CM3 or the DMA for SPI
pub fn spi1_slave(&self) -> SPI1_SLAVE_R
[src]
Bit 7 - Use the SPI interface as master or slave
pub fn spi1_clk_polarity(&self) -> SPI1_CLK_POLARITY_R
[src]
Bit 6 - Select the polarity of the SPI clock
pub fn spi1_mode_select(&self) -> SPI1_MODE_SELECT_R
[src]
Bit 5 - Select between manual and auto transaction handling modes for SPI master transactions
pub fn spi1_enable(&self) -> SPI1_ENABLE_R
[src]
Bit 4 - Enable/disable the SPI interface
pub fn spi1_prescale(&self) -> SPI1_PRESCALE_R
[src]
Bits 0:3 - Prescale the SPI interface clock for master transfers