Struct mcxn947_pac::TRDC

source ·
pub struct TRDC { /* private fields */ }
Expand description

TRDC

Implementations§

source§

impl TRDC

source

pub const PTR: *const RegisterBlock = {0x400c6000 as *const trdc::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

source

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>§

source

pub fn mbc0_mem0_glbcfg(&self) -> &MBC0_MEM0_GLBCFG

0x1000 - MBC Global Configuration Register

source

pub fn mbc0_mem1_glbcfg(&self) -> &MBC0_MEM1_GLBCFG

0x1004 - MBC Global Configuration Register

source

pub fn mbc0_mem2_glbcfg(&self) -> &MBC0_MEM2_GLBCFG

0x1008 - MBC Global Configuration Register

source

pub fn mbc0_mem3_glbcfg(&self) -> &MBC0_MEM3_GLBCFG

0x100c - MBC Global Configuration Register

source

pub fn mbc0_nse_blk_index(&self) -> &MBC0_NSE_BLK_INDEX

0x1010 - MBC NonSecure Enable Block Index

source

pub fn mbc0_nse_blk_set(&self) -> &MBC0_NSE_BLK_SET

0x1014 - MBC NonSecure Enable Block Set

source

pub fn mbc0_nse_blk_clr(&self) -> &MBC0_NSE_BLK_CLR

0x1018 - MBC NonSecure Enable Block Clear

source

pub fn mbc0_nse_blk_clr_all(&self) -> &MBC0_NSE_BLK_CLR_ALL

0x101c - MBC NonSecure Enable Block Clear All

source

pub fn mbc0_memn_glbac0(&self) -> &MBC0_MEMN_GLBAC0

0x1020 - MBC Global Access Control

source

pub fn mbc0_memn_glbac1(&self) -> &MBC0_MEMN_GLBAC1

0x1024 - MBC Global Access Control

source

pub fn mbc0_memn_glbac2(&self) -> &MBC0_MEMN_GLBAC2

0x1028 - MBC Global Access Control

source

pub fn mbc0_memn_glbac3(&self) -> &MBC0_MEMN_GLBAC3

0x102c - MBC Global Access Control

source

pub fn mbc0_memn_glbac4(&self) -> &MBC0_MEMN_GLBAC4

0x1030 - MBC Global Access Control

source

pub fn mbc0_memn_glbac5(&self) -> &MBC0_MEMN_GLBAC5

0x1034 - MBC Global Access Control

source

pub fn mbc0_memn_glbac6(&self) -> &MBC0_MEMN_GLBAC6

0x1038 - MBC Global Access Control

source

pub fn mbc0_memn_glbac7(&self) -> &MBC0_MEMN_GLBAC7

0x103c - MBC Global Access Control

source

pub fn mbc0_dom0_mem0_blk_cfg_w0(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W0

0x1040 - MBC Memory Block Configuration Word

source

pub fn mbc0_dom0_mem0_blk_cfg_w1(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W1

0x1044 - MBC Memory Block Configuration Word

source

pub fn mbc0_dom0_mem0_blk_cfg_w2(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W2

0x1048 - MBC Memory Block Configuration Word

source

pub fn mbc0_dom0_mem0_blk_cfg_w3(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W3

0x104c - MBC Memory Block Configuration Word

source

pub fn mbc0_dom0_mem0_blk_cfg_w4(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W4

0x1050 - MBC Memory Block Configuration Word

source

pub fn mbc0_dom0_mem0_blk_cfg_w5(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W5

0x1054 - MBC Memory Block Configuration Word

source

pub fn mbc0_dom0_mem0_blk_cfg_w6(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W6

0x1058 - MBC Memory Block Configuration Word

source

pub fn mbc0_dom0_mem0_blk_cfg_w7(&self) -> &MBC0_DOM0_MEM0_BLK_CFG_W7

0x105c - MBC Memory Block Configuration Word

source

pub fn mbc0_dom0_mem0_blk_nse_w0(&self) -> &MBC0_DOM0_MEM0_BLK_NSE_W0

0x1140 - MBC Memory Block NonSecure Enable Word

source

pub fn mbc0_dom0_mem0_blk_nse_w1(&self) -> &MBC0_DOM0_MEM0_BLK_NSE_W1

0x1144 - MBC Memory Block NonSecure Enable Word

source

pub fn mbc0_dom0_mem1_blk_cfg_w0(&self) -> &MBC0_DOM0_MEM1_BLK_CFG_W0

0x1180 - MBC Memory Block Configuration Word

source

pub fn mbc0_dom0_mem1_blk_nse_w0(&self) -> &MBC0_DOM0_MEM1_BLK_NSE_W0

0x11a0 - MBC Memory Block NonSecure Enable Word

source

pub fn mbc0_dom0_mem2_blk_cfg_w0(&self) -> &MBC0_DOM0_MEM2_BLK_CFG_W0

0x11a8 - MBC Memory Block Configuration Word

source

pub fn mbc0_dom0_mem2_blk_nse_w0(&self) -> &MBC0_DOM0_MEM2_BLK_NSE_W0

0x11c8 - MBC Memory Block NonSecure Enable Word

Trait Implementations§

source§

impl Debug for TRDC

source§

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

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

impl Deref for TRDC

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Send for TRDC

Auto Trait Implementations§

§

impl RefUnwindSafe for TRDC

§

impl !Sync for TRDC

§

impl Unpin for TRDC

§

impl UnwindSafe for TRDC

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.