Skip to content
Commit 962d8dfd authored by Ruibin Chang's avatar Ruibin Chang Committed by Benjamin Cabé
Browse files

drivers/counter/it8xxx2: fix loss timer interrupt potential risk



1.correct timer register control flow
2.select timer interrupt rising edge trigger, instead of default
level trigger

Stress test: top timer fires interrupt every 300ms for 18 hours.
The result is that we don't lose any interrupts.

Signed-off-by: default avatarRuibin Chang <Ruibin.Chang@ite.com.tw>
parent b150b3df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment