[][src]Enum esp_idf_bindgen::esp_flash_speed_t

#[repr(u32)]pub enum esp_flash_speed_t {
    ESP_FLASH_5MHZ,
    ESP_FLASH_10MHZ,
    ESP_FLASH_20MHZ,
    ESP_FLASH_26MHZ,
    ESP_FLASH_40MHZ,
    ESP_FLASH_80MHZ,
    ESP_FLASH_SPEED_MAX,
}

@brief SPI flash clock speed values, always refer to them by the enum rather than the actual value (more speed may be appended into the list).

A strategy to select the maximum allowed speed is to enumerate from the ESP_FLSH_SPEED_MAX-1 or highest frequency supported by your flash, and decrease the speed until the probing success.

Variants

ESP_FLASH_5MHZ

< The flash runs under 5MHz

ESP_FLASH_10MHZ

< The flash runs under 10MHz

ESP_FLASH_20MHZ

< The flash runs under 20MHz

ESP_FLASH_26MHZ

< The flash runs under 26MHz

ESP_FLASH_40MHZ

< The flash runs under 40MHz

ESP_FLASH_80MHZ

< The flash runs under 80MHz

ESP_FLASH_SPEED_MAX

< The maximum frequency supported by the host is ESP_FLASH_SPEED_MAX-1.

Trait Implementations

impl Clone for esp_flash_speed_t[src]

impl Copy for esp_flash_speed_t[src]

impl Debug for esp_flash_speed_t[src]

impl Eq for esp_flash_speed_t[src]

impl Hash for esp_flash_speed_t[src]

impl PartialEq<esp_flash_speed_t> for esp_flash_speed_t[src]

impl StructuralEq for esp_flash_speed_t[src]

impl StructuralPartialEq for esp_flash_speed_t[src]

Auto Trait Implementations

impl Send for esp_flash_speed_t

impl Sync for esp_flash_speed_t

impl Unpin for esp_flash_speed_t

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, 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.