Struct esp32c2_hal::pac::spi0::user1::R
pub struct R(_);
Expand description
Register USER1
reader
Implementations§
§impl R
impl R
pub fn usr_dummy_cyclelen(&self) -> FieldReaderRaw<u8, u8>
pub fn usr_dummy_cyclelen(&self) -> FieldReaderRaw<u8, u8>
Bits 0:5 - The length in spi_mem_clk cycles of dummy phase. The register value shall be (cycle_num-1).
pub fn usr_addr_bitlen(&self) -> FieldReaderRaw<u8, u8>
pub fn usr_addr_bitlen(&self) -> FieldReaderRaw<u8, u8>
Bits 26:31 - The length in bits of address phase. The register value shall be (bit_num-1).
Methods from Deref<Target = R<USER1_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<USER1_SPEC>> for R
impl From<R<USER1_SPEC>> for R
§fn from(reader: R<USER1_SPEC>) -> R
fn from(reader: R<USER1_SPEC>) -> R
Converts to this type from the input type.