Struct lpc82x::spi0::RegisterBlock [] [src]

#[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

0x00 - SPI Configuration register

0x04 - SPI Delay register

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

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.

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

0x14 - SPI Receive Data

0x18 - SPI Transmit Data with Control

0x1c - SPI Transmit Data

0x20 - SPI Transmit Control

0x24 - SPI clock Divider

0x28 - SPI Interrupt Status

Trait Implementations

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock