[][src]Struct feather_f405::Flash

pub struct Flash { /* fields omitted */ }

Spi flash

Implementations

impl Flash[src]

pub fn new<M0, M1, M2, M3>(
    pb3: PB3<M0>,
    pb4: PB4<M1>,
    pb5: PB5<M2>,
    cs: PA15<M3>,
    spi1: SPI1,
    clocks: Clocks
) -> Result<Flash, Error<Spi<SPI1, (PB3<Alternate<AF5>>, PB4<Alternate<AF5>>, PB5<Alternate<AF5>>)>, PA15<Output<PushPull>>>>
[src]

pub fn read_id(&mut self) -> Identification[src]

Auto Trait Implementations

impl Send for Flash

impl !Sync for Flash

impl Unpin for Flash

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