Struct mcxn947_pac::FLEXSPI0
source · pub struct FLEXSPI0 { /* private fields */ }
Expand description
FlexSPI
Implementations§
source§impl FLEXSPI0
impl FLEXSPI0
sourcepub const PTR: *const RegisterBlock = {0x400c8000 as *const flexspi0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x400c8000 as *const flexspi0::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 ahbrxbufcr0(&self, n: usize) -> &AHBRXBUFCR0
pub fn ahbrxbufcr0(&self, n: usize) -> &AHBRXBUFCR0
0x20..0x40 - AHB Receive Buffer %s Control 0
sourcepub fn ahbrxbufcr0_iter(&self) -> impl Iterator<Item = &AHBRXBUFCR0>
pub fn ahbrxbufcr0_iter(&self) -> impl Iterator<Item = &AHBRXBUFCR0>
Iterator for array of: 0x20..0x40 - AHB Receive Buffer %s Control 0
sourcepub fn ahbrxbuf0cr0(&self) -> &AHBRXBUFCR0
pub fn ahbrxbuf0cr0(&self) -> &AHBRXBUFCR0
0x20 - AHB Receive Buffer 0 Control 0
sourcepub fn ahbrxbuf1cr0(&self) -> &AHBRXBUFCR0
pub fn ahbrxbuf1cr0(&self) -> &AHBRXBUFCR0
0x24 - AHB Receive Buffer 1 Control 0
sourcepub fn ahbrxbuf2cr0(&self) -> &AHBRXBUFCR0
pub fn ahbrxbuf2cr0(&self) -> &AHBRXBUFCR0
0x28 - AHB Receive Buffer 2 Control 0
sourcepub fn ahbrxbuf3cr0(&self) -> &AHBRXBUFCR0
pub fn ahbrxbuf3cr0(&self) -> &AHBRXBUFCR0
0x2c - AHB Receive Buffer 3 Control 0
sourcepub fn ahbrxbuf4cr0(&self) -> &AHBRXBUFCR0
pub fn ahbrxbuf4cr0(&self) -> &AHBRXBUFCR0
0x30 - AHB Receive Buffer 4 Control 0
sourcepub fn ahbrxbuf5cr0(&self) -> &AHBRXBUFCR0
pub fn ahbrxbuf5cr0(&self) -> &AHBRXBUFCR0
0x34 - AHB Receive Buffer 5 Control 0
sourcepub fn ahbrxbuf6cr0(&self) -> &AHBRXBUFCR0
pub fn ahbrxbuf6cr0(&self) -> &AHBRXBUFCR0
0x38 - AHB Receive Buffer 6 Control 0
sourcepub fn ahbrxbuf7cr0(&self) -> &AHBRXBUFCR0
pub fn ahbrxbuf7cr0(&self) -> &AHBRXBUFCR0
0x3c - AHB Receive Buffer 7 Control 0
sourcepub fn flashcr0_iter(&self) -> impl Iterator<Item = &FLASHCR0>
pub fn flashcr0_iter(&self) -> impl Iterator<Item = &FLASHCR0>
Iterator for array of: 0x60..0x70 - Flash Control 0
sourcepub fn flashcr0a1(&self) -> &FLASHCR0
pub fn flashcr0a1(&self) -> &FLASHCR0
0x60 - Flash Control 0
sourcepub fn flashcr0a2(&self) -> &FLASHCR0
pub fn flashcr0a2(&self) -> &FLASHCR0
0x64 - Flash Control 0
sourcepub fn flashcr0b1(&self) -> &FLASHCR0
pub fn flashcr0b1(&self) -> &FLASHCR0
0x68 - Flash Control 0
sourcepub fn flashcr0b2(&self) -> &FLASHCR0
pub fn flashcr0b2(&self) -> &FLASHCR0
0x6c - Flash Control 0
sourcepub fn flshcr1_iter(&self) -> impl Iterator<Item = &FLSHCR1>
pub fn flshcr1_iter(&self) -> impl Iterator<Item = &FLSHCR1>
Iterator for array of: 0x70..0x80 - Flash Control 1
sourcepub fn flshcr2_iter(&self) -> impl Iterator<Item = &FLSHCR2>
pub fn flshcr2_iter(&self) -> impl Iterator<Item = &FLSHCR2>
Iterator for array of: 0x80..0x90 - Flash Control 2
sourcepub fn dllcr_iter(&self) -> impl Iterator<Item = &DLLCR>
pub fn dllcr_iter(&self) -> impl Iterator<Item = &DLLCR>
Iterator for array of: 0xc0..0xc8 - DLL Control 0
sourcepub fn ahbspndsts(&self) -> &AHBSPNDSTS
pub fn ahbspndsts(&self) -> &AHBSPNDSTS
0xec - AHB Suspend Status
sourcepub fn rfdr_iter(&self) -> impl Iterator<Item = &RFDR>
pub fn rfdr_iter(&self) -> impl Iterator<Item = &RFDR>
Iterator for array of: 0x100..0x180 - IP Receive FIFO Data x
sourcepub fn tfdr_iter(&self) -> impl Iterator<Item = &TFDR>
pub fn tfdr_iter(&self) -> impl Iterator<Item = &TFDR>
Iterator for array of: 0x180..0x200 - IP TX FIFO Data x
sourcepub fn lut_iter(&self) -> impl Iterator<Item = &LUT>
pub fn lut_iter(&self) -> impl Iterator<Item = &LUT>
Iterator for array of: 0x200..0x300 - Lookup Table x
sourcepub fn haddrstart(&self) -> &HADDRSTART
pub fn haddrstart(&self) -> &HADDRSTART
0x420 - HADDR REMAP Start Address
sourcepub fn haddroffset(&self) -> &HADDROFFSET
pub fn haddroffset(&self) -> &HADDROFFSET
0x428 - HADDR Remap Offset
sourcepub fn ipsnszstart0(&self) -> &IPSNSZSTART0
pub fn ipsnszstart0(&self) -> &IPSNSZSTART0
0x430 - IPS Nonsecure Region 0 Start Address
sourcepub fn ipsnszend0(&self) -> &IPSNSZEND0
pub fn ipsnszend0(&self) -> &IPSNSZEND0
0x434 - IPS Nonsecure Region 0 End Address
sourcepub fn ipsnszstart1(&self) -> &IPSNSZSTART1
pub fn ipsnszstart1(&self) -> &IPSNSZSTART1
0x438 - IPS Nonsecure Region 1 Start Address
sourcepub fn ipsnszend1(&self) -> &IPSNSZEND1
pub fn ipsnszend1(&self) -> &IPSNSZEND1
0x43c - IPS Nonsecure Region 1 End Address
sourcepub fn ahbbufregionstart(&self, n: usize) -> &AHBBUFREGIONSTART
pub fn ahbbufregionstart(&self, n: usize) -> &AHBBUFREGIONSTART
0x440..0x450 - Receive Buffer Start Address of Region %s
sourcepub fn ahbbufregionstart_iter(&self) -> impl Iterator<Item = &AHBBUFREGIONSTART>
pub fn ahbbufregionstart_iter(&self) -> impl Iterator<Item = &AHBBUFREGIONSTART>
Iterator for array of: 0x440..0x450 - Receive Buffer Start Address of Region %s
sourcepub fn ahbbufregionend(&self, n: usize) -> &AHBBUFREGIONEND
pub fn ahbbufregionend(&self, n: usize) -> &AHBBUFREGIONEND
0x444..0x454 - Receive Buffer Region %s End Address
sourcepub fn ahbbufregionend_iter(&self) -> impl Iterator<Item = &AHBBUFREGIONEND>
pub fn ahbbufregionend_iter(&self) -> impl Iterator<Item = &AHBBUFREGIONEND>
Iterator for array of: 0x444..0x454 - Receive Buffer Region %s End Address
sourcepub fn ipedctxctrl0(&self) -> &IPEDCTXCTRL0
pub fn ipedctxctrl0(&self) -> &IPEDCTXCTRL0
0x500 - IPED context control 0
sourcepub fn ipedctxctrl1(&self) -> &IPEDCTXCTRL1
pub fn ipedctxctrl1(&self) -> &IPEDCTXCTRL1
0x504 - IPED context control 1
sourcepub fn ipedctx(&self, n: usize) -> &IPEDCTX
pub fn ipedctx(&self, n: usize) -> &IPEDCTX
0x520..0x5c8 - Cluster IPEDCTX%s, containing IPEDCTX?IV0, IPEDCTX?IV1, IPEDCTX?START, IPEDCTX?END, IPEDCTX?AAD0, IPEDCTX?AAD1
sourcepub fn ipedctx_iter(&self) -> impl Iterator<Item = &IPEDCTX>
pub fn ipedctx_iter(&self) -> impl Iterator<Item = &IPEDCTX>
Iterator for array of: 0x520..0x5c8 - Cluster IPEDCTX%s, containing IPEDCTX?IV0, IPEDCTX?IV1, IPEDCTX?START, IPEDCTX?END, IPEDCTX?AAD0, IPEDCTX?AAD1