pub type W = W<SPI_CONFIG_SPEC>;
Expand description
Register spi_config
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn clock_divide(&mut self) -> CLOCK_DIVIDE_W<'_, SPI_CONFIG_SPEC>
pub fn clock_divide(&mut self) -> CLOCK_DIVIDE_W<'_, SPI_CONFIG_SPEC>
Bits 0:4 - Peripheral clock divide factor
Sourcepub fn clock_enable(&mut self) -> CLOCK_ENABLE_W<'_, SPI_CONFIG_SPEC>
pub fn clock_enable(&mut self) -> CLOCK_ENABLE_W<'_, SPI_CONFIG_SPEC>
Bit 8 - Peripheral level clock gate enable
Sourcepub fn clock_source(&mut self) -> CLOCK_SOURCE_W<'_, SPI_CONFIG_SPEC>
pub fn clock_source(&mut self) -> CLOCK_SOURCE_W<'_, SPI_CONFIG_SPEC>
Bit 9 - Peripheral clock source register
Sourcepub fn pin_swap(&mut self) -> PIN_SWAP_W<'_, SPI_CONFIG_SPEC>
pub fn pin_swap(&mut self) -> PIN_SWAP_W<'_, SPI_CONFIG_SPEC>
Bits 16:19 - Swap Serial Peripheral Interface pin signals