Type Alias esp32c3::spi2::din_mode::R

source ·
pub type R = R<DIN_MODE_SPEC>;
Expand description

Register DIN_MODE reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn din0_mode(&self) -> DIN0_MODE_R

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.

source

pub fn din1_mode(&self) -> DIN1_MODE_R

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.

source

pub fn din2_mode(&self) -> DIN2_MODE_R

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.

source

pub fn din3_mode(&self) -> DIN3_MODE_R

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.

source

pub fn timing_hclk_active(&self) -> TIMING_HCLK_ACTIVE_R

Bit 16 - 1:enable hclk in SPI input timing module. 0: disable it. Can be configured in CONF state.