MG32F157 Standard Peripherals Firmware Library
Data Fields
SPI_TypeDef Struct Reference

Data Fields

__IO uint16_t CR1
 
uint16_t RESERVED0
 
__IO uint16_t CR2
 
uint16_t RESERVED1
 
__IO uint16_t SR
 
uint16_t RESERVED2
 
__IO uint16_t DR
 
uint16_t RESERVED3
 
__IO uint16_t CRCPR
 
uint16_t RESERVED4
 
__IO uint16_t RXCRCR
 
uint16_t RESERVED5
 
__IO uint16_t TXCRCR
 
uint16_t RESERVED6
 
__IO uint16_t I2SCFGR
 
uint16_t RESERVED7
 
__IO uint16_t I2SPR
 
uint16_t RESERVED8
 

Field Documentation

◆ CR1

__IO uint16_t CR1

SPI control register 1, Address offset: 0x000

◆ CR2

__IO uint16_t CR2

SPI control register 2, Address offset: 0x004

◆ CRCPR

__IO uint16_t CRCPR

SPI CRC polynomial register, Address offset: 0x010

◆ DR

__IO uint16_t DR

SPI data register, Address offset: 0x00C

◆ I2SCFGR

__IO uint16_t I2SCFGR

SPI_I2S configuration register, Address offset: 0x01C

◆ I2SPR

__IO uint16_t I2SPR

SPI_I2S prescaler register , Address offset: 0x020

◆ RESERVED0

uint16_t RESERVED0

Reserved

◆ RESERVED1

uint16_t RESERVED1

Reserved

◆ RESERVED2

uint16_t RESERVED2

Reserved

◆ RESERVED3

uint16_t RESERVED3

Reserved

◆ RESERVED4

uint16_t RESERVED4

Reserved

◆ RESERVED5

uint16_t RESERVED5

Reserved

◆ RESERVED6

uint16_t RESERVED6

Reserved

◆ RESERVED7

uint16_t RESERVED7

Reserved

◆ RESERVED8

uint16_t RESERVED8

Reserved

◆ RXCRCR

__IO uint16_t RXCRCR

SPI RX CRC register, Address offset: 0x014

◆ SR

__IO uint16_t SR

SPI status register, Address offset: 0x008

◆ TXCRCR

__IO uint16_t TXCRCR

SPI TX CRC register, Address offset: 0x018


The documentation for this struct was generated from the following file: