Type Alias 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 din4_mode(&self) -> DIN4_MODE_R

Bits 8:9 - 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 din5_mode(&self) -> DIN5_MODE_R

Bits 10:11 - 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 din6_mode(&self) -> DIN6_MODE_R

Bits 12:13 - 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 din7_mode(&self) -> DIN7_MODE_R

Bits 14:15 - 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.