Skip to content
Commit ed5b9cff authored by CHEN Xing's avatar CHEN Xing Committed by Benjamin Cabé
Browse files

drivers: counter: sam_tc: Big fix for alarm 1



Issue: the alarm 1 do not generate interrupt
There are three compare registers in a SAM TC channel:
RA --> alarm 0
RB --> alarm 1
RC --> top_value
By default the RB/TOIB was configured as an input and no longer
generates interrupt.
Set the direction of TIOB to output for alarm 1 interrupt.

Fixes zephyrproject-rtos/zephyr#85018

Signed-off-by: default avatarCHEN Xing <xing.chen@microchip.com>
parent cc933499
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment