STM32 one timer for multiple push buttons
You can use systick timer and a function(s) that at each systick interrupt increments a variable and compares with set time. Then it outputs a state.

Also you could make array of timers, that are processed at each systick interrupt.