Struct esp32c2_hal::pac::spi2::slave1::R
pub struct R(_);
Expand description
Register SLAVE1
reader
Implementations§
§impl R
impl R
pub fn slv_data_bitlen(&self) -> FieldReaderRaw<u32, u32>
pub fn slv_data_bitlen(&self) -> FieldReaderRaw<u32, u32>
Bits 0:17 - The transferred data bit length in SPI slave FD and HD mode.
pub fn slv_last_command(&self) -> FieldReaderRaw<u8, u8>
pub fn slv_last_command(&self) -> FieldReaderRaw<u8, u8>
Bits 18:25 - In the slave mode it is the value of command.
pub fn slv_last_addr(&self) -> FieldReaderRaw<u8, u8>
pub fn slv_last_addr(&self) -> FieldReaderRaw<u8, u8>
Bits 26:31 - In the slave mode it is the value of address.
Methods from Deref<Target = R<SLAVE1_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<SLAVE1_SPEC>> for R
impl From<R<SLAVE1_SPEC>> for R
§fn from(reader: R<SLAVE1_SPEC>) -> R
fn from(reader: R<SLAVE1_SPEC>) -> R
Converts to this type from the input type.