HAL
__SPI_HandleTypeDef::ErrorCode
is only used within HAL.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
HAL
__SPI_HandleTypeDef::ErrorCode
__SPI_HandleTypeDef::ErrorCode field
SPI Error code
Syntax
Show:
Summary
Declaration
from
stm32f4xx_hal_spi.h:134
__IO
uint32_t
ErrorCode
;
Examples
References
from
examples
Code
Location
Referrer
__IO
uint32_t
ErrorCode
;
/*!< SPI Error code */
stm32f4xx_hal_spi.h:134
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:425
HAL_SPI_Init()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:466
HAL_SPI_DeInit()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:799
HAL_SPI_Transmit()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_FLAG
;
stm32f4xx_hal_spi.c:906
HAL_SPI_Transmit()
if
(
hspi
->
ErrorCode
!=
HAL_SPI_ERROR_NONE
)
stm32f4xx_hal_spi.c:915
HAL_SPI_Transmit()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:974
HAL_SPI_Receive()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_CRC
)
;
stm32f4xx_hal_spi.c:1091
HAL_SPI_Receive()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_FLAG
;
stm32f4xx_hal_spi.c:1106
HAL_SPI_Receive()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_CRC
)
;
stm32f4xx_hal_spi.c:1113
HAL_SPI_Receive()
if
(
hspi
->
ErrorCode
!=
HAL_SPI_ERROR_NONE
)
stm32f4xx_hal_spi.c:1118
HAL_SPI_Receive()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:1191
HAL_SPI_TransmitReceive()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_CRC
)
;
stm32f4xx_hal_spi.c:1336
HAL_SPI_TransmitReceive()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_CRC
)
;
stm32f4xx_hal_spi.c:1349
HAL_SPI_TransmitReceive()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_FLAG
;
stm32f4xx_hal_spi.c:1361
HAL_SPI_TransmitReceive()
if
(
hspi
->
ErrorCode
!=
HAL_SPI_ERROR_NONE
)
stm32f4xx_hal_spi.c:1371
HAL_SPI_TransmitReceive()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:1418
HAL_SPI_Transmit_IT()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:1509
HAL_SPI_Receive_IT()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:1611
HAL_SPI_TransmitReceive_IT()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:1691
HAL_SPI_Transmit_DMA()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_DMA
)
;
stm32f4xx_hal_spi.c:1736
HAL_SPI_Transmit_DMA()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:1806
HAL_SPI_Receive_DMA()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_DMA
)
;
stm32f4xx_hal_spi.c:1850
HAL_SPI_Receive_DMA()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:1926
HAL_SPI_TransmitReceive_DMA()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_DMA
)
;
stm32f4xx_hal_spi.c:1971
HAL_SPI_TransmitReceive_DMA()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_DMA
)
;
stm32f4xx_hal_spi.c:1992
HAL_SPI_TransmitReceive_DMA()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_ABORT
)
;
stm32f4xx_hal_spi.c:2052
HAL_SPI_Abort()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_ABORT
)
;
stm32f4xx_hal_spi.c:2069
HAL_SPI_Abort()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_ABORT
;
stm32f4xx_hal_spi.c:2091
HAL_SPI_Abort()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_ABORT
)
;
stm32f4xx_hal_spi.c:2102
HAL_SPI_Abort()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_ABORT
;
stm32f4xx_hal_spi.c:2123
HAL_SPI_Abort()
if
(
hspi
->
ErrorCode
==
HAL_SPI_ERROR_ABORT
)
stm32f4xx_hal_spi.c:2138
HAL_SPI_Abort()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:2146
HAL_SPI_Abort()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_ABORT
)
;
stm32f4xx_hal_spi.c:2199
HAL_SPI_Abort_IT()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_ABORT
)
;
stm32f4xx_hal_spi.c:2216
HAL_SPI_Abort_IT()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_ABORT
;
stm32f4xx_hal_spi.c:2266
HAL_SPI_Abort_IT()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_ABORT
;
stm32f4xx_hal_spi.c:2284
HAL_SPI_Abort_IT()
if
(
hspi
->
ErrorCode
==
HAL_SPI_ERROR_ABORT
)
stm32f4xx_hal_spi.c:2300
HAL_SPI_Abort_IT()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:2308
HAL_SPI_Abort_IT()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_DMA
)
;
stm32f4xx_hal_spi.c:2389
HAL_SPI_DMAStop()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_DMA
)
;
stm32f4xx_hal_spi.c:2398
HAL_SPI_DMAStop()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_OVR
)
;
stm32f4xx_hal_spi.c:2444
HAL_SPI_IRQHandler()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_MODF
)
;
stm32f4xx_hal_spi.c:2457
HAL_SPI_IRQHandler()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_FRE
)
;
stm32f4xx_hal_spi.c:2464
HAL_SPI_IRQHandler()
if
(
hspi
->
ErrorCode
!=
HAL_SPI_ERROR_NONE
)
stm32f4xx_hal_spi.c:2468
HAL_SPI_IRQHandler()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_ABORT
)
;
stm32f4xx_hal_spi.c:2487
HAL_SPI_IRQHandler()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_ABORT
)
;
stm32f4xx_hal_spi.c:2498
HAL_SPI_IRQHandler()
return
hspi
->
ErrorCode
;
stm32f4xx_hal_spi.c:2686
HAL_SPI_GetError()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_FLAG
)
;
stm32f4xx_hal_spi.c:2728
SPI_DMATransmitCplt()
if
(
hspi
->
ErrorCode
!=
HAL_SPI_ERROR_NONE
)
stm32f4xx_hal_spi.c:2740
SPI_DMATransmitCplt()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_CRC
)
;
stm32f4xx_hal_spi.c:2790
SPI_DMAReceiveCplt()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_FLAG
;
stm32f4xx_hal_spi.c:2814
SPI_DMAReceiveCplt()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_CRC
)
;
stm32f4xx_hal_spi.c:2824
SPI_DMAReceiveCplt()
if
(
hspi
->
ErrorCode
!=
HAL_SPI_ERROR_NONE
)
stm32f4xx_hal_spi.c:2829
SPI_DMAReceiveCplt()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_CRC
)
;
stm32f4xx_hal_spi.c:2878
SPI_DMATransmitReceiveCplt()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_FLAG
)
;
stm32f4xx_hal_spi.c:2890
SPI_DMATransmitReceiveCplt()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_CRC
)
;
stm32f4xx_hal_spi.c:2904
SPI_DMATransmitReceiveCplt()
if
(
hspi
->
ErrorCode
!=
HAL_SPI_ERROR_NONE
)
stm32f4xx_hal_spi.c:2909
SPI_DMATransmitReceiveCplt()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_DMA
)
;
stm32f4xx_hal_spi.c:2995
SPI_DMAError()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_ABORT
)
;
stm32f4xx_hal_spi.c:3049
SPI_DMATxAbortCallback()
if
(
hspi
->
ErrorCode
!=
HAL_SPI_ERROR_ABORT
)
stm32f4xx_hal_spi.c:3069
SPI_DMATxAbortCallback()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:3072
SPI_DMATxAbortCallback()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_ABORT
)
;
stm32f4xx_hal_spi.c:3113
SPI_DMARxAbortCallback()
if
(
hspi
->
ErrorCode
!=
HAL_SPI_ERROR_ABORT
)
stm32f4xx_hal_spi.c:3130
SPI_DMARxAbortCallback()
hspi
->
ErrorCode
=
HAL_SPI_ERROR_NONE
;
stm32f4xx_hal_spi.c:3133
SPI_DMARxAbortCallback()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_FLAG
)
;
stm32f4xx_hal_spi.c:3600
SPI_EndRxTransaction()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_FLAG
)
;
stm32f4xx_hal_spi.c:3609
SPI_EndRxTransaction()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_FLAG
)
;
stm32f4xx_hal_spi.c:3619
SPI_EndRxTransaction()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_FLAG
)
;
stm32f4xx_hal_spi.c:3638
SPI_EndRxTxTransaction()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_FLAG
)
;
stm32f4xx_hal_spi.c:3650
SPI_EndRxTxTransaction()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_FLAG
)
;
stm32f4xx_hal_spi.c:3696
SPI_CloseRxTx_ISR()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_FLAG
)
;
stm32f4xx_hal_spi.c:3705
SPI_CloseRxTx_ISR()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_CRC
)
;
stm32f4xx_hal_spi.c:3719
SPI_CloseRxTx_ISR()
if
(
hspi
->
ErrorCode
==
HAL_SPI_ERROR_NONE
)
stm32f4xx_hal_spi.c:3731
SPI_CloseRxTx_ISR()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_FLAG
)
;
stm32f4xx_hal_spi.c:3783
SPI_CloseRx_ISR()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_CRC
)
;
stm32f4xx_hal_spi.c:3797
SPI_CloseRx_ISR()
if
(
hspi
->
ErrorCode
==
HAL_SPI_ERROR_NONE
)
stm32f4xx_hal_spi.c:3809
SPI_CloseRx_ISR()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_FLAG
)
;
stm32f4xx_hal_spi.c:3851
SPI_CloseTx_ISR()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_FLAG
)
;
stm32f4xx_hal_spi.c:3863
SPI_CloseTx_ISR()
if
(
hspi
->
ErrorCode
!=
HAL_SPI_ERROR_NONE
)
stm32f4xx_hal_spi.c:3873
SPI_CloseTx_ISR()
SET_BIT
(
hspi
->
ErrorCode
,
HAL_SPI_ERROR_ABORT
)
;
stm32f4xx_hal_spi.c:3909
SPI_AbortRx_ISR()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
__SPI_HandleTypeDef::ErrorCode
is written by 16 functions and is read by 23 functions:
HAL_SPI_Init()
HAL_SPI_DeInit()
HAL_SPI_Transmit()
HAL_SPI_Receive()
HAL_SPI_TransmitReceive()
HAL_SPI_Transmit_IT()
HAL_SPI_Receive_IT()
HAL_SPI_TransmitReceive_IT()
HAL_SPI_Transmit_DMA()
HAL_SPI_Receive_DMA()
HAL_SPI_TransmitReceive_DMA()
HAL_SPI_Abort()
HAL_SPI_Abort_IT()
SPI_DMAReceiveCplt()
SPI_DMATxAbortCallback()
SPI_DMARxAbortCallback()
All items filtered out
__SPI_HandleTypeDef::ErrorCode
HAL_SPI_Transmit()
HAL_SPI_Receive()
HAL_SPI_TransmitReceive()
HAL_SPI_Transmit_DMA()
HAL_SPI_Receive_DMA()
HAL_SPI_TransmitReceive_DMA()
HAL_SPI_Abort()
HAL_SPI_Abort_IT()
HAL_SPI_DMAStop()
HAL_SPI_IRQHandler()
HAL_SPI_GetError()
SPI_DMATransmitCplt()
SPI_DMAReceiveCplt()
SPI_DMATransmitReceiveCplt()
SPI_DMAError()
SPI_DMATxAbortCallback()
SPI_DMARxAbortCallback()
SPI_EndRxTransaction()
SPI_EndRxTxTransaction()
SPI_CloseRxTx_ISR()
SPI_CloseRx_ISR()
SPI_CloseTx_ISR()
SPI_AbortRx_ISR()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out