#include "peripherals.h" IWDG_HandleTypeDef hiwdg = { .Instance = IWDG }; TIM_HandleTypeDef htim2 = { .Instance = TIM2 }; SPI_HandleTypeDef hspi2 = { .Instance = SPI2 };