Struct esp32c2_hal::pac::spi2::din_mode::R
pub struct R(_);
Expand description
Register DIN_MODE
reader
Implementations
impl R
impl R
pub fn din0_mode(&self) -> FieldReaderRaw<u8, u8>
pub fn din0_mode(&self) -> FieldReaderRaw<u8, u8>
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.
pub fn din1_mode(&self) -> FieldReaderRaw<u8, u8>
pub fn din1_mode(&self) -> FieldReaderRaw<u8, u8>
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.
pub fn din2_mode(&self) -> FieldReaderRaw<u8, u8>
pub fn din2_mode(&self) -> FieldReaderRaw<u8, u8>
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.
pub fn din3_mode(&self) -> FieldReaderRaw<u8, u8>
pub fn din3_mode(&self) -> FieldReaderRaw<u8, u8>
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.
pub fn din4_mode(&self) -> FieldReaderRaw<u8, u8>
pub fn din4_mode(&self) -> FieldReaderRaw<u8, u8>
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.
pub fn din5_mode(&self) -> FieldReaderRaw<u8, u8>
pub fn din5_mode(&self) -> FieldReaderRaw<u8, u8>
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.
pub fn din6_mode(&self) -> FieldReaderRaw<u8, u8>
pub fn din6_mode(&self) -> FieldReaderRaw<u8, u8>
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.
pub fn din7_mode(&self) -> FieldReaderRaw<u8, u8>
pub fn din7_mode(&self) -> FieldReaderRaw<u8, u8>
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.
pub fn timing_hclk_active(&self) -> BitReaderRaw<bool>
pub fn timing_hclk_active(&self) -> BitReaderRaw<bool>
Bit 16 - 1:enable hclk in SPI input timing module. 0: disable it. Can be configured in CONF state.
Methods from Deref<Target = R<DIN_MODE_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.