Skip to content
  • Krzysztof Blazewicz's avatar
    stmhal/extint: Force 0 to 1 transition on swint(). · 1ba516f4
    Krzysztof Blazewicz authored
    If a user tries to call `swint()` while interrupt is disabled the flag in
    SWIER is set but the interrupt is not triggered and therefore the SWIER bit
    is not cleared.  When the interrupt is again enabled the next call to
    `swint()` won't trigger the IRQ because a 0 to 1 transition will not occur.
    1ba516f4