Type Alias esp32c3::spi2::slave1::R

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

Register SLAVE1 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn slv_data_bitlen(&self) -> SLV_DATA_BITLEN_R

Bits 0:17 - The transferred data bit length in SPI slave FD and HD mode.

source

pub fn slv_last_command(&self) -> SLV_LAST_COMMAND_R

Bits 18:25 - In the slave mode it is the value of command.

source

pub fn slv_last_addr(&self) -> SLV_LAST_ADDR_R

Bits 26:31 - In the slave mode it is the value of address.