#[repr(C)]pub struct EspAppDesc { /* private fields */ }Expand description
ESP-IDF compatible application descriptor
This gets populated by the esp_app_desc macro.
Implementations§
Source§impl EspAppDesc
impl EspAppDesc
Sourcepub fn magic_word(&self) -> u32
pub fn magic_word(&self) -> u32
The magic word - should be 0xABCD5432
Sourcepub fn secure_version(&self) -> u32
pub fn secure_version(&self) -> u32
Secure version
Sourcepub fn project_name(&self) -> &str
pub fn project_name(&self) -> &str
Application name
Sourcepub fn app_elf_sha256(&self) -> &[u8; 32]
pub fn app_elf_sha256(&self) -> &[u8; 32]
SHA256
The default tooling won’t populate this
Sourcepub fn min_efuse_blk_rev_full(&self) -> u16
pub fn min_efuse_blk_rev_full(&self) -> u16
Minimal eFuse block revision supported by image
Format major * 100 + minor
Sourcepub fn max_efuse_blk_rev_full(&self) -> u16
pub fn max_efuse_blk_rev_full(&self) -> u16
Maximal eFuse block revision supported by image
Format major * 100 + minor
Sourcepub fn mmu_page_size(&self) -> u32
pub fn mmu_page_size(&self) -> u32
MMU page size in bytes
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EspAppDesc
impl RefUnwindSafe for EspAppDesc
impl Send for EspAppDesc
impl Sync for EspAppDesc
impl Unpin for EspAppDesc
impl UnwindSafe for EspAppDesc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more