pub struct W(_);
Expand description
Register DIN_MODE
writer
Implementations§
source§impl W
impl W
sourcepub fn din0_mode(&mut self) -> DIN0_MODE_W<'_, 0>
pub fn din0_mode(&mut self) -> DIN0_MODE_W<'_, 0>
Bits 0:1 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state.
sourcepub fn din1_mode(&mut self) -> DIN1_MODE_W<'_, 2>
pub fn din1_mode(&mut self) -> DIN1_MODE_W<'_, 2>
Bits 2:3 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state.
sourcepub fn din2_mode(&mut self) -> DIN2_MODE_W<'_, 4>
pub fn din2_mode(&mut self) -> DIN2_MODE_W<'_, 4>
Bits 4:5 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state.
sourcepub fn din3_mode(&mut self) -> DIN3_MODE_W<'_, 6>
pub fn din3_mode(&mut self) -> DIN3_MODE_W<'_, 6>
Bits 6:7 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state.
sourcepub fn timing_hclk_active(&mut self) -> TIMING_HCLK_ACTIVE_W<'_, 16>
pub fn timing_hclk_active(&mut self) -> TIMING_HCLK_ACTIVE_W<'_, 16>
Bit 16 - 1:enable hclk in SPI input timing module. 0: disable it. Can be configured in CONF state.