Back to Index

Rising-edge pulse. Outputs 1 for one cycle on a rising edge.

Signature

R_TRIG(sig, &q);

Example

R_TRIG(in(1), pulse);
if (pulse) { toggle(1); }