+1
−1
+1
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The interrupt signal output by GEN2 TEMP_ALARM peripherals differs from that of early versions. Instead of outputting a short pulse on each over-temperature stage transition, it outputs low for stage 0 and high for stage > 0. This means that interrupt triggering needs to be configured for the falling edge to receive a notification of the stage 1 to 0 transition. Set IRQ type to IRQ_TYPE_EDGE_BOTH so that it triggers on both rising and falling edges. Change-Id: I395685f106158e1f9d300afdfd895236dd063447