#[repr(C)]pub struct externalLoader {
pub filePath: [c_char; 200],
pub deviceName: [c_char; 100],
pub deviceType: c_int,
pub deviceStartAddress: u32,
pub deviceSize: u32,
pub pageSize: u32,
pub sectorsTypeNbr: u32,
pub sectors: *mut deviceSector,
}
Expand description
\struct externalLoader \brief Get external Loader parameters to launch the process of programming an external flash memory.
Fields§
§filePath: [c_char; 200]
< FlashLoader file path.
deviceName: [c_char; 100]
< Device Name and Description.
deviceType: c_int
< Device Type: ONCHIP, EXT8BIT, EXT16BIT, …
deviceStartAddress: u32
< Default Device Start Address.
deviceSize: u32
< Total Size of Device.
pageSize: u32
< Programming Page Size.
sectorsTypeNbr: u32
< Type number.
sectors: *mut deviceSector
< Device sectors.
Trait Implementations§
Source§impl Clone for externalLoader
impl Clone for externalLoader
Source§fn clone(&self) -> externalLoader
fn clone(&self) -> externalLoader
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 externalLoader
impl Debug for externalLoader
impl Copy for externalLoader
Auto Trait Implementations§
impl Freeze for externalLoader
impl RefUnwindSafe for externalLoader
impl !Send for externalLoader
impl !Sync for externalLoader
impl Unpin for externalLoader
impl UnwindSafe for externalLoader
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