[][src]Struct msp430fr2x5x_hal::fram::Fram

pub struct Fram { /* fields omitted */ }

FRAM controller

Implementations

impl Fram[src]

pub fn new(fram: FRCTL) -> Self[src]

Turn FRCTL into Fram

impl Fram[src]

pub unsafe fn set_wait_states(&mut self, wait: WaitStates)[src]

Set number of FRAM wait states. Could cause issues reading instructions from FRAM if incorrect. Should wait 1 cycle if MCLK > 8MHz and 2 cycles if MCLK > 16MHz.

Auto Trait Implementations

impl Send for Fram[src]

impl !Sync for Fram[src]

impl Unpin for Fram[src]

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.