Struct esp32_hal::peripherals::SLC

source ·
pub struct SLC { /* private fields */ }

Implementations§

source§

impl SLC

source

pub unsafe fn steal() -> SLC

Unsafely create an instance of this peripheral out of thin air.

§Safety

You must ensure that you’re only using one instance of this type at a time.

source

pub const PTR: *const <SLC as Deref>::Target = {0x3ff58000 as *const <esp32::SLC as core::ops::Deref>::Target}

Pointer to the register block

source

pub const fn ptr() -> *const <SLC as Deref>::Target

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

source

pub fn conf0(&self) -> &Reg<CONF0_SPEC>

0x00 -

source

pub fn _0int_raw(&self) -> &Reg<_0INT_RAW_SPEC>

0x04 -

source

pub fn _0int_st(&self) -> &Reg<_0INT_ST_SPEC>

0x08 -

source

pub fn _0int_ena(&self) -> &Reg<_0INT_ENA_SPEC>

0x0c -

source

pub fn _0int_clr(&self) -> &Reg<_0INT_CLR_SPEC>

0x10 -

source

pub fn _1int_raw(&self) -> &Reg<_1INT_RAW_SPEC>

0x14 -

source

pub fn _1int_st(&self) -> &Reg<_1INT_ST_SPEC>

0x18 -

source

pub fn _1int_ena(&self) -> &Reg<_1INT_ENA_SPEC>

0x1c -

source

pub fn _1int_clr(&self) -> &Reg<_1INT_CLR_SPEC>

0x20 -

source

pub fn rx_status(&self) -> &Reg<RX_STATUS_SPEC>

0x24 -

source

pub fn _0rxfifo_push(&self) -> &Reg<_0RXFIFO_PUSH_SPEC>

0x28 -

source

pub fn _1rxfifo_push(&self) -> &Reg<_1RXFIFO_PUSH_SPEC>

0x2c -

source

pub fn tx_status(&self) -> &Reg<TX_STATUS_SPEC>

0x30 -

source

pub fn _0txfifo_pop(&self) -> &Reg<_0TXFIFO_POP_SPEC>

0x34 -

source

pub fn _1txfifo_pop(&self) -> &Reg<_1TXFIFO_POP_SPEC>

0x38 -

0x3c -

0x40 -

0x44 -

0x48 -

source

pub fn intvec_tohost(&self) -> &Reg<INTVEC_TOHOST_SPEC>

0x4c -

source

pub fn _0token0(&self) -> &Reg<_0TOKEN0_SPEC>

0x50 -

source

pub fn _0token1(&self) -> &Reg<_0TOKEN1_SPEC>

0x54 -

source

pub fn _1token0(&self) -> &Reg<_1TOKEN0_SPEC>

0x58 -

source

pub fn _1token1(&self) -> &Reg<_1TOKEN1_SPEC>

0x5c -

source

pub fn conf1(&self) -> &Reg<CONF1_SPEC>

0x60 -

source

pub fn _0_state0(&self) -> &Reg<_0_STATE0_SPEC>

0x64 -

source

pub fn _0_state1(&self) -> &Reg<_0_STATE1_SPEC>

0x68 -

source

pub fn _1_state0(&self) -> &Reg<_1_STATE0_SPEC>

0x6c -

source

pub fn _1_state1(&self) -> &Reg<_1_STATE1_SPEC>

0x70 -

source

pub fn bridge_conf(&self) -> &Reg<BRIDGE_CONF_SPEC>

0x74 -

source

pub fn _0_to_eof_des_addr(&self) -> &Reg<_0_TO_EOF_DES_ADDR_SPEC>

0x78 -

source

pub fn _0_tx_eof_des_addr(&self) -> &Reg<_0_TX_EOF_DES_ADDR_SPEC>

0x7c -

source

pub fn _0_to_eof_bfr_des_addr(&self) -> &Reg<_0_TO_EOF_BFR_DES_ADDR_SPEC>

0x80 -

source

pub fn _1_to_eof_des_addr(&self) -> &Reg<_1_TO_EOF_DES_ADDR_SPEC>

0x84 -

source

pub fn _1_tx_eof_des_addr(&self) -> &Reg<_1_TX_EOF_DES_ADDR_SPEC>

0x88 -

source

pub fn _1_to_eof_bfr_des_addr(&self) -> &Reg<_1_TO_EOF_BFR_DES_ADDR_SPEC>

0x8c -

source

pub fn ahb_test(&self) -> &Reg<AHB_TEST_SPEC>

0x90 -

source

pub fn sdio_st(&self) -> &Reg<SDIO_ST_SPEC>

0x94 -

source

pub fn rx_dscr_conf(&self) -> &Reg<RX_DSCR_CONF_SPEC>

0x98 -

0x9c -

0xa0 -

0xa4 -

0xa8 -

0xac -

0xb0 -

0xb4 -

0xb8 -

0xbc -

0xc0 -

0xc4 -

0xc8 -

source

pub fn _0_tx_erreof_des_addr(&self) -> &Reg<_0_TX_ERREOF_DES_ADDR_SPEC>

0xcc -

source

pub fn _1_tx_erreof_des_addr(&self) -> &Reg<_1_TX_ERREOF_DES_ADDR_SPEC>

0xd0 -

source

pub fn token_lat(&self) -> &Reg<TOKEN_LAT_SPEC>

0xd4 -

source

pub fn tx_dscr_conf(&self) -> &Reg<TX_DSCR_CONF_SPEC>

0xd8 -

source

pub fn cmd_infor0(&self) -> &Reg<CMD_INFOR0_SPEC>

0xdc -

source

pub fn cmd_infor1(&self) -> &Reg<CMD_INFOR1_SPEC>

0xe0 -

source

pub fn _0_len_conf(&self) -> &Reg<_0_LEN_CONF_SPEC>

0xe4 -

source

pub fn _0_length(&self) -> &Reg<_0_LENGTH_SPEC>

0xe8 -

source

pub fn _0_txpkt_h_dscr(&self) -> &Reg<_0_TXPKT_H_DSCR_SPEC>

0xec -

source

pub fn _0_txpkt_e_dscr(&self) -> &Reg<_0_TXPKT_E_DSCR_SPEC>

0xf0 -

source

pub fn _0_rxpkt_h_dscr(&self) -> &Reg<_0_RXPKT_H_DSCR_SPEC>

0xf4 -

source

pub fn _0_rxpkt_e_dscr(&self) -> &Reg<_0_RXPKT_E_DSCR_SPEC>

0xf8 -

source

pub fn _0_txpktu_h_dscr(&self) -> &Reg<_0_TXPKTU_H_DSCR_SPEC>

0xfc -

source

pub fn _0_txpktu_e_dscr(&self) -> &Reg<_0_TXPKTU_E_DSCR_SPEC>

0x100 -

source

pub fn _0_rxpktu_h_dscr(&self) -> &Reg<_0_RXPKTU_H_DSCR_SPEC>

0x104 -

source

pub fn _0_rxpktu_e_dscr(&self) -> &Reg<_0_RXPKTU_E_DSCR_SPEC>

0x108 -

source

pub fn seq_position(&self) -> &Reg<SEQ_POSITION_SPEC>

0x114 -

source

pub fn _0_dscr_rec_conf(&self) -> &Reg<_0_DSCR_REC_CONF_SPEC>

0x118 -

source

pub fn sdio_crc_st0(&self) -> &Reg<SDIO_CRC_ST0_SPEC>

0x11c -

source

pub fn sdio_crc_st1(&self) -> &Reg<SDIO_CRC_ST1_SPEC>

0x120 -

source

pub fn _0_eof_start_des(&self) -> &Reg<_0_EOF_START_DES_SPEC>

0x124 -

source

pub fn _0_push_dscr_addr(&self) -> &Reg<_0_PUSH_DSCR_ADDR_SPEC>

0x128 -

source

pub fn _0_done_dscr_addr(&self) -> &Reg<_0_DONE_DSCR_ADDR_SPEC>

0x12c -

source

pub fn _0_sub_start_des(&self) -> &Reg<_0_SUB_START_DES_SPEC>

0x130 -

source

pub fn _0_dscr_cnt(&self) -> &Reg<_0_DSCR_CNT_SPEC>

0x134 -

source

pub fn _0_len_lim_conf(&self) -> &Reg<_0_LEN_LIM_CONF_SPEC>

0x138 -

source

pub fn _0int_st1(&self) -> &Reg<_0INT_ST1_SPEC>

0x13c -

source

pub fn _0int_ena1(&self) -> &Reg<_0INT_ENA1_SPEC>

0x140 -

source

pub fn _1int_st1(&self) -> &Reg<_1INT_ST1_SPEC>

0x144 -

source

pub fn _1int_ena1(&self) -> &Reg<_1INT_ENA1_SPEC>

0x148 -

source

pub fn date(&self) -> &Reg<DATE_SPEC>

0x1f8 -

source

pub fn id(&self) -> &Reg<ID_SPEC>

0x1fc -

Trait Implementations§

source§

impl Debug for SLC

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Deref for SLC

§

type Target = <SLC as Deref>::Target

The resulting type after dereferencing.
source§

fn deref(&self) -> &<SLC as Deref>::Target

Dereferences the value.
source§

impl DerefMut for SLC

source§

fn deref_mut(&mut self) -> &mut <SLC as Deref>::Target

Mutably dereferences the value.
source§

impl Peripheral for SLC

§

type P = SLC

Peripheral singleton type
source§

unsafe fn clone_unchecked(&mut self) -> <SLC as Peripheral>::P

Unsafely clone (duplicate) a peripheral singleton. Read more
source§

fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>
where Self: 'a,

Convert a value into a PeripheralRef. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for SLC

§

impl Send for SLC

§

impl Sync for SLC

§

impl Unpin for SLC

§

impl UnwindSafe for SLC

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.