#[repr(C)]
#[repr(align(16))]
pub struct MainRegionDesc<N: RegionNum> { pub raddr: RegionAddress, pub rcfg: RegionConfiguration, pub rctrl: RegionControl, pub rnext: RegionNext, /* private fields */ }
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

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.