[][src]Struct fomu_pac::lxspi::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub bitbang: BITBANG,
    pub miso: MISO,
    pub bitbang_en: BITBANG_EN,
    // some fields omitted
}

Register block

Fields

bitbang: BITBANG

0x00 - Bitbang controls for SPI output. Only standard 1x SPI is supported, meaning the IO2 and IO3 lines will be hardwired to 1 during bitbang mode.

miso: MISO

0x04 - Incoming value of MISO signal.

bitbang_en: BITBANG_EN

0x08 - Write a 1 here to disable memory-mapped mode and enable bitbang mode.

Auto Trait Implementations

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.