pub struct SLC { /* private fields */ }
Expand description
SLC Peripheral
Implementations§
Source§impl SLC
impl SLC
Sourcepub const PTR: *const RegisterBlock = {0x3ff58000 as *const slc::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x3ff58000 as *const slc::RegisterBlock}
Pointer to the register block
Sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
Sourcepub fn _0rxfifo_push(&self) -> &_0RXFIFO_PUSH
pub fn _0rxfifo_push(&self) -> &_0RXFIFO_PUSH
0x28 -
Sourcepub fn _1rxfifo_push(&self) -> &_1RXFIFO_PUSH
pub fn _1rxfifo_push(&self) -> &_1RXFIFO_PUSH
0x2c -
Sourcepub fn _0txfifo_pop(&self) -> &_0TXFIFO_POP
pub fn _0txfifo_pop(&self) -> &_0TXFIFO_POP
0x34 -
Sourcepub fn _1txfifo_pop(&self) -> &_1TXFIFO_POP
pub fn _1txfifo_pop(&self) -> &_1TXFIFO_POP
0x38 -
Sourcepub fn intvec_tohost(&self) -> &INTVEC_TOHOST
pub fn intvec_tohost(&self) -> &INTVEC_TOHOST
0x4c -
Sourcepub fn bridge_conf(&self) -> &BRIDGE_CONF
pub fn bridge_conf(&self) -> &BRIDGE_CONF
0x74 -
Sourcepub fn _0_to_eof_des_addr(&self) -> &_0_TO_EOF_DES_ADDR
pub fn _0_to_eof_des_addr(&self) -> &_0_TO_EOF_DES_ADDR
0x78 -
Sourcepub fn _0_tx_eof_des_addr(&self) -> &_0_TX_EOF_DES_ADDR
pub fn _0_tx_eof_des_addr(&self) -> &_0_TX_EOF_DES_ADDR
0x7c -
Sourcepub fn _0_to_eof_bfr_des_addr(&self) -> &_0_TO_EOF_BFR_DES_ADDR
pub fn _0_to_eof_bfr_des_addr(&self) -> &_0_TO_EOF_BFR_DES_ADDR
0x80 -
Sourcepub fn _1_to_eof_des_addr(&self) -> &_1_TO_EOF_DES_ADDR
pub fn _1_to_eof_des_addr(&self) -> &_1_TO_EOF_DES_ADDR
0x84 -
Sourcepub fn _1_tx_eof_des_addr(&self) -> &_1_TX_EOF_DES_ADDR
pub fn _1_tx_eof_des_addr(&self) -> &_1_TX_EOF_DES_ADDR
0x88 -
Sourcepub fn _1_to_eof_bfr_des_addr(&self) -> &_1_TO_EOF_BFR_DES_ADDR
pub fn _1_to_eof_bfr_des_addr(&self) -> &_1_TO_EOF_BFR_DES_ADDR
0x8c -
Sourcepub fn rx_dscr_conf(&self) -> &RX_DSCR_CONF
pub fn rx_dscr_conf(&self) -> &RX_DSCR_CONF
0x98 -
Sourcepub fn _0_txlink_dscr(&self) -> &_0_TXLINK_DSCR
pub fn _0_txlink_dscr(&self) -> &_0_TXLINK_DSCR
0x9c -
Sourcepub fn _0_txlink_dscr_bf0(&self) -> &_0_TXLINK_DSCR_BF0
pub fn _0_txlink_dscr_bf0(&self) -> &_0_TXLINK_DSCR_BF0
0xa0 -
Sourcepub fn _0_txlink_dscr_bf1(&self) -> &_0_TXLINK_DSCR_BF1
pub fn _0_txlink_dscr_bf1(&self) -> &_0_TXLINK_DSCR_BF1
0xa4 -
Sourcepub fn _0_rxlink_dscr(&self) -> &_0_RXLINK_DSCR
pub fn _0_rxlink_dscr(&self) -> &_0_RXLINK_DSCR
0xa8 -
Sourcepub fn _0_rxlink_dscr_bf0(&self) -> &_0_RXLINK_DSCR_BF0
pub fn _0_rxlink_dscr_bf0(&self) -> &_0_RXLINK_DSCR_BF0
0xac -
Sourcepub fn _0_rxlink_dscr_bf1(&self) -> &_0_RXLINK_DSCR_BF1
pub fn _0_rxlink_dscr_bf1(&self) -> &_0_RXLINK_DSCR_BF1
0xb0 -
Sourcepub fn _1_txlink_dscr(&self) -> &_1_TXLINK_DSCR
pub fn _1_txlink_dscr(&self) -> &_1_TXLINK_DSCR
0xb4 -
Sourcepub fn _1_txlink_dscr_bf0(&self) -> &_1_TXLINK_DSCR_BF0
pub fn _1_txlink_dscr_bf0(&self) -> &_1_TXLINK_DSCR_BF0
0xb8 -
Sourcepub fn _1_txlink_dscr_bf1(&self) -> &_1_TXLINK_DSCR_BF1
pub fn _1_txlink_dscr_bf1(&self) -> &_1_TXLINK_DSCR_BF1
0xbc -
Sourcepub fn _1_rxlink_dscr(&self) -> &_1_RXLINK_DSCR
pub fn _1_rxlink_dscr(&self) -> &_1_RXLINK_DSCR
0xc0 -
Sourcepub fn _1_rxlink_dscr_bf0(&self) -> &_1_RXLINK_DSCR_BF0
pub fn _1_rxlink_dscr_bf0(&self) -> &_1_RXLINK_DSCR_BF0
0xc4 -
Sourcepub fn _1_rxlink_dscr_bf1(&self) -> &_1_RXLINK_DSCR_BF1
pub fn _1_rxlink_dscr_bf1(&self) -> &_1_RXLINK_DSCR_BF1
0xc8 -
Sourcepub fn _0_tx_erreof_des_addr(&self) -> &_0_TX_ERREOF_DES_ADDR
pub fn _0_tx_erreof_des_addr(&self) -> &_0_TX_ERREOF_DES_ADDR
0xcc -
Sourcepub fn _1_tx_erreof_des_addr(&self) -> &_1_TX_ERREOF_DES_ADDR
pub fn _1_tx_erreof_des_addr(&self) -> &_1_TX_ERREOF_DES_ADDR
0xd0 -
Sourcepub fn tx_dscr_conf(&self) -> &TX_DSCR_CONF
pub fn tx_dscr_conf(&self) -> &TX_DSCR_CONF
0xd8 -
Sourcepub fn cmd_infor0(&self) -> &CMD_INFOR0
pub fn cmd_infor0(&self) -> &CMD_INFOR0
0xdc -
Sourcepub fn cmd_infor1(&self) -> &CMD_INFOR1
pub fn cmd_infor1(&self) -> &CMD_INFOR1
0xe0 -
Sourcepub fn _0_len_conf(&self) -> &_0_LEN_CONF
pub fn _0_len_conf(&self) -> &_0_LEN_CONF
0xe4 -
Sourcepub fn _0_txpkt_h_dscr(&self) -> &_0_TXPKT_H_DSCR
pub fn _0_txpkt_h_dscr(&self) -> &_0_TXPKT_H_DSCR
0xec -
Sourcepub fn _0_txpkt_e_dscr(&self) -> &_0_TXPKT_E_DSCR
pub fn _0_txpkt_e_dscr(&self) -> &_0_TXPKT_E_DSCR
0xf0 -
Sourcepub fn _0_rxpkt_h_dscr(&self) -> &_0_RXPKT_H_DSCR
pub fn _0_rxpkt_h_dscr(&self) -> &_0_RXPKT_H_DSCR
0xf4 -
Sourcepub fn _0_rxpkt_e_dscr(&self) -> &_0_RXPKT_E_DSCR
pub fn _0_rxpkt_e_dscr(&self) -> &_0_RXPKT_E_DSCR
0xf8 -
Sourcepub fn _0_txpktu_h_dscr(&self) -> &_0_TXPKTU_H_DSCR
pub fn _0_txpktu_h_dscr(&self) -> &_0_TXPKTU_H_DSCR
0xfc -
Sourcepub fn _0_txpktu_e_dscr(&self) -> &_0_TXPKTU_E_DSCR
pub fn _0_txpktu_e_dscr(&self) -> &_0_TXPKTU_E_DSCR
0x100 -
Sourcepub fn _0_rxpktu_h_dscr(&self) -> &_0_RXPKTU_H_DSCR
pub fn _0_rxpktu_h_dscr(&self) -> &_0_RXPKTU_H_DSCR
0x104 -
Sourcepub fn _0_rxpktu_e_dscr(&self) -> &_0_RXPKTU_E_DSCR
pub fn _0_rxpktu_e_dscr(&self) -> &_0_RXPKTU_E_DSCR
0x108 -
Sourcepub fn seq_position(&self) -> &SEQ_POSITION
pub fn seq_position(&self) -> &SEQ_POSITION
0x114 -
Sourcepub fn _0_dscr_rec_conf(&self) -> &_0_DSCR_REC_CONF
pub fn _0_dscr_rec_conf(&self) -> &_0_DSCR_REC_CONF
0x118 -
Sourcepub fn sdio_crc_st0(&self) -> &SDIO_CRC_ST0
pub fn sdio_crc_st0(&self) -> &SDIO_CRC_ST0
0x11c -
Sourcepub fn sdio_crc_st1(&self) -> &SDIO_CRC_ST1
pub fn sdio_crc_st1(&self) -> &SDIO_CRC_ST1
0x120 -
Sourcepub fn _0_eof_start_des(&self) -> &_0_EOF_START_DES
pub fn _0_eof_start_des(&self) -> &_0_EOF_START_DES
0x124 -
Sourcepub fn _0_push_dscr_addr(&self) -> &_0_PUSH_DSCR_ADDR
pub fn _0_push_dscr_addr(&self) -> &_0_PUSH_DSCR_ADDR
0x128 -
Sourcepub fn _0_done_dscr_addr(&self) -> &_0_DONE_DSCR_ADDR
pub fn _0_done_dscr_addr(&self) -> &_0_DONE_DSCR_ADDR
0x12c -
Sourcepub fn _0_sub_start_des(&self) -> &_0_SUB_START_DES
pub fn _0_sub_start_des(&self) -> &_0_SUB_START_DES
0x130 -
Sourcepub fn _0_dscr_cnt(&self) -> &_0_DSCR_CNT
pub fn _0_dscr_cnt(&self) -> &_0_DSCR_CNT
0x134 -
Sourcepub fn _0_len_lim_conf(&self) -> &_0_LEN_LIM_CONF
pub fn _0_len_lim_conf(&self) -> &_0_LEN_LIM_CONF
0x138 -
Sourcepub fn _0int_ena1(&self) -> &_0INT_ENA1
pub fn _0int_ena1(&self) -> &_0INT_ENA1
0x140 -
Sourcepub fn _1int_ena1(&self) -> &_1INT_ENA1
pub fn _1int_ena1(&self) -> &_1INT_ENA1
0x148 -