[][src]Struct lpc176x_5x::spi::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub cr: CR, pub sr: SR, pub dr: DR, pub ccr: CCR, pub int: INT, // some fields omitted }

Register block

Fields

cr: CR

0x00 - SPI Control Register. This register controls the operation of the SPI.

sr: SR

0x04 - SPI Status Register. This register shows the status of the SPI.

dr: DR

0x08 - SPI Data Register. This bi-directional register provides the transmit and receive data for the SPI. Transmit data is provided to the SPI0 by writing to this register. Data received by the SPI0 can be read from this register.

ccr: CCR

0x0c - SPI Clock Counter Register. This register controls the frequency of a master's SCK0.

int: INT

0x1c - SPI Interrupt Flag. This register contains the interrupt flag for the SPI interface.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

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

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

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