[][src]Enum stm32f4xx_hal::stm32::fmc::pcr::ECCPSR

pub enum ECCPSR {
    BYTES256,
    BYTES512,
    BYTES1024,
    BYTES2048,
    BYTES4096,
    BYTES8192,
    _Reserved(u8),
}

Possible values of the field ECCPS

Variants

BYTES256

ECC page size 256 bytes

BYTES512

ECC page size 512 bytes

BYTES1024

ECC page size 1024 bytes

BYTES2048

ECC page size 2048 bytes

BYTES4096

ECC page size 4096 bytes

BYTES8192

ECC page size 8192 bytes

_Reserved(u8)

Reserved

Methods

impl ECCPSR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is BYTES256

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

Checks if the value of the field is BYTES512

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

Checks if the value of the field is BYTES1024

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

Checks if the value of the field is BYTES2048

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

Checks if the value of the field is BYTES4096

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

Checks if the value of the field is BYTES8192

Trait Implementations

impl PartialEq<ECCPSR> for ECCPSR[src]

impl Debug for ECCPSR[src]

impl Clone for ECCPSR[src]

impl Copy for ECCPSR[src]

Auto Trait Implementations

impl Unpin for ECCPSR

impl Send for ECCPSR

impl Sync for ECCPSR

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