Struct nrf52::spis0::RegisterBlock [] [src]

#[repr(C)]
pub struct RegisterBlock { pub tasks_acquire: TASKS_ACQUIRE, pub tasks_release: TASKS_RELEASE, pub events_end: EVENTS_END, pub events_endrx: EVENTS_ENDRX, pub events_acquired: EVENTS_ACQUIRED, pub shorts: SHORTS, pub intenset: INTENSET, pub intenclr: INTENCLR, pub semstat: SEMSTAT, pub status: STATUS, pub enable: ENABLE, pub config: CONFIG, pub def: DEF, pub orc: ORC, // some fields omitted }

Register block

Fields

0x24 - Acquire SPI semaphore

0x28 - Release SPI semaphore, enabling the SPI slave to acquire it

0x104 - Granted transaction completed

0x110 - End of RXD buffer reached

0x128 - Semaphore acquired

0x200 - Shortcut register

0x304 - Enable interrupt

0x308 - Disable interrupt

0x400 - Semaphore status register

0x440 - Status from last transaction

0x500 - Enable SPI slave

0x554 - Configuration register

0x55c - Default character. Character clocked out in case of an ignored transaction.

0x5c0 - Over-read character