nxp-pac

Crates

git

Versions

mcxn547

Flavors

FlexspiAlphaFieldsetIndia

Struct FlexspiAlphaFieldsetIndia 

Source
#[repr(transparent)]
pub struct FlexspiAlphaFieldsetIndia(pub u32);
Expand description

AHB Bus Control.

Tuple Fields§

§0: u32

Implementations§

Source§

impl FlexspiAlphaFieldsetIndia

Source

pub const fn aparen(&self) -> bool

AHB Parallel Mode Enable. Raw bit values: false (0) = Individual: Flash is accessed in Individual mode.; true (1) = Enable: Flash is accessed in Parallel mode.

Source

pub const fn set_aparen(&mut self, val: bool)

AHB Parallel Mode Enable. Raw bit values: false (0) = Individual: Flash is accessed in Individual mode.; true (1) = Enable: Flash is accessed in Parallel mode.

Source

pub const fn clrahbrxbuf(&self) -> bool

Clear AHB Receive Buffer. Raw bit values: false (0) = Val0: No impact.; true (1) = Val1: Enable clear operation.

Source

pub const fn set_clrahbrxbuf(&mut self, val: bool)

Clear AHB Receive Buffer. Raw bit values: false (0) = Val0: No impact.; true (1) = Val1: Enable clear operation.

Source

pub const fn clrahbtxbuf(&self) -> bool

Clear AHB Transmit Buffer. Raw bit values: false (0) = Val0: No impact.; true (1) = Val1: Enable clear operation.

Source

pub const fn set_clrahbtxbuf(&mut self, val: bool)

Clear AHB Transmit Buffer. Raw bit values: false (0) = Val0: No impact.; true (1) = Val1: Enable clear operation.

Source

pub const fn cachableen(&self) -> bool

Cacheable Read Access Enable. Raw bit values: false (0) = Val0: Disabled. When an AHB bus cacheable read access occurs, FlexSPI does not check whether it hit the AHB transmit buffer.; true (1) = Val1: Enabled. When an AHB bus cacheable read access occurs, FlexSPI first checks whether the access hit the AHB transmit buffer.

Source

pub const fn set_cachableen(&mut self, val: bool)

Cacheable Read Access Enable. Raw bit values: false (0) = Val0: Disabled. When an AHB bus cacheable read access occurs, FlexSPI does not check whether it hit the AHB transmit buffer.; true (1) = Val1: Enabled. When an AHB bus cacheable read access occurs, FlexSPI first checks whether the access hit the AHB transmit buffer.

Source

pub const fn bufferableen(&self) -> bool

Bufferable Write Access Enable. Raw bit values: false (0) = Val0: Disabled. For all AHB write accesses (bufferable or nonbufferable), FlexSPI returns AHB Bus Ready after transmitting all data and finishing command.; true (1) = Val1: Enabled. For AHB bufferable write access, FlexSPI returns AHB Bus Ready when the arbitrator grants the AHB command. FlexSPI does not wait for the AHB command to finish.

Source

pub const fn set_bufferableen(&mut self, val: bool)

Bufferable Write Access Enable. Raw bit values: false (0) = Val0: Disabled. For all AHB write accesses (bufferable or nonbufferable), FlexSPI returns AHB Bus Ready after transmitting all data and finishing command.; true (1) = Val1: Enabled. For AHB bufferable write access, FlexSPI returns AHB Bus Ready when the arbitrator grants the AHB command. FlexSPI does not wait for the AHB command to finish.

Source

pub const fn prefetchen(&self) -> bool

AHB Read Prefetch Enable. Raw bit values: false (0) = Value0: Disable.; true (1) = Value1: Enable.

Source

pub const fn set_prefetchen(&mut self, val: bool)

AHB Read Prefetch Enable. Raw bit values: false (0) = Value0: Disable.; true (1) = Value1: Enable.

Source

pub const fn readaddropt(&self) -> bool

AHB Read Address Option. Raw bit values: false (0) = Val0: AHB read burst start address alignment is limited when flash memory is accessed in parallel mode or flash is word-addressable.; true (1) = Val1: AHB read burst start address alignment is not limited. FlexSPI fetches more data than the AHB burst requires for address alignment.

Source

pub const fn set_readaddropt(&mut self, val: bool)

AHB Read Address Option. Raw bit values: false (0) = Val0: AHB read burst start address alignment is limited when flash memory is accessed in parallel mode or flash is word-addressable.; true (1) = Val1: AHB read burst start address alignment is not limited. FlexSPI fetches more data than the AHB burst requires for address alignment.

Source

pub const fn resumedisable(&self) -> bool

AHB Read Resume Disable. Raw bit values: false (0) = Val0: Suspended AHB read prefetch resumes when AHB is IDLE.; true (1) = Val1: Suspended AHB read prefetch does not resume once aborted,.

Source

pub const fn set_resumedisable(&mut self, val: bool)

AHB Read Resume Disable. Raw bit values: false (0) = Val0: Suspended AHB read prefetch resumes when AHB is IDLE.; true (1) = Val1: Suspended AHB read prefetch does not resume once aborted,.

Source

pub const fn readszalign(&self) -> bool

AHB Read Size Alignment. Raw bit values: false (0) = Val0: Register settings such as PREFETCH_EN determine AHB read size.; true (1) = Val1: AHB read size to up size to 8 bytes aligned, no prefetching.

Source

pub const fn set_readszalign(&mut self, val: bool)

AHB Read Size Alignment. Raw bit values: false (0) = Val0: Register settings such as PREFETCH_EN determine AHB read size.; true (1) = Val1: AHB read size to up size to 8 bytes aligned, no prefetching.

Source

pub const fn alignment(&self) -> FlexspiAlphaEnumFoxtrotAlpha

AHB Boundary Alignment.

Source

pub const fn set_alignment(&mut self, val: FlexspiAlphaEnumFoxtrotAlpha)

AHB Boundary Alignment.

Source

pub const fn aflashbase(&self) -> u8

AHB Memory-Mapped Flash Base Address.

Source

pub const fn set_aflashbase(&mut self, val: u8)

AHB Memory-Mapped Flash Base Address.

Trait Implementations§

Source§

impl Clone for FlexspiAlphaFieldsetIndia

Source§

fn clone(&self) -> FlexspiAlphaFieldsetIndia

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 Default for FlexspiAlphaFieldsetIndia

Source§

fn default() -> FlexspiAlphaFieldsetIndia

Returns the “default value” for a type. Read more
Source§

impl PartialEq for FlexspiAlphaFieldsetIndia

Source§

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

Source§

impl Eq for FlexspiAlphaFieldsetIndia

Source§

impl StructuralPartialEq for FlexspiAlphaFieldsetIndia

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.