STM8L15x Standard Peripherals Drivers: SPI_struct Struct Reference

STM8L15x/16x Standard Peripherals Drivers

SPI_struct Struct Reference

Serial Peripheral Interface (SPI) More...

#include <stm8l15x.h>

Data Fields

__IO uint8_t CR1
__IO uint8_t CR2
__IO uint8_t CR3
__IO uint8_t CRCPR
__IO uint8_t DR
__IO uint8_t RXCRCR
__IO uint8_t SR
__IO uint8_t TXCRCR

Detailed Description

Serial Peripheral Interface (SPI)

Definition at line 1618 of file stm8l15x.h.


Field Documentation

SPI control register 1

Definition at line 1620 of file stm8l15x.h.

Referenced by SPI_Cmd(), SPI_DeInit(), and SPI_Init().

SPI DMA and interrupt control register

Definition at line 1622 of file stm8l15x.h.

Referenced by SPI_DeInit(), SPI_DMACmd(), SPI_GetITStatus(), and SPI_ITConfig().

SPI CRC polynomial register

Definition at line 1625 of file stm8l15x.h.

Referenced by SPI_DeInit(), SPI_GetCRCPolynomial(), and SPI_Init().

SPI data I/O register

Definition at line 1624 of file stm8l15x.h.

Referenced by SPI_ReceiveData(), and SPI_SendData().

SPI Rx CRC register

Definition at line 1626 of file stm8l15x.h.

Referenced by SPI_GetCRC().

SPI status register

Definition at line 1623 of file stm8l15x.h.

Referenced by SPI_ClearFlag(), SPI_ClearITPendingBit(), SPI_DeInit(), SPI_GetFlagStatus(), and SPI_GetITStatus().

SPI Tx CRC register

Definition at line 1627 of file stm8l15x.h.

Referenced by SPI_GetCRC().


The documentation for this struct was generated from the following file:
STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com