STM32F401-Discovery
SpiHandle
is only used within STM32F401-Discovery.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
STM32F401-Discovery
SpiHandle
SpiHandle variable
Syntax
from
stm32f401_discovery.c:91
static
SPI_HandleTypeDef
SpiHandle
;
References
Location
Referrer
Text
stm32f401_discovery.c:91
static
SPI_HandleTypeDef
SpiHandle
;
stm32f401_discovery.c:394
SPIx_Init()
if
(
HAL_SPI_GetState
(
&
SpiHandle
)
==
HAL_SPI_STATE_RESET
)
stm32f401_discovery.c:397
SPIx_Init()
SpiHandle
.
Instance
=
DISCOVERY_SPIx
;
stm32f401_discovery.c:404
SPIx_Init()
SpiHandle
.
Init
.
BaudRatePrescaler
=
SPI_BAUDRATEPRESCALER_8
;
stm32f401_discovery.c:405
SPIx_Init()
SpiHandle
.
Init
.
Direction
=
SPI_DIRECTION_2LINES
;
stm32f401_discovery.c:406
SPIx_Init()
SpiHandle
.
Init
.
CLKPhase
=
SPI_PHASE_1EDGE
;
stm32f401_discovery.c:407
SPIx_Init()
SpiHandle
.
Init
.
CLKPolarity
=
SPI_POLARITY_LOW
;
stm32f401_discovery.c:408
SPIx_Init()
SpiHandle
.
Init
.
CRCCalculation
=
SPI_CRCCALCULATION_DISABLED
;
stm32f401_discovery.c:409
SPIx_Init()
SpiHandle
.
Init
.
CRCPolynomial
=
7
;
stm32f401_discovery.c:410
SPIx_Init()
SpiHandle
.
Init
.
DataSize
=
SPI_DATASIZE_8BIT
;
stm32f401_discovery.c:411
SPIx_Init()
SpiHandle
.
Init
.
FirstBit
=
SPI_FIRSTBIT_MSB
;
stm32f401_discovery.c:412
SPIx_Init()
SpiHandle
.
Init
.
NSS
=
SPI_NSS_SOFT
;
stm32f401_discovery.c:413
SPIx_Init()
SpiHandle
.
Init
.
TIMode
=
SPI_TIMODE_DISABLED
;
stm32f401_discovery.c:414
SPIx_Init()
SpiHandle
.
Init
.
Mode
=
SPI_MODE_MASTER
;
stm32f401_discovery.c:416
SPIx_Init()
SPIx_MspInit
(
&
SpiHandle
)
;
stm32f401_discovery.c:417
SPIx_Init()
HAL_SPI_Init
(
&
SpiHandle
)
;
stm32f401_discovery.c:433
SPIx_WriteRead()
if
(
HAL_SPI_TransmitReceive
(
&
SpiHandle
,
(
uint8_t
*
)
&
Byte
,
(
uint8_t
*
)
&
receivedbyte
,
1
,
SpixTimeout
)
!=
HAL_OK
)
stm32f401_discovery.c:447
SPIx_Error()
HAL_SPI_DeInit
(
&
SpiHandle
)
;
Data Use
Functions reading
SpiHandle
SpiHandle
SPIx_Init()
all items filtered out
Type of
SpiHandle
SpiHandle
__SPI_HandleTypeDef
all items filtered out