Machinekit Documentation
HAL Component — FLIPFLOP
INSTANTIABLE COMPONENTS — General
All instantiable components can be loaded in two manners
Using loadrt with or without count= | names= parameters as per legacy components
Using newinst, which names the instance and allows further parameters and arguments
primarily pincount= which can set the number of pins created for that instance (where applicable)
NAME
flipflop — D type flip-flop
SYNOPSIS
flipflop
USAGE SYNOPSIS
loadrt flipflop
OR
newinst flipflop <newinstname> [ pincount=N | iprefix=prefix ] [instanceparamX=X | argX=X ]
( args in [ ] denote possible args and parameters, may not be used in all components )
FUNCTIONS
flipflop.N.funct ( OR <newinstname>.funct )
PINS
flipflop.N.data bit in ( OR <newinstname>.data bit in ) - data input
flipflop.N.clk bit in ( OR <newinstname>.clk bit in ) - clock, rising edge writes data to out
flipflop.N.set bit in ( OR <newinstname>.set bit in ) - when true, force out true
flipflop.N.reset bit in ( OR <newinstname>.reset bit in ) - when true, force out false; overrides set
flipflop.N.out bit io ( OR <newinstname>.out bit io ) - output
LICENCE
GPL