[][src]Struct lpc81x_pac::spi0::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub cfg: CFG, pub dly: DLY, pub stat: STAT, pub intenset: INTENSET, pub intenclr: INTENCLR, pub rxdat: RXDAT, pub txdatctl: TXDATCTL, pub txdat: TXDAT, pub txctl: TXCTL, pub div: DIV, pub intstat: INTSTAT, }

Register block

Fields

cfg: CFG

0x00 - SPI Configuration register

dly: DLY

0x04 - SPI Delay register

stat: STAT

0x08 - SPI Status. Some status flags can be cleared by writing a 1 to that bit position

intenset: INTENSET

0x0c - SPI Interrupt Enable read and Set. A complete value may be read from this register. Writing a 1 to any implemented bit position causes that bit to be set.

intenclr: INTENCLR

0x10 - SPI Interrupt Enable Clear. Writing a 1 to any implemented bit position causes the corresponding bit in INTENSET to be cleared.

rxdat: RXDAT

0x14 - SPI Receive Data

txdatctl: TXDATCTL

0x18 - SPI Transmit Data with Control

txdat: TXDAT

0x1c - SPI Transmit Data

txctl: TXCTL

0x20 - SPI Transmit Control

div: DIV

0x24 - SPI clock Divider

intstat: INTSTAT

0x28 - SPI Interrupt Status

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self