pub struct RegionConfig {
pub base_address: u32,
pub remap_address: u32,
pub size: RegionSize,
pub route: TrafficRoute,
pub burst: OutputBurst,
}Expand description
Configuration for a memory-remap region.
Fields§
§base_address: u32Base address (in the external memory’s AHB address window) of the region to remap.
Must be aligned to size.
remap_address: u32Address it’s remapped to. Must be aligned to size.
size: RegionSizeRegion size.
route: TrafficRouteAHB master whose traffic is routed through this region.
burst: OutputBurstOutput burst type for AHB accesses generated by this region.
Trait Implementations§
Source§impl Clone for RegionConfig
impl Clone for RegionConfig
Source§fn clone(&self) -> RegionConfig
fn clone(&self) -> RegionConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegionConfig
impl Debug for RegionConfig
impl Copy for RegionConfig
Auto Trait Implementations§
impl Freeze for RegionConfig
impl RefUnwindSafe for RegionConfig
impl Send for RegionConfig
impl Sync for RegionConfig
impl Unpin for RegionConfig
impl UnwindSafe for RegionConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more