Struct nrf52832_hal::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
config: Reg<CONFIG_SPEC>
0x554 - Configuration register
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Performs the conversion.
Performs the conversion.
Casts the value.
OverflowingCasts the value.
Casts the value.
Casts the value.
Casts the value.
UnwrappedCasts the value.
Casts the value.
WrappingCasts the value.