Configure_SPI() is only used within SPI_TwoBoards_FullDuplex_IT.
 
Symbols
loading...
Files
loading...

Configure_SPI() function

This function configures SPI1.

Syntax

void Configure_SPI(void);
Implemented in main.c:119

Return value

None

Notes

This function is used to : -1- Enables GPIO clock and configures the SPI1 pins. -2- Configure NVIC for SPI1. -3- Configure SPI1 functional parameters. Peripheral configuration is minimal configuration from reset values. Thus, some useless LL unitary functions calls below are provided as commented examples - setting is default configuration from reset.