embassy-rp

Crates

git

Versions

rp235xb

Flavors

Type Alias embassy_rp::block::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).