Learn STM32 timer programming with examples on PWM generation, input capture, output compare, and encoder mode. Tutorials for STM32F103, STM32F4, and Nucleo boards using HAL and register-level code.