hw/misc: In STM32L4x5 EXTI, correct configurable interrupts
authorInès Varhol <ines.varhol@telecom-paris.fr>
Sat, 29 Jun 2024 11:07:08 +0000 (13:07 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 1 Jul 2024 14:40:54 +0000 (15:40 +0100)
commit9c4887e3b68a362f2f5a4e86daab98a51b3b769e
tree9914b89f9cf28b726cb077e66640df4808220ec7
parent7d9b3c34f30045eb50d1c890be46bfde4100bf65
hw/misc: In STM32L4x5 EXTI, correct configurable interrupts

The implementation of configurable interrupts (interrupts supporting
edge selection) was incorrectly expecting alternating input levels :
this commits adds a new status field `irq_levels` to actually detect
edges.

Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Message-id: 20240629110800.539969-2-ines.varhol@telecom-paris.fr
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/stm32l4x5_exti.c
include/hw/misc/stm32l4x5_exti.h