#[repr(C)]#[repr(align(16))]pub struct MainRegionDesc<N> where
N: RegionNum, {
pub raddr: RegionAddress,
pub rcfg: RegionConfiguration,
pub rctrl: RegionControl,
pub rnext: RegionNext,
// some fields omitted
}
Expand description
Structure ICM Region Descriptor area.
Follows C-structure conventions and is 16-byte aligned,
being a part of the 64-bytes making up Region
Fields
raddr: RegionAddress
The first byte address of the Region.
rcfg: RegionConfiguration
Configuration Structure Member.
rctrl: RegionControl
Control Structure Member.
rnext: RegionNext
Next Address Structure Member.
Implementations
Helper for setting the DSCR addr to a the first MainRegionDesc
See Icm::set_dscr_addr()
for the regular workflow
HW expects a raw pointer to the memory address of the beginning of the
MainRegionDesc
but expressed as a multiple of 64
The length of data for the ICM engine to transfer,
expressed as number of blocks - 1
.
Trait Implementations
Auto Trait Implementations
impl<N> RefUnwindSafe for MainRegionDesc<N> where
N: RefUnwindSafe,
impl<N> Send for MainRegionDesc<N> where
N: Send,
impl<N> Sync for MainRegionDesc<N> where
N: Sync,
impl<N> Unpin for MainRegionDesc<N> where
N: Unpin,
impl<N> UnwindSafe for MainRegionDesc<N> where
N: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.
OverflowingCasts the value.
Casts the value.
Casts the value.
Casts the value.
UnwrappedCasts the value.
Casts the value.
WrappingCasts the value.