[−][src]Struct esp8266::spi0::spi_slave::R
Reader of register SPI_SLAVE
Implementations
impl R[src]
pub fn spi_sync_reset(&self) -> SPI_SYNC_RESET_R[src]
Bit 31 - It is the synchronous reset signal of the module. This bit is self-cleared by hardware.
pub fn spi_slave_mode(&self) -> SPI_SLAVE_MODE_R[src]
Bit 30 - 1: slave mode, 0: master mode.
pub fn slv_cmd_define(&self) -> SLV_CMD_DEFINE_R[src]
Bit 27 - 1: slave mode commands are defined in SPI_SLAVE3. 0: slave mode commands are fixed as 1: "write-status"; 4: "read-status"; 2: "write-buffer" and 3: "read-buffer".
pub fn spi_trans_cnt(&self) -> SPI_TRANS_CNT_R[src]
Bits 23:26 - The operations counter in both the master mode and the slave mode.
pub fn spi_int_en(&self) -> SPI_INT_EN_R[src]
Bits 5:9 - Interrupt enable bits for the below 5 sources
pub fn spi_trans_done(&self) -> SPI_TRANS_DONE_R[src]
Bit 4 - The interrupt raw bit for the completement of any operation in both the master mode and the slave mode.
pub fn slv_wr_sta_done(&self) -> SLV_WR_STA_DONE_R[src]
Bit 3 - The interrupt raw bit for the completement of "write-status" operation in the slave mode.
pub fn slv_rd_sta_done(&self) -> SLV_RD_STA_DONE_R[src]
Bit 2 - The interrupt raw bit for the completement of "read-status" operation in the slave mode.
pub fn slv_wr_buf_done(&self) -> SLV_WR_BUF_DONE_R[src]
Bit 1 - The interrupt raw bit for the completement of "write-buffer" operation in the slave mode.
pub fn slv_rd_buf_done(&self) -> SLV_RD_BUF_DONE_R[src]
Bit 0 - The interrupt raw bit for the completement of "read-buffer" operation in the slave mode.
Methods from Deref<Target = R<SPI_SLAVE_SPEC>>
Trait Implementations
impl Deref for R[src]
type Target = R<SPI_SLAVE_SPEC>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
impl From<R<SPI_SLAVE_SPEC>> for R[src]
fn from(reader: R<SPI_SLAVE_SPEC>) -> Self[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,