Struct nrf51::spi0::RegisterBlock [] [src]

#[repr(C)]
pub struct RegisterBlock { pub events_ready: EVENTS_READY, pub intenset: INTENSET, pub intenclr: INTENCLR, pub enable: ENABLE, pub pselsck: PSELSCK, pub pselmosi: PSELMOSI, pub pselmiso: PSELMISO, pub rxd: RXD, pub txd: TXD, pub frequency: FREQUENCY, pub config: CONFIG, pub power: POWER, // some fields omitted }

Register block

Fields

0x108 - TXD byte sent and RXD byte received.

0x304 - Interrupt enable set register.

0x308 - Interrupt enable clear register.

0x500 - Enable SPI.

0x508 - Pin select for SCK.

0x50c - Pin select for MOSI.

0x510 - Pin select for MISO.

0x518 - RX data.

0x51c - TX data.

0x524 - SPI frequency

0x554 - Configuration register.

0xffc - Peripheral power control.

Trait Implementations

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock