STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
__SPI_HandleTypeDef Struct Reference

SPI handle Structure definition. More...

#include <stm32h7xx_hal_spi.h>

Collaboration diagram for __SPI_HandleTypeDef:
[legend]

Public Attributes

SPI_TypeDef * Instance
 SPI registers base address.
SPI_InitTypeDef Init
 SPI communication parameters.
const uint8_t * pTxBuffPtr
 Pointer to SPI Tx transfer Buffer.
uint16_t TxXferSize
 SPI Tx Transfer size.
__IO uint16_t TxXferCount
 SPI Tx Transfer Counter.
uint8_t * pRxBuffPtr
 Pointer to SPI Rx transfer Buffer.
uint16_t RxXferSize
 SPI Rx Transfer size.
__IO uint16_t RxXferCount
 SPI Rx Transfer Counter.
uint32_t CRCSize
 SPI CRC size used for the transfer.
void(* RxISR )(struct __SPI_HandleTypeDef *hspi)
 function pointer on Rx ISR
void(* TxISR )(struct __SPI_HandleTypeDef *hspi)
 function pointer on Tx ISR
DMA_HandleTypeDef * hdmatx
 SPI Tx DMA Handle parameters.
DMA_HandleTypeDef * hdmarx
 SPI Rx DMA Handle parameters.
HAL_LockTypeDef Lock
 Locking object.
__IO HAL_SPI_StateTypeDef State
 SPI communication state.
__IO uint32_t ErrorCode
 SPI Error code.

Detailed Description

SPI handle Structure definition.

Definition at line 169 of file stm32h7xx_hal_spi.h.

Member Data Documentation

◆ CRCSize

uint32_t __SPI_HandleTypeDef::CRCSize

SPI CRC size used for the transfer.

Definition at line 187 of file stm32h7xx_hal_spi.h.

◆ ErrorCode

__IO uint32_t __SPI_HandleTypeDef::ErrorCode

SPI Error code.

Definition at line 201 of file stm32h7xx_hal_spi.h.

◆ hdmarx

DMA_HandleTypeDef* __SPI_HandleTypeDef::hdmarx

SPI Rx DMA Handle parameters.

Definition at line 195 of file stm32h7xx_hal_spi.h.

◆ hdmatx

DMA_HandleTypeDef* __SPI_HandleTypeDef::hdmatx

SPI Tx DMA Handle parameters.

Definition at line 193 of file stm32h7xx_hal_spi.h.

◆ Init

SPI_InitTypeDef __SPI_HandleTypeDef::Init

SPI communication parameters.

Definition at line 173 of file stm32h7xx_hal_spi.h.

◆ Instance

SPI_TypeDef* __SPI_HandleTypeDef::Instance

SPI registers base address.

Definition at line 171 of file stm32h7xx_hal_spi.h.

Referenced by HAL_SPI_MspDeInit(), and HAL_SPI_MspInit().

◆ Lock

HAL_LockTypeDef __SPI_HandleTypeDef::Lock

Locking object.

Definition at line 197 of file stm32h7xx_hal_spi.h.

◆ pRxBuffPtr

uint8_t* __SPI_HandleTypeDef::pRxBuffPtr

Pointer to SPI Rx transfer Buffer.

Definition at line 181 of file stm32h7xx_hal_spi.h.

◆ pTxBuffPtr

const uint8_t* __SPI_HandleTypeDef::pTxBuffPtr

Pointer to SPI Tx transfer Buffer.

Definition at line 175 of file stm32h7xx_hal_spi.h.

◆ RxISR

void(* __SPI_HandleTypeDef::RxISR) (struct __SPI_HandleTypeDef *hspi)

function pointer on Rx ISR

Definition at line 189 of file stm32h7xx_hal_spi.h.

◆ RxXferCount

__IO uint16_t __SPI_HandleTypeDef::RxXferCount

SPI Rx Transfer Counter.

Definition at line 185 of file stm32h7xx_hal_spi.h.

◆ RxXferSize

uint16_t __SPI_HandleTypeDef::RxXferSize

SPI Rx Transfer size.

Definition at line 183 of file stm32h7xx_hal_spi.h.

◆ State

__IO HAL_SPI_StateTypeDef __SPI_HandleTypeDef::State

SPI communication state.

Definition at line 199 of file stm32h7xx_hal_spi.h.

◆ TxISR

void(* __SPI_HandleTypeDef::TxISR) (struct __SPI_HandleTypeDef *hspi)

function pointer on Tx ISR

Definition at line 191 of file stm32h7xx_hal_spi.h.

◆ TxXferCount

__IO uint16_t __SPI_HandleTypeDef::TxXferCount

SPI Tx Transfer Counter.

Definition at line 179 of file stm32h7xx_hal_spi.h.

◆ TxXferSize

uint16_t __SPI_HandleTypeDef::TxXferSize

SPI Tx Transfer size.

Definition at line 177 of file stm32h7xx_hal_spi.h.


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