[][src]Enum espflash::Chip

pub enum Chip {
    Esp8266,
    Esp32,
}

Variants

Esp8266
Esp32

Implementations

impl Chip[src]

pub fn from_regs(value1: u32, value2: u32) -> Option<Self>[src]

pub fn get_flash_segments<'a>(
    &self,
    image: &'a FirmwareImage<'_>
) -> Box<dyn Iterator<Item = Result<RomSegment<'a>, Error>> + 'a>
[src]

pub fn addr_is_flash(&self, addr: u32) -> bool[src]

pub fn spi_registers(&self) -> SPIRegisters[src]

Trait Implementations

impl Clone for Chip[src]

impl Copy for Chip[src]

impl Debug for Chip[src]

Auto Trait Implementations

impl RefUnwindSafe for Chip

impl Send for Chip

impl Sync for Chip

impl Unpin for Chip

impl UnwindSafe for Chip

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.