#[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

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Performs the conversion.

Performs the conversion.

Casts the value.

OverflowingCasts the value.

Should always be Self

Casts the value.

Casts the value.

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.

Casts the value.

UnwrappedCasts the value.

Casts the value.

WrappingCasts the value.