USART_SyncCommunication_FullDuplex_DMA
Configure_SPI1()
is only used within USART_SyncCommunication_FullDuplex_DMA.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
USART_SyncCommunication_FullDuplex_DMA
Configure_SPI1()
Configure_SPI1() function
This function configures SPI1.
Syntax
from
main.c:61
void
Configure_SPI1
(
void
)
;
Implemented in
main.c:341
Return value
None
Notes
This function is used to : -1- Enable GPIO clock and configures the SPI1 pins. -2- Enable the SPI1 peripheral clock and clock source. -3- Configure SPI1 functional parameters.
References
Location
Referrer
Text
main.c:341
void
Configure_SPI1
(
void
)
main.c:61
void
Configure_SPI1
(
void
)
;
main.c:92
main()
Configure_SPI1
(
)
;
Call Tree
Functions calling
Configure_SPI1()
Functions called by
Configure_SPI1()
main()
all items filtered out
Configure_SPI1()
LL_APB2_GRP1_EnableClock()
LL_AHB1_GRP1_EnableClock()
LL_GPIO_SetPinMode()
LL_GPIO_SetPinPull()
LL_GPIO_SetAFPin_0_7()
LL_GPIO_SetPinOutputType()
LL_GPIO_SetPinSpeed()
LL_SPI_SetMode()
LL_SPI_SetClockPhase()
LL_SPI_SetClockPolarity()
LL_SPI_SetDataWidth()
LL_SPI_SetNSSMode()
LL_SPI_SetBaudRatePrescaler()
LL_SPI_SetTransferBitOrder()
LL_SPI_SetTransferDirection()
LL_SPI_EnableDMAReq_TX()
LL_SPI_EnableDMAReq_RX()
all items filtered out