Implement a driver for the STM32H5's timers. The driver needs to support driving other modules at dynamically configurable periods via TRGO.