This tutorial shows how to use the STM32 hardware timers via the STM32 HAL API. If you want to use them with the legacy StdPeriph library, follow this tutorial instead.

Before you begin, ensure that you can build and debug embedded projects for your STM32 board by following one of our basic STM32 tutorials.