embassy-rp

Crates

git

Versions

rp235xb

Flavors

embassy_rp::block

Type Alias ImageDef

Source
pub type ImageDef = Block<1>;
Expand description

An Image Definition has one item in it - an ITEM_1BS_IMAGE_TYPE

Aliased Type§

struct ImageDef { /* private fields */ }

Implementations§

Source§

impl ImageDef

Source

pub const fn arch_exe(security: Security, architecture: Architecture) -> Self

Construct a new IMAGE_DEF Block, for an EXE with the given security and architecture.

Source

pub const fn exe(security: Security) -> Self

Construct a new IMAGE_DEF Block, for an EXE with the given security.

The target architecture is taken from the current build target (i.e. Arm or RISC-V).

Source

pub const fn non_secure_exe() -> Self

Construct a new IMAGE_DEF Block, for a Non-Secure EXE.

The target architecture is taken from the current build target (i.e. Arm or RISC-V).

Source

pub const fn secure_exe() -> Self

Construct a new IMAGE_DEF Block, for a Secure EXE.

The target architecture is taken from the current build target (i.e. Arm or RISC-V).