This function handles NMI exception.
This function handles Hard Fault exception.
This function handles Debug Monitor exception.
This function handles Memory Manage exception.
This function handles Bus Fault exception.
This function handles Usage Fault exception.
This function handles SysTick Handler.
This function handles SVCall exception.
This function handles PendSVC exception.
System Clock Configuration The system Clock is configured as follow : System Clock source = PLL (HSE) SYSCLK(Hz) = 100000000 HCLK(Hz) = 100000000 AHB Prescaler = 1 APB1 Prescaler = 2 APB2 Prescaler = 1 HSE Frequency(Hz) = 8000000 PLL_M = 8 PLL_N = 400 PLL_P = 4 VDD(V) = 3.3 Main regulator output voltage = Scale1 mode Flash Latency(WS) = 3
Set LED2 to Blinking mode for an infinite loop (toggle period based on value provided as input parameter).
Function to manage User push-button
Configures User push-button in GPIO or EXTI Line Mode.
This function handles DMA2 interrupt request.
Wait for User push-button press to start transfer.
This function configures the DMA Channels for SPI1
Compares two 8-bit buffers and returns the comparison result.
Wait end of transfer and check if received Data are well.
This function handles DMA2 interrupt request.
Function called from DMA2 IRQ Handler when Tx transfer is completed
Function called in case of error detected in SPI IT Handler
This function configures SPI1.
This function Activate SPI1
Function called from DMA2 IRQ Handler when Rx transfer is completed