[][src]Struct punt::bootloader_info::BootloaderInfo

pub struct BootloaderInfo {
    pub build_number: u32,
    pub build_date: String,
    pub application_base: u32,
    pub application_size: usize,
    pub version: Version,
    pub identifier: String,
}

Suppository information read back from the bootloader.

Fields

build_number: u32

Build number of the bootloader.

build_date: String

Build date of the bootloader, formatted as an ISO 8601 date (YYYY-MM-DD).

application_base: u32

Start address of the application flash.

application_size: usize

Size of the flash available for the application (in bytes).

version: Version

Bootloader firmware version.

identifier: String

Identifier string, usually containing the MCU MPN.

Methods

impl BootloaderInfo[src]

pub fn application_pages(&self) -> RangeInclusive<Page>[src]

Returns a range containing all application pages

Trait Implementations

impl Debug for BootloaderInfo[src]

impl Display for BootloaderInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.