Skip to content
Commit 491e2974 authored by Marco Widmer's avatar Marco Widmer Committed by Benjamin Cabé
Browse files

drivers: counter: nrfx_timer: Use shutdown task if available



Add a workaround for NRF52 anomaly 78: "High current consumption when
using timer STOP task only". Use the SHUTDOWN task instead.

For consistency, CLEAR the timer timer after STOPPING on devices that
lack the SHUTDOWN task. This also aligns the behavior with
nrfx_timer_disable().

For devices with the SHUTDOWN task, this restores the behavior previous
to e92323f0.

Fixes #87224

Signed-off-by: default avatarMarco Widmer <marco.widmer@bytesatwork.ch>
parent 6061deba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment