nxp-pac

Crates

git

Versions

mcxa577

Flavors

Espi

Struct Espi 

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

Enhanced Serial Peripheral Interface

Implementations§

Source§

impl Espi

Source

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

Source

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

Source

pub const fn mctrl(self) -> Reg<Mctrl, RW>

Master Control

Source

pub const fn mstat(self) -> Reg<Mstat, RW>

Master Status

Source

pub const fn intenset(self) -> Reg<Intenset, RW>

Interrupt Enable Set

Source

pub const fn intenclr(self) -> Reg<Intenclr, RW>

Interrupt Clear

Source

pub const fn intstat(self) -> Reg<Intstat, RW>

Masked Interrupt Status

Source

pub const fn dmactrl(self) -> Reg<Dmactrl, RW>

DMA Control

Source

pub const fn rambase(self) -> Reg<Rambase, RW>

RAM Base

Source

pub const fn mapbase(self) -> Reg<Mapbase, RW>

Mapped Base

Source

pub const fn irqpush(self) -> Reg<Irqpush, RW>

IRQ Push

Source

pub const fn wirewo(self) -> Reg<Wirewo, RW>

Virtual Wire MCU-to-host

Source

pub const fn wirero(self) -> Reg<Wirero, R>

Virtual Wire Host-to-MCU

Source

pub const fn p80stat(self) -> Reg<P80stat, RW>

Port 80 Status

Source

pub const fn stataddr(self) -> Reg<Stataddr, RW>

Status Block Address

Source

pub const fn espicap(self) -> Reg<Espicap, RW>

eSPI Capabilities

Source

pub const fn espicfg(self) -> Reg<Espicfg, R>

eSPI Configuration

Source

pub const fn espimisc(self) -> Reg<Espimisc, RW>

eSPI Miscellaneous

Source

pub const fn rpmc_support1(self) -> Reg<RpmcSupport1, RW>

RPMC Support 1

Source

pub const fn rpmc_support2(self) -> Reg<RpmcSupport2, RW>

RPMC Support 2

Source

pub const fn wirein_gpio(self) -> Reg<WireinGpio, R>

WIREIN_GPIO

Source

pub const fn wireout_gpio(self) -> Reg<WireoutGpio, R>

WIREOUT_GPIO

Source

pub const fn p0cfg(self) -> Reg<P0cfg, RW>

Port Configuration

Source

pub const fn p0stat(self) -> Reg<P0stat, RW>

Port Status

Source

pub const fn p0irulestat(self) -> Reg<P0irulestat, RW>

Set Interrupt Rules and User Status

Source

pub const fn p0addr(self) -> Reg<P0addr, RW>

Port Address

Source

pub const fn p0omflen(self) -> Reg<P0omflen, RW>

Port OOB, Mastering, and Flash Length

Source

pub const fn p0datain(self) -> Reg<P0datain, R>

Port Data Input

Source

pub const fn p0dataout(self) -> Reg<P0dataout, RW>

Port Data Out

Source

pub const fn p0ramuse(self) -> Reg<P0ramuse, RW>

Port RAM Use

Source

pub const fn p1cfg(self) -> Reg<P1cfg, RW>

Port Configuration

Source

pub const fn p1stat(self) -> Reg<P1stat, RW>

Port Status

Source

pub const fn p1irulestat(self) -> Reg<P1irulestat, RW>

Set Interrupt Rules and User Status

Source

pub const fn p1addr(self) -> Reg<P1addr, RW>

Port Address

Source

pub const fn p1omflen(self) -> Reg<P1omflen, RW>

Port OOB, Mastering, and Flash Length

Source

pub const fn p1datain(self) -> Reg<P1datain, R>

Port Data Input

Source

pub const fn p1dataout(self) -> Reg<P1dataout, RW>

Port Data Out

Source

pub const fn p1ramuse(self) -> Reg<P1ramuse, RW>

Port RAM Use

Source

pub const fn p2cfg(self) -> Reg<P2cfg, RW>

Port Configuration

Source

pub const fn p2stat(self) -> Reg<P2stat, RW>

Port Status

Source

pub const fn p2irulestat(self) -> Reg<P2irulestat, RW>

Set Interrupt Rules and User Status

Source

pub const fn p2addr(self) -> Reg<P2addr, RW>

Port Address

Source

pub const fn p2omflen(self) -> Reg<P2omflen, RW>

Port OOB, Mastering, and Flash Length

Source

pub const fn p2datain(self) -> Reg<P2datain, R>

Port Data Input

Source

pub const fn p2dataout(self) -> Reg<P2dataout, RW>

Port Data Out

Source

pub const fn p2ramuse(self) -> Reg<P2ramuse, RW>

Port RAM Use

Source

pub const fn p3cfg(self) -> Reg<P3cfg, RW>

Port Configuration

Source

pub const fn p3stat(self) -> Reg<P3stat, RW>

Port Status

Source

pub const fn p3irulestat(self) -> Reg<P3irulestat, RW>

Set Interrupt Rules and User Status

Source

pub const fn p3addr(self) -> Reg<P3addr, RW>

Port Address

Source

pub const fn p3omflen(self) -> Reg<P3omflen, RW>

Port OOB, Mastering, and Flash Length

Source

pub const fn p3datain(self) -> Reg<P3datain, R>

Port Data Input

Source

pub const fn p3dataout(self) -> Reg<P3dataout, RW>

Port Data Out

Source

pub const fn p3ramuse(self) -> Reg<P3ramuse, RW>

Port RAM Use

Source

pub const fn p4cfg(self) -> Reg<P4cfg, RW>

Port Configuration

Source

pub const fn p4stat(self) -> Reg<P4stat, RW>

Port Status

Source

pub const fn p4irulestat(self) -> Reg<P4irulestat, RW>

Set Interrupt Rules and User Status

Source

pub const fn p4addr(self) -> Reg<P4addr, RW>

Port Address

Source

pub const fn p4omflen(self) -> Reg<P4omflen, RW>

Port OOB, Mastering, and Flash Length

Source

pub const fn p4datain(self) -> Reg<P4datain, R>

Port Data Input

Source

pub const fn p4dataout(self) -> Reg<P4dataout, RW>

Port Data Out

Source

pub const fn p4ramuse(self) -> Reg<P4ramuse, RW>

Port RAM Use

Trait Implementations§

Source§

impl Clone for Espi

Source§

fn clone(&self) -> Espi

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 Espi

Source§

fn eq(&self, other: &Espi) -> 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 Espi

Source§

impl Eq for Espi

Source§

impl Send for Espi

Source§

impl StructuralPartialEq for Espi

Source§

impl Sync for Espi

Auto Trait Implementations§

§

impl Freeze for Espi

§

impl RefUnwindSafe for Espi

§

impl Unpin for Espi

§

impl UnwindSafe for Espi

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.