STM8L15x 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
__IO uint8_t SPI_struct::CR1 |
SPI control register 1
Definition at line 1620 of file stm8l15x.h.
Referenced by SPI_Cmd(), SPI_DeInit(), and SPI_Init().
__IO uint8_t SPI_struct::CR2 |
SPI control register 2
Definition at line 1621 of file stm8l15x.h.
Referenced by SPI_BiDirectionalLineConfig(), SPI_CalculateCRCCmd(), SPI_DeInit(), SPI_Init(), SPI_NSSInternalSoftwareCmd(), and SPI_TransmitCRC().
__IO uint8_t SPI_struct::CR3 |
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().
__IO uint8_t SPI_struct::CRCPR |
SPI CRC polynomial register
Definition at line 1625 of file stm8l15x.h.
Referenced by SPI_DeInit(), SPI_GetCRCPolynomial(), and SPI_Init().
__IO uint8_t SPI_struct::DR |
SPI data I/O register
Definition at line 1624 of file stm8l15x.h.
Referenced by SPI_ReceiveData(), and SPI_SendData().
__IO uint8_t SPI_struct::SR |
SPI status register
Definition at line 1623 of file stm8l15x.h.
Referenced by SPI_ClearFlag(), SPI_ClearITPendingBit(), SPI_DeInit(), SPI_GetFlagStatus(), and SPI_GetITStatus().
The documentation for this struct was generated from the following file: