Struct avr_mcu::Variant
[−]
[src]
pub struct Variant {
pub name: String,
pub pinout: Option<String>,
pub package: String,
pub temperature_min: i32,
pub temperature_max: i32,
pub voltage_min: f32,
pub voltage_max: f32,
pub speed_max_hz: u64,
}A variation of a specific microcontroller.
Fields
name: String
The name of the variant.
pinout: Option<String>
What pinout is used.
package: String
The package format.
temperature_min: i32
The minimum temperate in celsius.
temperature_max: i32
The maximum temperature in celsius.
voltage_min: f32
The minimum voltage.
voltage_max: f32
The maximum voltate.
speed_max_hz: u64
The max clock speed in Hz.
Trait Implementations
impl Clone for Variant[src]
fn clone(&self) -> Variant
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for Variant[src]
impl PartialOrd for Variant[src]
fn partial_cmp(&self, __arg_0: &Variant) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, __arg_0: &Variant) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, __arg_0: &Variant) -> bool
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, __arg_0: &Variant) -> bool
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, __arg_0: &Variant) -> bool
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more