pub type R = R<SPI2_CONF_SPEC>;
Expand description
Register SPI2_CONF
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn spi2_clk_en(&self) -> SPI2_CLK_EN_R
pub fn spi2_clk_en(&self) -> SPI2_CLK_EN_R
Bit 0 - Set 1 to enable spi2 apb clock
sourcepub fn spi2_rst_en(&self) -> SPI2_RST_EN_R
pub fn spi2_rst_en(&self) -> SPI2_RST_EN_R
Bit 1 - Set 0 to reset spi2 module
sourcepub fn spi2_ready(&self) -> SPI2_READY_R
pub fn spi2_ready(&self) -> SPI2_READY_R
Bit 2 - Query this field after reset spi2 module