STM32F4xx-Nucleo
hnucleo_Spi
is only used within STM32F4xx-Nucleo.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
STM32F4xx-Nucleo
hnucleo_Spi
hnucleo_Spi variable
Syntax
from
stm32f4xx_nucleo.c:99
static
SPI_HandleTypeDef
hnucleo_Spi
;
References
Location
Referrer
Text
stm32f4xx_nucleo.c:99
static
SPI_HandleTypeDef
hnucleo_Spi
;
stm32f4xx_nucleo.c:355
SPIx_Init()
if
(
HAL_SPI_GetState
(
&
hnucleo_Spi
)
==
HAL_SPI_STATE_RESET
)
stm32f4xx_nucleo.c:358
SPIx_Init()
hnucleo_Spi
.
Instance
=
NUCLEO_SPIx
;
stm32f4xx_nucleo.c:367
SPIx_Init()
hnucleo_Spi
.
Init
.
BaudRatePrescaler
=
SPI_BAUDRATEPRESCALER_8
;
stm32f4xx_nucleo.c:368
SPIx_Init()
hnucleo_Spi
.
Init
.
Direction
=
SPI_DIRECTION_2LINES
;
stm32f4xx_nucleo.c:369
SPIx_Init()
hnucleo_Spi
.
Init
.
CLKPhase
=
SPI_PHASE_2EDGE
;
stm32f4xx_nucleo.c:370
SPIx_Init()
hnucleo_Spi
.
Init
.
CLKPolarity
=
SPI_POLARITY_HIGH
;
stm32f4xx_nucleo.c:371
SPIx_Init()
hnucleo_Spi
.
Init
.
CRCCalculation
=
SPI_CRCCALCULATION_DISABLED
;
stm32f4xx_nucleo.c:372
SPIx_Init()
hnucleo_Spi
.
Init
.
CRCPolynomial
=
7
;
stm32f4xx_nucleo.c:373
SPIx_Init()
hnucleo_Spi
.
Init
.
DataSize
=
SPI_DATASIZE_8BIT
;
stm32f4xx_nucleo.c:374
SPIx_Init()
hnucleo_Spi
.
Init
.
FirstBit
=
SPI_FIRSTBIT_MSB
;
stm32f4xx_nucleo.c:375
SPIx_Init()
hnucleo_Spi
.
Init
.
NSS
=
SPI_NSS_SOFT
;
stm32f4xx_nucleo.c:376
SPIx_Init()
hnucleo_Spi
.
Init
.
TIMode
=
SPI_TIMODE_DISABLED
;
stm32f4xx_nucleo.c:377
SPIx_Init()
hnucleo_Spi
.
Init
.
Mode
=
SPI_MODE_MASTER
;
stm32f4xx_nucleo.c:379
SPIx_Init()
SPIx_MspInit
(
&
hnucleo_Spi
)
;
stm32f4xx_nucleo.c:380
SPIx_Init()
HAL_SPI_Init
(
&
hnucleo_Spi
)
;
stm32f4xx_nucleo.c:394
SPIx_WriteReadData()
status
=
HAL_SPI_TransmitReceive
(
&
hnucleo_Spi
,
(
uint8_t
*
)
DataIn
,
DataOut
,
DataLegnth
,
SpixTimeout
)
;
stm32f4xx_nucleo.c:413
SPIx_Write()
status
=
HAL_SPI_TransmitReceive
(
&
hnucleo_Spi
,
(
uint8_t
*
)
&
Value
,
&
data
,
1
,
SpixTimeout
)
;
stm32f4xx_nucleo.c:429
SPIx_Error()
HAL_SPI_DeInit
(
&
hnucleo_Spi
)
;
stm32f4xx_nucleo.c:612
LCD_IO_WriteMultipleData()
while
(
(
(
hnucleo_Spi
.
Instance
->
SR
)
&
SPI_FLAG_TXE
)
!=
SPI_FLAG_TXE
)
stm32f4xx_nucleo.c:616
LCD_IO_WriteMultipleData()
*
(
(
__IO
uint8_t
*
)
&
hnucleo_Spi
.
Instance
->
DR
)
=
*
(
pData
+
1
)
;
stm32f4xx_nucleo.c:618
LCD_IO_WriteMultipleData()
while
(
(
(
hnucleo_Spi
.
Instance
->
SR
)
&
SPI_FLAG_TXE
)
!=
SPI_FLAG_TXE
)
stm32f4xx_nucleo.c:621
LCD_IO_WriteMultipleData()
*
(
(
__IO
uint8_t
*
)
&
hnucleo_Spi
.
Instance
->
DR
)
=
*
pData
;
stm32f4xx_nucleo.c:627
LCD_IO_WriteMultipleData()
while
(
(
(
hnucleo_Spi
.
Instance
->
SR
)
&
SPI_FLAG_BSY
)
!=
RESET
)
stm32f4xx_nucleo.c:633
LCD_IO_WriteMultipleData()
data
=
*
(
&
hnucleo_Spi
.
Instance
->
DR
)
;
Data Use
Functions reading
hnucleo_Spi
hnucleo_Spi
SPIx_Init()
LCD_IO_WriteMultipleData()
all items filtered out
Type of
hnucleo_Spi
hnucleo_Spi
__SPI_HandleTypeDef
all items filtered out