Type Alias R

Source
pub type R = R<SPI2_CONF_SPEC>;
Expand description

Register SPI2_CONF reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn spi2_clk_en(&self) -> SPI2_CLK_EN_R

Bit 0 - Set 1 to enable spi2 apb clock

Source

pub fn spi2_rst_en(&self) -> SPI2_RST_EN_R

Bit 1 - Set 0 to reset spi2 module

Source

pub fn spi2_ready(&self) -> SPI2_READY_R

Bit 2 - Query this field after reset spi2 module