mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
Seems like the Interrupt flag for a Capture/Compare channel gets set when - the CC-value is reached - the timer resets before the CC value is reached. We only want the first event and ignore the second one. Unfortunately I did not find a way to disable the second event type, so it is filtered in software. That is we need to - ignore the CC-interrupts when the COUNT register register is reset - ignore the CC-interrupts > TOP value/ARR (auto-reload register)