LinuxCNC Documentation

SYNOPSIS

loadrt flipflop [count=N|names=name1[,name2…​]]

DESCRIPTION

              ┌─────┐     ┌─────┐     ┌─────
clk:     ─────┘     └─────┘     └─────┘
         ────────┐            ┌xxxxxxxxxxxxx
data:            └────────────┘xxxxxxxxxxxxx
                              ┌─────────────
set:     ─────────────────────┘
         ─────────────────┐         ┌────┐
reset:                    └─────────┘    └──
              ┌───────────┐   ┌─────┐    ┌──
out:     ─────┘           └───┘     └────┘
         ─────┐           ┌───┐     ┌────┐
out-not:      └───────────┘   └─────┘    └──

FUNCTIONS

flipflop.N

PINS

flipflop.N.data- bool in

data input

flipflop.N.clk bool in

clock, rising edge writes data to out

flipflop.N.set bool in

when true, force out true

flipflop.N.reset bool in

when true, force out false; overrides set

flipflop.N.out bool io (default: 0)

output

flipflop.N.out-not bool io (default: 1)

inverted output

AUTHOR

John Kasunich

LICENSE

GPL