#[repr(transparent)]pub struct FlexspiAlphaFieldsetIndia(pub u32);Expand description
AHB Bus Control.
Tuple Fields§
§0: u32Implementations§
Source§impl FlexspiAlphaFieldsetIndia
impl FlexspiAlphaFieldsetIndia
Sourcepub const fn aparen(&self) -> bool
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.
Sourcepub const fn set_aparen(&mut self, val: bool)
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.
Sourcepub const fn clrahbrxbuf(&self) -> bool
pub const fn clrahbrxbuf(&self) -> bool
Clear AHB Receive Buffer. Raw bit values: false (0) = Val0: No impact.; true (1) = Val1: Enable clear operation.
Sourcepub const fn set_clrahbrxbuf(&mut self, val: bool)
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.
Sourcepub const fn clrahbtxbuf(&self) -> bool
pub const fn clrahbtxbuf(&self) -> bool
Clear AHB Transmit Buffer. Raw bit values: false (0) = Val0: No impact.; true (1) = Val1: Enable clear operation.
Sourcepub const fn set_clrahbtxbuf(&mut self, val: bool)
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.
Sourcepub const fn cachableen(&self) -> bool
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.
Sourcepub const fn set_cachableen(&mut self, val: bool)
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.
Sourcepub const fn bufferableen(&self) -> bool
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.
Sourcepub const fn set_bufferableen(&mut self, val: bool)
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.
Sourcepub const fn prefetchen(&self) -> bool
pub const fn prefetchen(&self) -> bool
AHB Read Prefetch Enable. Raw bit values: false (0) = Value0: Disable.; true (1) = Value1: Enable.
Sourcepub const fn set_prefetchen(&mut self, val: bool)
pub const fn set_prefetchen(&mut self, val: bool)
AHB Read Prefetch Enable. Raw bit values: false (0) = Value0: Disable.; true (1) = Value1: Enable.
Sourcepub const fn readaddropt(&self) -> bool
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.
Sourcepub const fn set_readaddropt(&mut self, val: bool)
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.
Sourcepub const fn resumedisable(&self) -> bool
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,.
Sourcepub const fn set_resumedisable(&mut self, val: bool)
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,.
Sourcepub const fn readszalign(&self) -> bool
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.
Sourcepub const fn set_readszalign(&mut self, val: bool)
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.
Sourcepub const fn alignment(&self) -> FlexspiAlphaEnumFoxtrotAlpha
pub const fn alignment(&self) -> FlexspiAlphaEnumFoxtrotAlpha
AHB Boundary Alignment.
Sourcepub const fn set_alignment(&mut self, val: FlexspiAlphaEnumFoxtrotAlpha)
pub const fn set_alignment(&mut self, val: FlexspiAlphaEnumFoxtrotAlpha)
AHB Boundary Alignment.
Sourcepub const fn aflashbase(&self) -> u8
pub const fn aflashbase(&self) -> u8
AHB Memory-Mapped Flash Base Address.
Sourcepub const fn set_aflashbase(&mut self, val: u8)
pub const fn set_aflashbase(&mut self, val: u8)
AHB Memory-Mapped Flash Base Address.
Trait Implementations§
Source§impl Clone for FlexspiAlphaFieldsetIndia
impl Clone for FlexspiAlphaFieldsetIndia
Source§fn clone(&self) -> FlexspiAlphaFieldsetIndia
fn clone(&self) -> FlexspiAlphaFieldsetIndia
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more