logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       Jeff Epler

Functions

edge.N Produce output pulses from input edges

License

       GPL

LinuxCNC Documentation                             2025-06-19                                            EDGE(9)

Name

       edge - Edge detector

Parameters

edge.N.both bit rw (default: FALSE)
              If TRUE, selects both edges.  Otherwise, selects one edge according to in-edge

       edge.N.in-edge bit rw (default: TRUE)
              If both is FALSE, selects the one desired edge: TRUE means falling, FALSE means rising

       edge.N.out-width-ns s32 rw (default: 0)
              Time in nanoseconds of the output pulse

       edge.N.time-left-ns s32 r
              Time left in this output pulse

       edge.N.last-in bit r
              Previous input value

Pins

edge.N.in bit in
       edge.N.out bit out
              Goes high when the desired edge is seen on 'in'

       edge.N.out-invert bit out
              Goes low when the desired edge is seen on 'in'

Synopsis

loadrtedge[count=N|names=name1[,name2...]]

See Also