Flip Flop (set/reset)

Signature

State_RSFlipFlop(set, reset)

Description

Acts as an RS Flip Flop with positive logic. set will override reset if both are true (or unequal 0).

Result

The current state of the flip flop.

Arguments

 

set

The set input: if true (or unequal 0), it sets the state to true. Otherwise it has no effect.

reset

The reset input: if true (or unequal 0), it sets the state to false. Otherwise it has no effect.