Struct nrf52833_hal::pac::spis0::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock {Show 17 fields
pub tasks_acquire: Reg<TASKS_ACQUIRE_SPEC>,
pub tasks_release: Reg<TASKS_RELEASE_SPEC>,
pub events_end: Reg<EVENTS_END_SPEC>,
pub events_endrx: Reg<EVENTS_ENDRX_SPEC>,
pub events_acquired: Reg<EVENTS_ACQUIRED_SPEC>,
pub shorts: Reg<SHORTS_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub semstat: Reg<SEMSTAT_SPEC>,
pub status: Reg<STATUS_SPEC>,
pub enable: Reg<ENABLE_SPEC>,
pub psel: PSEL,
pub rxd: RXD,
pub txd: TXD,
pub config: Reg<CONFIG_SPEC>,
pub def: Reg<DEF_SPEC>,
pub orc: Reg<ORC_SPEC>,
// some fields omitted
}
Expand description
Register block
Fields
tasks_acquire: Reg<TASKS_ACQUIRE_SPEC>
0x24 - Acquire SPI semaphore
tasks_release: Reg<TASKS_RELEASE_SPEC>
0x28 - Release SPI semaphore, enabling the SPI slave to acquire it
events_end: Reg<EVENTS_END_SPEC>
0x104 - Granted transaction completed
events_endrx: Reg<EVENTS_ENDRX_SPEC>
0x110 - End of RXD buffer reached
events_acquired: Reg<EVENTS_ACQUIRED_SPEC>
0x128 - Semaphore acquired
shorts: Reg<SHORTS_SPEC>
0x200 - Shortcuts between local events and tasks
intenset: Reg<INTENSET_SPEC>
0x304 - Enable interrupt
intenclr: Reg<INTENCLR_SPEC>
0x308 - Disable interrupt
semstat: Reg<SEMSTAT_SPEC>
0x400 - Semaphore status register
status: Reg<STATUS_SPEC>
0x440 - Status from last transaction
enable: Reg<ENABLE_SPEC>
0x500 - Enable SPI slave
psel: PSEL
0x508..0x518 - Unspecified
rxd: RXD
0x534..0x544 - Unspecified
txd: TXD
0x544..0x554 - Unspecified
config: Reg<CONFIG_SPEC>
0x554 - Configuration register
def: Reg<DEF_SPEC>
0x55c - Default character. Character clocked out in case of an ignored transaction.
orc: Reg<ORC_SPEC>
0x5c0 - Over-read character
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.
Performs the conversion.
Performs the conversion.
Casts the value.
Casts the value.
Casts the value.
Casts the value.