Struct rockfile::boot::RkBootEntry
source · pub struct RkBootEntry {
pub size: u8,
pub type_: u32,
pub name: [u16; 20],
pub data_offset: u32,
pub data_size: u32,
pub data_delay: u32,
}
Expand description
Boot entry describing each data blob. data_offset and data_size define the range in the boot file. After uploading the blob to SoC a delay of data_delay miliseconds should be observed before uploading the next blob
Fields§
§size: u8
size of this entry
type_: u32
§name: [u16; 20]
UTF-16 name
data_offset: u32
Offset of data in the boot file
data_size: u32
Size of data in the boot file
data_delay: u32
Delay to observe after uploading to SoC
Implementations§
source§impl RkBootEntry
impl RkBootEntry
pub fn from_bytes(bytes: &RkBootEntryBytes) -> RkBootEntry
Trait Implementations§
source§impl Clone for RkBootEntry
impl Clone for RkBootEntry
source§fn clone(&self) -> RkBootEntry
fn clone(&self) -> RkBootEntry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RkBootEntry
impl Debug for RkBootEntry
source§impl PartialEq<RkBootEntry> for RkBootEntry
impl PartialEq<RkBootEntry> for RkBootEntry
source§fn eq(&self, other: &RkBootEntry) -> bool
fn eq(&self, other: &RkBootEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.