Struct nrf52811_pac::spi0::RegisterBlock[][src]

#[repr(C)]
pub struct RegisterBlock { pub events_ready: Reg<EVENTS_READY_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub enable: Reg<ENABLE_SPEC>, pub psel: PSEL, pub rxd: Reg<RXD_SPEC>, pub txd: Reg<TXD_SPEC>, pub frequency: Reg<FREQUENCY_SPEC>, pub config: Reg<CONFIG_SPEC>, // some fields omitted }
Expand description

Register block

Fields

events_ready: Reg<EVENTS_READY_SPEC>

0x108 - TXD byte sent and RXD byte received

intenset: Reg<INTENSET_SPEC>

0x304 - Enable interrupt

intenclr: Reg<INTENCLR_SPEC>

0x308 - Disable interrupt

enable: Reg<ENABLE_SPEC>

0x500 - Enable SPI

psel: PSEL

0x508..0x514 - Unspecified

rxd: Reg<RXD_SPEC>

0x518 - RXD register

txd: Reg<TXD_SPEC>

0x51c - TXD register

frequency: Reg<FREQUENCY_SPEC>

0x524 - SPI frequency. Accuracy depends on the HFCLK source selected.

config: Reg<CONFIG_SPEC>

0x554 - Configuration register

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.