Struct mcxn947_pac::TRDC
source · pub struct TRDC { /* private fields */ }
Expand description
TRDC
Implementations§
source§impl TRDC
impl TRDC
sourcepub const PTR: *const RegisterBlock = {0x400c6000 as *const trdc::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x400c6000 as *const trdc::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 mbc0_mem0_glbcfg(&self) -> &MBC0_MEM0_GLBCFG
pub fn mbc0_mem0_glbcfg(&self) -> &MBC0_MEM0_GLBCFG
0x1000 - MBC Global Configuration Register
sourcepub fn mbc0_mem1_glbcfg(&self) -> &MBC0_MEM1_GLBCFG
pub fn mbc0_mem1_glbcfg(&self) -> &MBC0_MEM1_GLBCFG
0x1004 - MBC Global Configuration Register
sourcepub fn mbc0_mem2_glbcfg(&self) -> &MBC0_MEM2_GLBCFG
pub fn mbc0_mem2_glbcfg(&self) -> &MBC0_MEM2_GLBCFG
0x1008 - MBC Global Configuration Register
sourcepub fn mbc0_mem3_glbcfg(&self) -> &MBC0_MEM3_GLBCFG
pub fn mbc0_mem3_glbcfg(&self) -> &MBC0_MEM3_GLBCFG
0x100c - MBC Global Configuration Register
sourcepub fn mbc0_nse_blk_index(&self) -> &MBC0_NSE_BLK_INDEX
pub fn mbc0_nse_blk_index(&self) -> &MBC0_NSE_BLK_INDEX
0x1010 - MBC NonSecure Enable Block Index
sourcepub fn mbc0_nse_blk_set(&self) -> &MBC0_NSE_BLK_SET
pub fn mbc0_nse_blk_set(&self) -> &MBC0_NSE_BLK_SET
0x1014 - MBC NonSecure Enable Block Set
sourcepub fn mbc0_nse_blk_clr(&self) -> &MBC0_NSE_BLK_CLR
pub fn mbc0_nse_blk_clr(&self) -> &MBC0_NSE_BLK_CLR
0x1018 - MBC NonSecure Enable Block Clear
sourcepub fn mbc0_nse_blk_clr_all(&self) -> &MBC0_NSE_BLK_CLR_ALL
pub fn mbc0_nse_blk_clr_all(&self) -> &MBC0_NSE_BLK_CLR_ALL
0x101c - MBC NonSecure Enable Block Clear All
sourcepub fn mbc0_memn_glbac0(&self) -> &MBC0_MEMN_GLBAC0
pub fn mbc0_memn_glbac0(&self) -> &MBC0_MEMN_GLBAC0
0x1020 - MBC Global Access Control
sourcepub fn mbc0_memn_glbac1(&self) -> &MBC0_MEMN_GLBAC1
pub fn mbc0_memn_glbac1(&self) -> &MBC0_MEMN_GLBAC1
0x1024 - MBC Global Access Control
sourcepub fn mbc0_memn_glbac2(&self) -> &MBC0_MEMN_GLBAC2
pub fn mbc0_memn_glbac2(&self) -> &MBC0_MEMN_GLBAC2
0x1028 - MBC Global Access Control
sourcepub fn mbc0_memn_glbac3(&self) -> &MBC0_MEMN_GLBAC3
pub fn mbc0_memn_glbac3(&self) -> &MBC0_MEMN_GLBAC3
0x102c - MBC Global Access Control
sourcepub fn mbc0_memn_glbac4(&self) -> &MBC0_MEMN_GLBAC4
pub fn mbc0_memn_glbac4(&self) -> &MBC0_MEMN_GLBAC4
0x1030 - MBC Global Access Control
sourcepub fn mbc0_memn_glbac5(&self) -> &MBC0_MEMN_GLBAC5
pub fn mbc0_memn_glbac5(&self) -> &MBC0_MEMN_GLBAC5
0x1034 - MBC Global Access Control
sourcepub fn mbc0_memn_glbac6(&self) -> &MBC0_MEMN_GLBAC6
pub fn mbc0_memn_glbac6(&self) -> &MBC0_MEMN_GLBAC6
0x1038 - MBC Global Access Control
sourcepub fn mbc0_memn_glbac7(&self) -> &MBC0_MEMN_GLBAC7
pub fn mbc0_memn_glbac7(&self) -> &MBC0_MEMN_GLBAC7
0x103c - MBC Global Access Control
sourcepub fn mbc0_dom0_mem0_blk_cfg_w0(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W0
pub fn mbc0_dom0_mem0_blk_cfg_w0(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W0
0x1040 - MBC Memory Block Configuration Word
sourcepub fn mbc0_dom0_mem0_blk_cfg_w1(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W1
pub fn mbc0_dom0_mem0_blk_cfg_w1(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W1
0x1044 - MBC Memory Block Configuration Word
sourcepub fn mbc0_dom0_mem0_blk_cfg_w2(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W2
pub fn mbc0_dom0_mem0_blk_cfg_w2(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W2
0x1048 - MBC Memory Block Configuration Word
sourcepub fn mbc0_dom0_mem0_blk_cfg_w3(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W3
pub fn mbc0_dom0_mem0_blk_cfg_w3(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W3
0x104c - MBC Memory Block Configuration Word
sourcepub fn mbc0_dom0_mem0_blk_cfg_w4(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W4
pub fn mbc0_dom0_mem0_blk_cfg_w4(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W4
0x1050 - MBC Memory Block Configuration Word
sourcepub fn mbc0_dom0_mem0_blk_cfg_w5(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W5
pub fn mbc0_dom0_mem0_blk_cfg_w5(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W5
0x1054 - MBC Memory Block Configuration Word
sourcepub fn mbc0_dom0_mem0_blk_cfg_w6(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W6
pub fn mbc0_dom0_mem0_blk_cfg_w6(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W6
0x1058 - MBC Memory Block Configuration Word
sourcepub fn mbc0_dom0_mem0_blk_cfg_w7(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W7
pub fn mbc0_dom0_mem0_blk_cfg_w7(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W7
0x105c - MBC Memory Block Configuration Word
sourcepub fn mbc0_dom0_mem0_blk_nse_w0(&self) -> &MBC0_DOM0_MEM0_BLK_NSE_W0
pub fn mbc0_dom0_mem0_blk_nse_w0(&self) -> &MBC0_DOM0_MEM0_BLK_NSE_W0
0x1140 - MBC Memory Block NonSecure Enable Word
sourcepub fn mbc0_dom0_mem0_blk_nse_w1(&self) -> &MBC0_DOM0_MEM0_BLK_NSE_W1
pub fn mbc0_dom0_mem0_blk_nse_w1(&self) -> &MBC0_DOM0_MEM0_BLK_NSE_W1
0x1144 - MBC Memory Block NonSecure Enable Word
sourcepub fn mbc0_dom0_mem1_blk_cfg_w0(&self) -> &MBC0_DOM0_MEM1_BLK_CFG_W0
pub fn mbc0_dom0_mem1_blk_cfg_w0(&self) -> &MBC0_DOM0_MEM1_BLK_CFG_W0
0x1180 - MBC Memory Block Configuration Word
sourcepub fn mbc0_dom0_mem1_blk_nse_w0(&self) -> &MBC0_DOM0_MEM1_BLK_NSE_W0
pub fn mbc0_dom0_mem1_blk_nse_w0(&self) -> &MBC0_DOM0_MEM1_BLK_NSE_W0
0x11a0 - MBC Memory Block NonSecure Enable Word
sourcepub fn mbc0_dom0_mem2_blk_cfg_w0(&self) -> &MBC0_DOM0_MEM2_BLK_CFG_W0
pub fn mbc0_dom0_mem2_blk_cfg_w0(&self) -> &MBC0_DOM0_MEM2_BLK_CFG_W0
0x11a8 - MBC Memory Block Configuration Word
sourcepub fn mbc0_dom0_mem2_blk_nse_w0(&self) -> &MBC0_DOM0_MEM2_BLK_NSE_W0
pub fn mbc0_dom0_mem2_blk_nse_w0(&self) -> &MBC0_DOM0_MEM2_BLK_NSE_W0
0x11c8 - MBC Memory Block NonSecure Enable Word