pub struct PAU { /* private fields */ }
Expand description
PAU Peripheral
Implementations§
source§impl PAU
impl PAU
sourcepub const PTR: *const RegisterBlock = {0x60093000 as *const pau::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x60093000 as *const pau::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 regdma_conf(&self) -> ®DMA_CONF
pub fn regdma_conf(&self) -> ®DMA_CONF
0x00 - Peri backup control register
sourcepub fn regdma_clk_conf(&self) -> ®DMA_CLK_CONF
pub fn regdma_clk_conf(&self) -> ®DMA_CLK_CONF
0x04 - Clock control register
sourcepub fn regdma_etm_ctrl(&self) -> ®DMA_ETM_CTRL
pub fn regdma_etm_ctrl(&self) -> ®DMA_ETM_CTRL
0x08 - ETM start ctrl reg
sourcepub fn regdma_link_0_addr(&self) -> ®DMA_LINK_0_ADDR
pub fn regdma_link_0_addr(&self) -> ®DMA_LINK_0_ADDR
0x0c - link_0_addr
sourcepub fn regdma_link_1_addr(&self) -> ®DMA_LINK_1_ADDR
pub fn regdma_link_1_addr(&self) -> ®DMA_LINK_1_ADDR
0x10 - Link_1_addr
sourcepub fn regdma_link_2_addr(&self) -> ®DMA_LINK_2_ADDR
pub fn regdma_link_2_addr(&self) -> ®DMA_LINK_2_ADDR
0x14 - Link_2_addr
sourcepub fn regdma_link_3_addr(&self) -> ®DMA_LINK_3_ADDR
pub fn regdma_link_3_addr(&self) -> ®DMA_LINK_3_ADDR
0x18 - Link_3_addr
sourcepub fn regdma_link_mac_addr(&self) -> ®DMA_LINK_MAC_ADDR
pub fn regdma_link_mac_addr(&self) -> ®DMA_LINK_MAC_ADDR
0x1c - Link_mac_addr
sourcepub fn regdma_current_link_addr(&self) -> ®DMA_CURRENT_LINK_ADDR
pub fn regdma_current_link_addr(&self) -> ®DMA_CURRENT_LINK_ADDR
0x20 - current link addr
sourcepub fn regdma_backup_addr(&self) -> ®DMA_BACKUP_ADDR
pub fn regdma_backup_addr(&self) -> ®DMA_BACKUP_ADDR
0x24 - Backup addr
sourcepub fn regdma_mem_addr(&self) -> ®DMA_MEM_ADDR
pub fn regdma_mem_addr(&self) -> ®DMA_MEM_ADDR
0x28 - mem addr
sourcepub fn regdma_bkp_conf(&self) -> ®DMA_BKP_CONF
pub fn regdma_bkp_conf(&self) -> ®DMA_BKP_CONF
0x2c - backup config
sourcepub fn retention_link_base(&self) -> &RETENTION_LINK_BASE
pub fn retention_link_base(&self) -> &RETENTION_LINK_BASE
0x30 - retention dma link base
sourcepub fn retention_cfg(&self) -> &RETENTION_CFG
pub fn retention_cfg(&self) -> &RETENTION_CFG
0x34 - retention_cfg