I have a simple logic circuit requirement, but can't seem to match any standard flip-flop or latch to my needs (SR, JK, D, MS, level-sensitive or clocked, etc).
The circuit is to disable a H-bridge driver IC if an over-current situation is detected (via a Allegro ACS770 analog-output hall-effect current sensor input to a window comparator, creating the OverCurrent logic-level).
The DISable signal must stay active even if OverCurrent falls back to inactive, until the BridgeEnable is at least deactivated, or optionally deactivated and then reactivated.
BE (BridgeEnable), active-high.
OC (OverCurrent), active-high or active-low, I can flip the comparators either way.
DIS (Disable), ideally active-low.