Struct stm32f40x::spi1::RegisterBlock
[−]
[src]
#[repr(C)]pub struct RegisterBlock { pub cr1: Cr1, pub cr2: Cr2, pub sr: Sr, pub dr: Dr, pub crcpr: Crcpr, pub rxcrcr: Rxcrcr, pub txcrcr: Txcrcr, pub i2scfgr: I2scfgr, pub i2spr: I2spr, }
Register block
Fields
cr1: Cr1
0x00 - control register 1
cr2: Cr2
0x04 - control register 2
sr: Sr
0x08 - status register
dr: Dr
0x0c - data register
crcpr: Crcpr
0x10 - CRC polynomial register
rxcrcr: Rxcrcr
0x14 - RX CRC register
txcrcr: Txcrcr
0x18 - TX CRC register
i2scfgr: I2scfgr
0x1c - I2S configuration register
i2spr: I2spr
0x20 - I2S prescaler register