[][src]Enum stm32f4xx_hal::stm32::fmc::bcr1::MTYPR

pub enum MTYPR {
    SRAM,
    PSRAM,
    FLASH,
    _Reserved(u8),
}

Possible values of the field MTYP

Variants

SRAM

SRAM memory type

PSRAM

PSRAM (CRAM) memory type

FLASH

NOR Flash/OneNAND Flash

_Reserved(u8)

Reserved

Methods

impl MTYPR[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_sram(&self) -> bool[src]

Checks if the value of the field is SRAM

pub fn is_psram(&self) -> bool[src]

Checks if the value of the field is PSRAM

pub fn is_flash(&self) -> bool[src]

Checks if the value of the field is FLASH

Trait Implementations

impl PartialEq<MTYPR> for MTYPR[src]

impl Debug for MTYPR[src]

impl Clone for MTYPR[src]

impl Copy for MTYPR[src]

Auto Trait Implementations

impl Unpin for MTYPR

impl Send for MTYPR

impl Sync for MTYPR

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self