STM32F4xx HAL Driver master
STM32CubeF4 HAL / LL Drivers API Reference
Loading...
Searching...
No Matches
__SPI_HandleTypeDef Struct Reference

SPI handle Structure definition. More...

#include <stm32f4xx_hal_spi.h>

Collaboration diagram for __SPI_HandleTypeDef:

Public Attributes

SPI_TypeDef * Instance
SPI_InitTypeDef Init
const uint8_t * pTxBuffPtr
uint16_t TxXferSize
volatile uint16_t TxXferCount
uint8_t * pRxBuffPtr
uint16_t RxXferSize
volatile uint16_t RxXferCount
void(* RxISR )(struct __SPI_HandleTypeDef *hspi)
void(* TxISR )(struct __SPI_HandleTypeDef *hspi)
DMA_HandleTypeDefhdmatx
DMA_HandleTypeDefhdmarx
HAL_LockTypeDef Lock
volatile HAL_SPI_StateTypeDef State
volatile uint32_t ErrorCode

Detailed Description

SPI handle Structure definition.

Definition at line 104 of file stm32f4xx_hal_spi.h.

Member Data Documentation

◆ ErrorCode

volatile uint32_t __SPI_HandleTypeDef::ErrorCode

SPI Error code

Definition at line 134 of file stm32f4xx_hal_spi.h.

◆ hdmarx

DMA_HandleTypeDef* __SPI_HandleTypeDef::hdmarx

SPI Rx DMA Handle parameters

Definition at line 128 of file stm32f4xx_hal_spi.h.

◆ hdmatx

DMA_HandleTypeDef* __SPI_HandleTypeDef::hdmatx

SPI Tx DMA Handle parameters

Definition at line 126 of file stm32f4xx_hal_spi.h.

◆ Init

SPI_InitTypeDef __SPI_HandleTypeDef::Init

SPI communication parameters

Definition at line 108 of file stm32f4xx_hal_spi.h.

◆ Instance

SPI_TypeDef* __SPI_HandleTypeDef::Instance

SPI registers base address

Definition at line 106 of file stm32f4xx_hal_spi.h.

◆ Lock

HAL_LockTypeDef __SPI_HandleTypeDef::Lock

Locking object

Definition at line 130 of file stm32f4xx_hal_spi.h.

◆ pRxBuffPtr

uint8_t* __SPI_HandleTypeDef::pRxBuffPtr

Pointer to SPI Rx transfer Buffer

Definition at line 116 of file stm32f4xx_hal_spi.h.

◆ pTxBuffPtr

const uint8_t* __SPI_HandleTypeDef::pTxBuffPtr

Pointer to SPI Tx transfer Buffer

Definition at line 110 of file stm32f4xx_hal_spi.h.

◆ RxISR

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

function pointer on Rx ISR

Definition at line 122 of file stm32f4xx_hal_spi.h.

◆ RxXferCount

volatile uint16_t __SPI_HandleTypeDef::RxXferCount

SPI Rx Transfer Counter

Definition at line 120 of file stm32f4xx_hal_spi.h.

◆ RxXferSize

uint16_t __SPI_HandleTypeDef::RxXferSize

SPI Rx Transfer size

Definition at line 118 of file stm32f4xx_hal_spi.h.

◆ State

volatile HAL_SPI_StateTypeDef __SPI_HandleTypeDef::State

SPI communication state

Definition at line 132 of file stm32f4xx_hal_spi.h.

◆ TxISR

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

function pointer on Tx ISR

Definition at line 124 of file stm32f4xx_hal_spi.h.

◆ TxXferCount

volatile uint16_t __SPI_HandleTypeDef::TxXferCount

SPI Tx Transfer Counter

Definition at line 114 of file stm32f4xx_hal_spi.h.

◆ TxXferSize

uint16_t __SPI_HandleTypeDef::TxXferSize

SPI Tx Transfer size

Definition at line 112 of file stm32f4xx_hal_spi.h.


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