[][src]Struct betrusted_pac::com::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub tx1: TX1,
    pub tx0: TX0,
    pub rx1: RX1,
    pub rx0: RX0,
    pub control: CONTROL,
    pub status: STATUS,
    pub ev_status: EV_STATUS,
    pub ev_pending: EV_PENDING,
    pub ev_enable: EV_ENABLE,
}

Register block

Fields

tx1: TX1

0x00 - Bits 8-15 of COM_TX. Tx data, for MOSI.

tx0: TX0

0x04 - Bits 0-7 of COM_TX.

rx1: RX1

0x08 - Bits 8-15 of COM_RX. Rx data, from MISO

rx0: RX0

0x0c - Bits 0-7 of COM_RX.

control: CONTROL

0x10 -

status: STATUS

0x14 -

ev_status: EV_STATUS

0x18 -

ev_pending: EV_PENDING

0x1c -

ev_enable: EV_ENABLE

0x20 -

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.