Specs

Struct Specs 

Source
pub struct Specs {
Show 19 fields pub timeout: u8, pub stab_delay: u8, pub cmd_exe_delay: u8, pub synch_loops: u8, pub byte_delay: u8, pub pool_value: u8, pub pool_index: u8, pub pre_delay: u8, pub post_delay: u8, pub reset_polarity: bool, pub erase_poll_method: u8, pub erase_delay: u8, pub signature: Signature, pub fuse_poll_index: u8, pub lock_poll_index: u8, pub osccal_poll_index: u8, pub signature_poll_index: u8, pub flash: Memory, pub eeprom: Memory,
}
Expand description

MCU specs used for programming.

Can be obtained from atdf files found in atpack on http://packs.download.atmel.com/

Fields§

§timeout: u8§stab_delay: u8§cmd_exe_delay: u8§synch_loops: u8§byte_delay: u8§pool_value: u8§pool_index: u8§pre_delay: u8§post_delay: u8§reset_polarity: bool§erase_poll_method: u8§erase_delay: u8§signature: Signature§fuse_poll_index: u8§lock_poll_index: u8§osccal_poll_index: u8§signature_poll_index: u8§flash: Memory§eeprom: Memory

Auto Trait Implementations§

§

impl Freeze for Specs

§

impl RefUnwindSafe for Specs

§

impl Send for Specs

§

impl Sync for Specs

§

impl Unpin for Specs

§

impl UnwindSafe for Specs

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.