pub enum Chip {
Esp32,
Esp32c2,
Esp32c3,
Esp32c6,
Esp32h2,
Esp32s2,
Esp32s3,
}
Expand description
Supported devices.
Variants§
Esp32
ESP32
Esp32c2
ESP32-C2, ESP8684
Esp32c3
ESP32-C3, ESP8685
Esp32c6
ESP32-C6
Esp32h2
ESP32-H2
Esp32s2
ESP32-S2
Esp32s3
ESP32-S3
Implementations§
Source§impl Chip
impl Chip
pub fn from_cargo_feature() -> Result<Self>
pub fn target(&self) -> String
pub fn has_lp_core(&self) -> bool
pub fn lp_target(&self) -> Result<&'static str>
pub fn name(&self) -> &str
pub fn pretty_name(&self) -> &str
pub fn is_xtensa(&self) -> bool
pub fn is_riscv(&self) -> bool
pub fn list_of_check_cfgs() -> Vec<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Chip
impl<'de> Deserialize<'de> for Chip
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Chip
impl Ord for Chip
Source§impl PartialOrd for Chip
impl PartialOrd for Chip
impl Copy for Chip
impl Eq for Chip
impl StructuralPartialEq for Chip
Auto Trait Implementations§
impl Freeze for Chip
impl RefUnwindSafe for Chip
impl Send for Chip
impl Sync for Chip
impl Unpin for Chip
impl UnwindSafe for Chip
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.