Resolved! How to calculate the values to be inserted in the TIM2 registers?
#include "stm32f4xx.h" // Device header // Trying to use the General Purpose Timer (TIM2) to create a 1 second delay // Board External Crystal 8.0 MHz // Port A Pin 0 Output // The program should output a high on GPIOA Pin 0 and ...