Struct stm32l4x6::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, }
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