Struct mkw41z::spi0::RegisterBlock
[−]
[src]
#[repr(C)]pub struct RegisterBlock { pub mcr: MCR, pub tcr: TCR, pub ctar: [CTAR; 2], pub sr: SR, pub rser: RSER, pub pushr: PUSHR, pub popr: POPR, pub txfr: [TXFR; 4], pub rxfr: [RXFR; 4], // some fields omitted }
Register block
Fields
mcr: MCR
0x00 - Module Configuration Register
tcr: TCR
0x08 - Transfer Count Register
ctar: [CTAR; 2]
0x0c - Clock and Transfer Attributes Register (In Master Mode)
sr: SR
0x2c - Status Register
rser: RSER
0x30 - DMA/Interrupt Request Select and Enable Register
pushr: PUSHR
0x34 - PUSH TX FIFO Register In Master Mode
popr: POPR
0x38 - POP RX FIFO Register
txfr: [TXFR; 4]
0x3c - Transmit FIFO Registers
rxfr: [RXFR; 4]
0x7c - Receive FIFO Registers