Why on STM32L053, TIMER22 generates an update, CC1 and CC2 event when counter is enabled?
I want generate an event when the timer counter is at CCR1 register or ARR register.But when the counter is enabled, the timer generates all events. Can you help me?This is the init routinevoid init_timeout_timer22() { RCC->APB2ENR = RCC->APB2ENR | ...