User Activity

#include "stm32f4xx.h"#include "stm32f4xx_gpio.h"#include "stm32f4xx_rcc.h"#include "stm32f4xx_spi.h"void Gpio_Init(void){ RCC->AHB1ENR = 1<<0; //Enable GPIOA RCC->APB2ENR = 1<<12; //Enable SPI1 GPIOA->MODER |= 1<<11; //PA5 AF Function GPIOA->MODER |...