Struct atsam4_hal::static_memory_controller::Smc[][src]

pub struct Smc {
    pub chip_select0: ChipSelect0<Uninitialized>,
    pub chip_select1: ChipSelect1<Uninitialized>,
    pub chip_select2: ChipSelect2<Uninitialized>,
    pub chip_select3: ChipSelect3<Uninitialized>,
}

Fields

chip_select0: ChipSelect0<Uninitialized>chip_select1: ChipSelect1<Uninitialized>chip_select2: ChipSelect2<Uninitialized>chip_select3: ChipSelect3<Uninitialized>

Implementations

impl Smc[src]

pub fn new(
    _clock: SmcClock<Enabled>,
    _ncs1: NCS1,
    _ncs3: NCS3,
    _nrd: Pc11<PfA>,
    _nwe: Pc8<PfA>,
    _data_lines: (Pc0<PfA>, Pc1<PfA>, Pc2<PfA>, Pc3<PfA>, Pc4<PfA>, Pc5<PfA>, Pc6<PfA>, Pc7<PfA>),
    _address_lines: (Pc18<PfA>, Pc19<PfA>, Pc20<PfA>, Pc21<PfA>, Pc22<PfA>, Pc23<PfA>, Pc24<PfA>, Pc25<PfA>, Pc26<PfA>, Pc27<PfA>, Pc28<PfA>, Pc29<PfA>, Pc30<PfA>, Pc31<PfA>, Pa18<PfC>, Pa19<PfC>, Pa20<PfC>, Pa0<PfC>, Pa1<PfC>, Pa23<PfC>, Pa24<PfC>, Pc16<PfA>, Pc17<PfA>, Pa25<PfC>)
) -> Self
[src]

pub fn base_address(&self, chip_select: u8) -> usize[src]

Auto Trait Implementations

impl Send for Smc

impl Sync for Smc

impl Unpin for Smc

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.