nxp-pac

Crates

git

Versions

mcxa577

Flavors

Flexspi

Struct Flexspi 

Source
pub struct Flexspi { /* private fields */ }
Expand description

Flexible Serial Peripheral Interface

Implementations§

Source§

impl Flexspi

Source

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

Source

pub const fn as_ptr(&self) -> *mut ()

Source

pub const fn mcr0(self) -> Reg<Mcr0, RW>

Module Control 0

Source

pub const fn mcr1(self) -> Reg<Mcr1, RW>

Module Control 1

Source

pub const fn mcr2(self) -> Reg<Mcr2, RW>

Module Control 2

Source

pub const fn ahbcr(self) -> Reg<Ahbcr, RW>

AHB Bus Control

Source

pub const fn inten(self) -> Reg<Inten, RW>

Interrupt Enable

Source

pub const fn intr(self) -> Reg<Intr, RW>

Interrupt

Source

pub const fn lutkey(self) -> Reg<Lutkey, RW>

LUT Key

Source

pub const fn lutcr(self) -> Reg<Lutcr, RW>

LUT Control

Source

pub const fn ahbrxbuf0cr0(self) -> Reg<Ahbrxbuf0cr0, RW>

AHB Receive Buffer 0 Control 0

Source

pub const fn ahbrxbuf1cr0(self) -> Reg<Ahbrxbuf1cr0, RW>

AHB Receive Buffer 1 Control 0

Source

pub const fn ahbrxbuf2cr0(self) -> Reg<Ahbrxbuf2cr0, RW>

AHB Receive Buffer 2 Control 0

Source

pub const fn ahbrxbuf3cr0(self) -> Reg<Ahbrxbuf3cr0, RW>

AHB Receive Buffer 3 Control 0

Source

pub const fn ahbrxbuf4cr0(self) -> Reg<Ahbrxbuf4cr0, RW>

AHB Receive Buffer 4 Control 0

Source

pub const fn ahbrxbuf5cr0(self) -> Reg<Ahbrxbuf5cr0, RW>

AHB Receive Buffer 5 Control 0

Source

pub const fn ahbrxbuf6cr0(self) -> Reg<Ahbrxbuf6cr0, RW>

AHB Receive Buffer 6 Control 0

Source

pub const fn ahbrxbuf7cr0(self) -> Reg<Ahbrxbuf7cr0, RW>

AHB Receive Buffer 7 Control 0

Source

pub const fn flsha1cr0(self) -> Reg<Flsha1cr0, RW>

Flash Control 0

Source

pub const fn flsha2cr0(self) -> Reg<Flsha2cr0, RW>

Flash Control 0

Source

pub const fn flshb1cr0(self) -> Reg<Flshb1cr0, RW>

Flash Control 0

Source

pub const fn flshb2cr0(self) -> Reg<Flshb2cr0, RW>

Flash Control 0

Source

pub const fn flshcr1(self, n: usize) -> Reg<Flshcr1, RW>

Flash Control 1

Source

pub const fn flshcr2(self, n: usize) -> Reg<Flshcr2, RW>

Flash Control 2

Source

pub const fn flshcr4(self) -> Reg<Flshcr4, RW>

Flash Control 4

Source

pub const fn ipcr0(self) -> Reg<Ipcr0, RW>

IP Control 0

Source

pub const fn ipcr1(self) -> Reg<Ipcr1, RW>

IP Control 1

Source

pub const fn ipcmd(self) -> Reg<Ipcmd, RW>

IP Command

Source

pub const fn dlpr(self) -> Reg<Dlpr, RW>

Data Learning Pattern

Source

pub const fn iprxfcr(self) -> Reg<Iprxfcr, RW>

IP Receive FIFO Control

Source

pub const fn iptxfcr(self) -> Reg<Iptxfcr, RW>

IP Transmit FIFO Control

Source

pub const fn dllcr(self, n: usize) -> Reg<Dllcr, RW>

DLL Control 0

Source

pub const fn sts0(self) -> Reg<Sts0, R>

Status 0

Source

pub const fn sts1(self) -> Reg<Sts1, R>

Status 1

Source

pub const fn sts2(self) -> Reg<Sts2, R>

Status 2

Source

pub const fn ahbspndsts(self) -> Reg<Ahbspndsts, R>

AHB Suspend Status

Source

pub const fn iprxfsts(self) -> Reg<Iprxfsts, R>

IP Receive FIFO Status

Source

pub const fn iptxfsts(self) -> Reg<Iptxfsts, R>

IP Transmit FIFO Status

Source

pub const fn rfdr(self, n: usize) -> Reg<Rfdr, R>

IP Receive FIFO Data x

Source

pub const fn tfdr(self, n: usize) -> Reg<Tfdr, W>

IP TX FIFO Data x

Source

pub const fn lut(self, n: usize) -> Reg<Lut, RW>

Lookup Table x

Source

pub const fn haddrstart(self) -> Reg<Haddrstart, RW>

HADDR REMAP Start Address

Source

pub const fn haddrend(self) -> Reg<Haddrend, RW>

HADDR REMAP END ADDR

Source

pub const fn haddroffset(self) -> Reg<Haddroffset, RW>

HADDR Remap Offset

Source

pub const fn ipedctrl(self) -> Reg<Ipedctrl, RW>

IPED Function Control

Source

pub const fn ipedctxctrl0(self) -> Reg<Ipedctxctrl0, RW>

IPED context control 0

Source

pub const fn ipedctxctrl1(self) -> Reg<Ipedctxctrl1, RW>

IPED context control 1

Source

pub const fn ipedctx0iv0(self) -> Reg<Ipedctx0iv0, RW>

IPED Context0 IV0

Source

pub const fn ipedctx0iv1(self) -> Reg<Ipedctx0iv1, RW>

IPED Context0 IV1

Source

pub const fn ipedctx0start(self) -> Reg<Ipedctx0start, RW>

Start Address of Region

Source

pub const fn ipedctx0end(self) -> Reg<Ipedctx0end, RW>

End Address of Region

Source

pub const fn ipedctx0aad0(self) -> Reg<Ipedctx0aad0, RW>

IPED Context0 Additional Authenticated Data0

Source

pub const fn ipedctx0aad1(self) -> Reg<Ipedctx0aad1, RW>

IPED Context0 Additional Authenticated Data1

Source

pub const fn ipedctx1iv0(self) -> Reg<Ipedctx1iv0, RW>

IPED Context1 IV0

Source

pub const fn ipedctx1iv1(self) -> Reg<Ipedctx1iv1, RW>

IPED Context1 IV1

Source

pub const fn ipedctx1start(self) -> Reg<Ipedctx1start, RW>

Start Address of Region

Source

pub const fn ipedctx1end(self) -> Reg<Ipedctx1end, RW>

End Address of Region

Source

pub const fn ipedctx1aad0(self) -> Reg<Ipedctx1aad0, RW>

IPED Context1 Additional Authenticated Data0

Source

pub const fn ipedctx1aad1(self) -> Reg<Ipedctx1aad1, RW>

IPED Context1 Additional Authenticated Data1

Source

pub const fn ipedctx2iv0(self) -> Reg<Ipedctx2iv0, RW>

IPED Context2 IV0

Source

pub const fn ipedctx2iv1(self) -> Reg<Ipedctx2iv1, RW>

IPED Context2 IV1

Source

pub const fn ipedctx2start(self) -> Reg<Ipedctx2start, RW>

Start Address of Region

Source

pub const fn ipedctx2end(self) -> Reg<Ipedctx2end, RW>

End Address of Region

Source

pub const fn ipedctx2aad0(self) -> Reg<Ipedctx2aad0, RW>

IPED Context2 Additional Authenticated Data0

Source

pub const fn ipedctx2aad1(self) -> Reg<Ipedctx2aad1, RW>

IPED Context2 Additional Authenticated Data1

Source

pub const fn ipedctx3iv0(self) -> Reg<Ipedctx3iv0, RW>

IPED Context3 IV0

Source

pub const fn ipedctx3iv1(self) -> Reg<Ipedctx3iv1, RW>

IPED Context3 IV1

Source

pub const fn ipedctx3start(self) -> Reg<Ipedctx3start, RW>

Start Address of Region

Source

pub const fn ipedctx3end(self) -> Reg<Ipedctx3end, RW>

End Address of Region

Source

pub const fn ipedctx3aad0(self) -> Reg<Ipedctx3aad0, RW>

IPED Context3 Additional Authenticated Data0

Source

pub const fn ipedctx3aad1(self) -> Reg<Ipedctx3aad1, RW>

IPED Context3 Additional Authenticated Data1

Source

pub const fn ipedctx4iv0(self) -> Reg<Ipedctx4iv0, RW>

IPED Context4 IV0

Source

pub const fn ipedctx4iv1(self) -> Reg<Ipedctx4iv1, RW>

IPED Context4 IV1

Source

pub const fn ipedctx4start(self) -> Reg<Ipedctx4start, RW>

Start Address of Region

Source

pub const fn ipedctx4end(self) -> Reg<Ipedctx4end, RW>

End Address of Region

Source

pub const fn ipedctx4aad0(self) -> Reg<Ipedctx4aad0, RW>

IPED Context4 Additional Authenticated Data0

Source

pub const fn ipedctx4aad1(self) -> Reg<Ipedctx4aad1, RW>

IPED Context4 Additional Authenticated Data1

Source

pub const fn ipedctx5iv0(self) -> Reg<Ipedctx5iv0, RW>

IPED Context5 IV0

Source

pub const fn ipedctx5iv1(self) -> Reg<Ipedctx5iv1, RW>

IPED Context5 IV1

Source

pub const fn ipedctx5start(self) -> Reg<Ipedctx5start, RW>

Start Address of Region

Source

pub const fn ipedctx5end(self) -> Reg<Ipedctx5end, RW>

End Address of Region

Source

pub const fn ipedctx5aad0(self) -> Reg<Ipedctx5aad0, RW>

IPED Context5 Additional Authenticated Data0

Source

pub const fn ipedctx5aad1(self) -> Reg<Ipedctx5aad1, RW>

IPED Context5 Additional Authenticated Data1

Source

pub const fn ipedctx6iv0(self) -> Reg<Ipedctx6iv0, RW>

IPED Context6 IV0

Source

pub const fn ipedctx6iv1(self) -> Reg<Ipedctx6iv1, RW>

IPED Context6 IV1

Source

pub const fn ipedctx6start(self) -> Reg<Ipedctx6start, RW>

Start Address of Region

Source

pub const fn ipedctx6end(self) -> Reg<Ipedctx6end, RW>

End Address of Region

Source

pub const fn ipedctx6aad0(self) -> Reg<Ipedctx6aad0, RW>

IPED Context6 Additional Authenticated Data0

Source

pub const fn ipedctx6aad1(self) -> Reg<Ipedctx6aad1, RW>

IPED Context6 Additional Authenticated Data1

Trait Implementations§

Source§

impl Clone for Flexspi

Source§

fn clone(&self) -> Flexspi

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for Flexspi

Source§

fn eq(&self, other: &Flexspi) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Flexspi

Source§

impl Eq for Flexspi

Source§

impl Send for Flexspi

Source§

impl StructuralPartialEq for Flexspi

Source§

impl Sync for Flexspi

Auto Trait Implementations§

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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>,

Source§

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

Source§

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.