[−][src]Type Definition rsl10_pac::spi0::spi0_ctrl0::R
type R = R<u32, SPI0_CTRL0>;
Reader of register SPI0_CTRL0
Methods
impl R
[src]
pub fn spi0_overrun_int_enable(&self) -> SPI0_OVERRUN_INT_ENABLE_R
[src]
Bit 10 - Enable/disable SPI overrun interrupts
pub fn spi0_underrun_int_enable(&self) -> SPI0_UNDERRUN_INT_ENABLE_R
[src]
Bit 9 - Enable/disable SPI underrun interrupts
pub fn spi0_controller(&self) -> SPI0_CONTROLLER_R
[src]
Bit 8 - Select whether data transfer will be controlled by the CM3 or the DMA for SPI
pub fn spi0_slave(&self) -> SPI0_SLAVE_R
[src]
Bit 7 - Use the SPI interface as master or slave
pub fn spi0_clk_polarity(&self) -> SPI0_CLK_POLARITY_R
[src]
Bit 6 - Select the polarity of the SPI clock
pub fn spi0_mode_select(&self) -> SPI0_MODE_SELECT_R
[src]
Bit 5 - Select between manual and auto transaction handling modes for SPI master transactions
pub fn spi0_enable(&self) -> SPI0_ENABLE_R
[src]
Bit 4 - Enable/disable the SPI interface
pub fn spi0_prescale(&self) -> SPI0_PRESCALE_R
[src]
Bits 0:3 - Prescale the SPI interface clock for master transfers