pub struct SLC { /* private fields */ }
Expand description
SDIO SLC
Implementations§
Source§impl SLC
impl SLC
Sourcepub const PTR: *const RegisterBlock = {0x60017000 as *const slc::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x60017000 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 slc0int_raw(&self) -> &SLC0INT_RAW
pub fn slc0int_raw(&self) -> &SLC0INT_RAW
0x04 - SLC0 to slave raw interrupt status
Sourcepub fn slc0int_st(&self) -> &SLC0INT_ST
pub fn slc0int_st(&self) -> &SLC0INT_ST
0x08 - SLC0 to slave masked interrupt status
Sourcepub fn slc0int_ena(&self) -> &SLC0INT_ENA
pub fn slc0int_ena(&self) -> &SLC0INT_ENA
0x0c - SLC0 to slave interrupt enable
Sourcepub fn slc0int_clr(&self) -> &SLC0INT_CLR
pub fn slc0int_clr(&self) -> &SLC0INT_CLR
0x10 - SLC0 to slave interrupt clear
Sourcepub fn slc1int_raw(&self) -> &SLC1INT_RAW
pub fn slc1int_raw(&self) -> &SLC1INT_RAW
0x14 - SLC1 to slave raw interrupt status
Sourcepub fn slc1int_clr(&self) -> &SLC1INT_CLR
pub fn slc1int_clr(&self) -> &SLC1INT_CLR
0x20 - SLC1 to slave interrupt clear
Sourcepub fn slc0rx_link(&self) -> &SLC0RX_LINK
pub fn slc0rx_link(&self) -> &SLC0RX_LINK
0x3c - SLC0 RX linked list configuration
Sourcepub fn slc0rx_link_addr(&self) -> &SLC0RX_LINK_ADDR
pub fn slc0rx_link_addr(&self) -> &SLC0RX_LINK_ADDR
0x40 - SLC0 RX linked list address
Sourcepub fn slc0tx_link(&self) -> &SLC0TX_LINK
pub fn slc0tx_link(&self) -> &SLC0TX_LINK
0x44 - SLC0 TX linked list configuration
Sourcepub fn slc0tx_link_addr(&self) -> &SLC0TX_LINK_ADDR
pub fn slc0tx_link_addr(&self) -> &SLC0TX_LINK_ADDR
0x48 - SLC0 TX linked list address
Sourcepub fn slc1rx_link(&self) -> &SLC1RX_LINK
pub fn slc1rx_link(&self) -> &SLC1RX_LINK
0x4c - SLC1 RX linked list configuration
Sourcepub fn slc1rx_link_addr(&self) -> &SLC1RX_LINK_ADDR
pub fn slc1rx_link_addr(&self) -> &SLC1RX_LINK_ADDR
0x50 - SLC1 RX linked list address
Sourcepub fn slc1tx_link(&self) -> &SLC1TX_LINK
pub fn slc1tx_link(&self) -> &SLC1TX_LINK
0x54 - SLC1 TX linked list configuration
Sourcepub fn slc1tx_link_addr(&self) -> &SLC1TX_LINK_ADDR
pub fn slc1tx_link_addr(&self) -> &SLC1TX_LINK_ADDR
0x58 - SLC1 TX linked list address
Sourcepub fn slcintvec_tohost(&self) -> &SLCINTVEC_TOHOST
pub fn slcintvec_tohost(&self) -> &SLCINTVEC_TOHOST
0x5c - Slave to host interrupt vector set
Sourcepub fn slc0token1(&self) -> &SLC0TOKEN1
pub fn slc0token1(&self) -> &SLC0TOKEN1
0x64 - SLC0 receiving buffer configuration
Sourcepub fn slc1token1(&self) -> &SLC1TOKEN1
pub fn slc1token1(&self) -> &SLC1TOKEN1
0x6c - SLC1 receiving buffer configuration
Sourcepub fn slc_rx_dscr_conf(&self) -> &SLC_RX_DSCR_CONF
pub fn slc_rx_dscr_conf(&self) -> &SLC_RX_DSCR_CONF
0xa8 - DMA slave to host configuration register
Sourcepub fn slc0_len_conf(&self) -> &SLC0_LEN_CONF
pub fn slc0_len_conf(&self) -> &SLC0_LEN_CONF
0xf4 - Length control of transmitting packets
Sourcepub fn slc0_length(&self) -> &SLC0_LENGTH
pub fn slc0_length(&self) -> &SLC0_LENGTH
0xf8 - Length of transmitting packets
Sourcepub fn slc1int_st1(&self) -> &SLC1INT_ST1
pub fn slc1int_st1(&self) -> &SLC1INT_ST1
0x14c - SLC1 to slave masked interrupt status
Sourcepub fn slc1int_ena1(&self) -> &SLC1INT_ENA1
pub fn slc1int_ena1(&self) -> &SLC1INT_ENA1
0x150 - SLC1 to slave interrupt enable
0x154 - SLC0 AHB TX start address range
0x158 - SLC0 AHB TX end address range
0x15c - SLC0 AHB RX start address range
0x160 - SLC0 AHB RX end address range
0x164 - SLC1 AHB TX start address range
0x168 - SLC1 AHB TX end address range
0x16c - SLC1 AHB RX start address range
0x170 - SLC1 AHB RX end address range
Sourcepub fn slc_burst_len(&self) -> &SLC_BURST_LEN
pub fn slc_burst_len(&self) -> &SLC_BURST_LEN
0x17c - DMA AHB burst type configuration