commit | 10d15d185b63f6616bbb7c9975dff15d52464b11 | [log] [tgz] |
---|---|---|
author | Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no> | Wed Mar 04 11:23:16 2020 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Apr 22 17:45:07 2020 +0200 |
tree | 7d6e19e5214f1a47d987921f9f187327c3eb204e | |
parent | b18b1d4350a4e3c22ba4262b353771d2b34ba522 [diff] |
drivers: timer: nrf_rtc: Refactor alarm setting User reported a flaw in the current algorithm which fails when Zero Latency Interrupts (ZLI) are used. Ported algorithm from counter_nrfx_rtc.c which covers all cases. Algorithm is lockless so no distinction for ZLI is needed. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>