Skip to content
Commit eeb7a88f authored by Francois Ramu's avatar Francois Ramu Committed by Fabio Baltieri
Browse files

drivers: timer: stm32 lptimer adjust the TICKS_PER_SEC to LPTIM clock



With low LPTIM freq when prescaler is set to 16 or 32,
the CONFIG_SYS_CLOCK_TICKS_PER_SEC must be reduced to
LPTIM CLOCK_/prescaler to avoid spurious timer wakeup activity.
Assert error if the CONFIG_SYS_CLOCK_TICKS_PER_SEC
is not compatible with the lptim clock freq.

Signed-off-by: default avatarFrancois Ramu <francois.ramu@st.com>
parent a19eb7cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment