The Latch microblock turns the output on when clear is off and it detects an input transition from off to on.
If the clr input is on, the output will always be off. If the clr input is off, then a transition of the latch input from off to on will cause the output to turn on and remain on until the clr input is turned on.
|