HAL
+
0
/44 examples
SourceVu will show references to
SPI_InitTypeDef::Direction
from the following samples and libraries:
Drivers
Boards
STM32F411E-Discovery
STM32F4xx-Nucleo
STM32F401-Discovery
STM32F429I-Discovery
STM32F4-Discovery
STM32F4xx_Nucleo_144
Examples
STM32469I-Discovery
Examples
SPI
SPI_FullDuplex_AdvComIT
SPI_FullDuplex_AdvComPolling
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
STM32F4-Discovery
Examples
SPI
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
SPI_FullDuplex_AdvComIT
Master
Slave
SPI_FullDuplex_AdvComPolling
Master
Slave
STM32F401-Discovery
Examples
SPI
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
STM32F411E-Discovery
Examples
SPI
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
STM32F411RE-Nucleo
Examples_MIX
SPI
SPI_FullDuplex_ComPolling
SPI_HalfDuplex_ComPollingIT
STM32F412G-Discovery
Examples
SPI
SPI_FullDuplex_AdvComIT
SPI_FullDuplex_AdvComPolling
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
STM32F412ZG-Nucleo
Examples
SPI
SPI_FullDuplex_AdvComIT
SPI_FullDuplex_AdvComPolling
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
STM32F413ZH-Nucleo
Examples
SPI
SPI_FullDuplex_AdvComIT
SPI_FullDuplex_AdvComPolling
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
STM32F429I-Discovery
Examples
SPI
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
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_InitTypeDef::Direction
SPI_InitTypeDef::Direction field
Specifies the SPI bidirectional mode state. This parameter can be a value of SPI_Direction
Syntax
Show:
Summary
Declaration
from
stm32f4xx_hal_spi.h:51
uint32_t
Direction
;
Examples
SPI_InitTypeDef::Direction
is referenced by 44 libraries and example projects:
Drivers
Boards
STM32F411E-Discovery
STM32F4xx-Nucleo
STM32F401-Discovery
STM32F429I-Discovery
STM32F4-Discovery
STM32F4xx_Nucleo_144
Examples
STM32469I-Discovery
Examples
SPI
SPI_FullDuplex_AdvComIT
SPI_FullDuplex_AdvComPolling
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
STM32F4-Discovery
Examples
SPI
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
SPI_FullDuplex_AdvComIT
Master
Slave
SPI_FullDuplex_AdvComPolling
Master
Slave
STM32F401-Discovery
Examples
SPI
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
STM32F411E-Discovery
Examples
SPI
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
STM32F411RE-Nucleo
Examples_MIX
SPI
SPI_FullDuplex_ComPolling
SPI_HalfDuplex_ComPollingIT
STM32F412G-Discovery
Examples
SPI
SPI_FullDuplex_AdvComIT
SPI_FullDuplex_AdvComPolling
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
STM32F412ZG-Nucleo
Examples
SPI
SPI_FullDuplex_AdvComIT
SPI_FullDuplex_AdvComPolling
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
STM32F413ZH-Nucleo
Examples
SPI
SPI_FullDuplex_AdvComIT
SPI_FullDuplex_AdvComPolling
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
STM32F429I-Discovery
Examples
SPI
SPI_FullDuplex_ComDMA
SPI_FullDuplex_ComIT
SPI_FullDuplex_ComPolling
References
from
0/44
examples
Code
Location
Referrer
uint32_t
Direction
;
/*!< Specifies the SPI bidirectional mode state.
stm32f4xx_hal_spi.h:51
assert_param
(
IS_SPI_DIRECTION
(
hspi
->
Init
.
Direction
)
)
;
stm32f4xx_hal_spi.c:322
HAL_SPI_Init()
(
hspi
->
Init
.
Direction
&
(
SPI_CR1_RXONLY
|
SPI_CR1_BIDIMODE
)
)
|
stm32f4xx_hal_spi.c:399
HAL_SPI_Init()
assert_param
(
IS_SPI_DIRECTION_2LINES_OR_1LINE
(
hspi
->
Init
.
Direction
)
)
;
stm32f4xx_hal_spi.c:776
HAL_SPI_Transmit()
if
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_1LINE
)
stm32f4xx_hal_spi.c:812
HAL_SPI_Transmit()
if
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES
)
stm32f4xx_hal_spi.c:910
HAL_SPI_Transmit()
if
(
(
hspi
->
Init
.
Mode
==
SPI_MODE_MASTER
)
&&
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES
)
)
stm32f4xx_hal_spi.c:953
HAL_SPI_Receive()
if
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_1LINE
)
stm32f4xx_hal_spi.c:997
HAL_SPI_Receive()
assert_param
(
IS_SPI_DIRECTION_2LINES
(
hspi
->
Init
.
Direction
)
)
;
stm32f4xx_hal_spi.c:1158
HAL_SPI_TransmitReceive()
(
(
tmp_mode
==
SPI_MODE_MASTER
)
&&
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES
)
&&
(
tmp_state
==
HAL_SPI_STATE_BUSY_RX
)
)
)
)
stm32f4xx_hal_spi.c:1172
HAL_SPI_TransmitReceive()
if
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES
)
stm32f4xx_hal_spi.c:1366
HAL_SPI_TransmitReceive()
assert_param
(
IS_SPI_DIRECTION_2LINES_OR_1LINE
(
hspi
->
Init
.
Direction
)
)
;
stm32f4xx_hal_spi.c:1398
HAL_SPI_Transmit_IT()
if
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_1LINE
)
stm32f4xx_hal_spi.c:1440
HAL_SPI_Transmit_IT()
if
(
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES
)
&&
(
hspi
->
Init
.
Mode
==
SPI_MODE_MASTER
)
)
stm32f4xx_hal_spi.c:1490
HAL_SPI_Receive_IT()
if
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_1LINE
)
stm32f4xx_hal_spi.c:1531
HAL_SPI_Receive_IT()
assert_param
(
IS_SPI_DIRECTION_2LINES
(
hspi
->
Init
.
Direction
)
)
;
stm32f4xx_hal_spi.c:1582
HAL_SPI_TransmitReceive_IT()
(
(
tmp_mode
==
SPI_MODE_MASTER
)
&&
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES
)
&&
(
tmp_state
==
HAL_SPI_STATE_BUSY_RX
)
)
)
)
stm32f4xx_hal_spi.c:1589
HAL_SPI_TransmitReceive_IT()
assert_param
(
IS_SPI_DIRECTION_2LINES_OR_1LINE
(
hspi
->
Init
.
Direction
)
)
;
stm32f4xx_hal_spi.c:1672
HAL_SPI_Transmit_DMA()
if
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_1LINE
)
stm32f4xx_hal_spi.c:1704
HAL_SPI_Transmit_DMA()
if
(
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES
)
&&
(
hspi
->
Init
.
Mode
==
SPI_MODE_MASTER
)
)
stm32f4xx_hal_spi.c:1784
HAL_SPI_Receive_DMA()
if
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_1LINE
)
stm32f4xx_hal_spi.c:1818
HAL_SPI_Receive_DMA()
assert_param
(
IS_SPI_DIRECTION_2LINES
(
hspi
->
Init
.
Direction
)
)
;
stm32f4xx_hal_spi.c:1897
HAL_SPI_TransmitReceive_DMA()
(
(
tmp_mode
==
SPI_MODE_MASTER
)
&&
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES
)
&&
(
tmp_state
==
HAL_SPI_STATE_BUSY_RX
)
)
)
)
stm32f4xx_hal_spi.c:1907
HAL_SPI_TransmitReceive_DMA()
if
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES
)
stm32f4xx_hal_spi.c:2732
SPI_DMATransmitCplt()
if
(
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES
)
&&
(
hspi
->
Init
.
Mode
==
SPI_MODE_MASTER
)
)
stm32f4xx_hal_spi.c:2800
SPI_DMAReceiveCplt()
if
(
(
hspi
->
Init
.
Mode
==
SPI_MODE_MASTER
)
&&
(
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_1LINE
)
stm32f4xx_hal_spi.c:3543
SPI_WaitFlagStateUntilTimeout()
||
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES_RXONLY
)
)
)
stm32f4xx_hal_spi.c:3544
SPI_WaitFlagStateUntilTimeout()
if
(
(
hspi
->
Init
.
Mode
==
SPI_MODE_MASTER
)
&&
(
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_1LINE
)
stm32f4xx_hal_spi.c:3585
SPI_EndRxTransaction()
||
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES_RXONLY
)
)
)
stm32f4xx_hal_spi.c:3586
SPI_EndRxTransaction()
if
(
hspi
->
Init
.
Direction
!=
SPI_DIRECTION_2LINES_RXONLY
)
stm32f4xx_hal_spi.c:3595
SPI_EndRxTransaction()
if
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES
)
stm32f4xx_hal_spi.c:3709
SPI_CloseRxTx_ISR()
if
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES
)
stm32f4xx_hal_spi.c:3787
SPI_CloseRx_ISR()
if
(
hspi
->
Init
.
Direction
==
SPI_DIRECTION_2LINES
)
stm32f4xx_hal_spi.c:3867
SPI_CloseTx_ISR()
Call Tree
from
0/44
examples
All items filtered out
All items filtered out
Data Use
from
0/44
examples
SPI_InitTypeDef::Direction
is read by 17 functions:
All items filtered out
SPI_InitTypeDef::Direction
HAL_SPI_Init()
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()
SPI_DMATransmitCplt()
SPI_DMAReceiveCplt()
SPI_WaitFlagStateUntilTimeout()
SPI_EndRxTransaction()
SPI_CloseRxTx_ISR()
SPI_CloseRx_ISR()
SPI_CloseTx_ISR()
All items filtered out
Class Tree
from
0/44
examples
All items filtered out
All items filtered out
Override Tree
from
0/44
examples
All items filtered out
All items filtered out
Implementations
from
0/44
examples
All items filtered out
All items filtered out
Instances
from
0/44
examples
Lifecycle
from
0/44
examples
All items filtered out
All items filtered out