Nut/OS  5.0.5
API Reference
SPI_TypeDef Struct Reference

Serial Peripheral Interface. More...

#include <stm32f10x.h>

Collaboration diagram for SPI_TypeDef:
[legend]

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

Detailed Description

Serial Peripheral Interface.


Field Documentation

SPI control register 1 (not used in I2S mode), Address offset: 0x00

SPI control register 2, Address offset: 0x04

SPI status register, Address offset: 0x08

SPI data register, Address offset: 0x0C

SPI CRC polynomial register (not used in I2S mode), Address offset: 0x10

SPI RX CRC register (not used in I2S mode), Address offset: 0x14

SPI TX CRC register (not used in I2S mode), Address offset: 0x18

SPI_I2S configuration register, Address offset: 0x1C

SPI_I2S prescaler register, Address offset: 0x20


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